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:
- CSPrimitives (Base Class)
CSPrimitives
CSPrimitives.AddTransform()
CSPrimitives.GetBoundBox()
CSPrimitives.GetCoordinateSystem()
CSPrimitives.GetDimension()
CSPrimitives.GetID()
CSPrimitives.GetPrimitiveUsed()
CSPrimitives.GetPriority()
CSPrimitives.GetProperty()
CSPrimitives.GetTransform()
CSPrimitives.GetType()
CSPrimitives.GetTypeName()
CSPrimitives.HasTransform()
CSPrimitives.IsInside()
CSPrimitives.SetCoordinateSystem()
CSPrimitives.SetPrimitiveUsed()
CSPrimitives.SetPriority()
CSPrimitives.Update()
CSPrimitives.fromType()
- CSPrimPoint
- CSPrimBox
- CSPrimCylinder
- CSPrimCylindricalShell
- CSPrimSphere
- CSPrimSphericalShell
- CSPrimPolygon
- CSPrimLinPoly
- CSPrimRotPoly
- CSPrimCurve
- CSPrimWire
- CSPrimPolyhedron
- CSPrimPolyhedronReader