◆ execute()
def draftobjects.shapestring.ShapeString.execute |
( |
|
self, |
|
|
|
obj |
|
) |
| |
Run this method when the object is created or recomputed.
Override this method to produce effects when the object
is newly created, and whenever the document is recomputed.
By default it does nothing.
Parameters
----------
obj : the scripted object.
This commonly may be of types `Part::Part2DObjectPython`,
`Part::FeaturePython`, or `App::FeaturePython`.
Reimplemented from draftobjects.base.DraftObject.
References draftobjects.shapestring.ShapeString.makeFaces().
Referenced by draftobjects.facebinder.Facebinder.addSubobjects(), PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchPanel.PanelCut.getWires(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), FeaturePython.DistanceBolt.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored().
◆ makeFaces()
def draftobjects.shapestring.ShapeString.makeFaces |
( |
|
self, |
|
|
|
wireChar |
|
) |
| |
◆ makeGlyph()
def draftobjects.shapestring.ShapeString.makeGlyph |
( |
|
self, |
|
|
|
facelist |
|
) |
| |
turn list of simple contour faces into a compound shape representing a glyph
remove cuts, fuse overlapping contours, retain islands
The documentation for this class was generated from the following file:
- FreeCAD/src/Mod/Draft/draftobjects/shapestring.py