Write the relevant shape and feature content of components in CAD file.
This function is for everython except for beams.
To the doc .fcstd file are added two objects, one of type
App::FeaturePython which will hold the internal data of the component
for reviewing in the side panel of FreeCAD, and one of type
Part::Feature for visualization. The classes for the App::FeaturePython
objects are i nthe features modules, and those for the shapes are in
the shapes module.
The important functions are the PythonFeatures
constructors found in features, and the shape functions found in shapes.
component: component to represent. [Mirror, Lens, BeamDump, Ghost, Beam]
doc: CAD file to write to. [CAD file]
No return value.
|