CSPrimitives

CSXCAD.CSPrimitives Module for all Primitives

Notes

Usually it is not meant to create primitives manually, but instead use the ContinuousStructure object to create primives using the e.g. AddBox or AddCylinder methods.

Examples

Create a metal box:

>>> pset  = ParameterObjects.ParameterSet()
>>> metal = CSProperties.CSPropMetal(pset)
>>> box   = CSPrimitives.CSPrimBox(pset, metal)

List of Primitives: