CSPrimitives

CSXCAD.CSPrimitives Module for all Primitives

Notes

It is not usually necessary to create primitives manually, but instead use the ContinuousStructure object to create primitives 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: