Public Member Functions | |
def | execute (self, obj) |
def | makeFaces (self, wireChar) |
def | makeGlyph (self, facelist) |
Public Member Functions inherited from draftobjects.base.DraftObject | |
def | onChanged (self, obj, prop) |
Additional Inherited Members | |
Public Attributes inherited from draftobjects.base.DraftObject | |
Type | |
Detailed Description
The ShapeString object
Member Function Documentation
◆ execute()
def draftobjects.shapestring.ShapeString.execute | ( | self, | |
obj | |||
) |
This method is run 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 PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), and FeaturePython.DistanceBolt.onChanged().
◆ makeFaces()
def draftobjects.shapestring.ShapeString.makeFaces | ( | self, | |
wireChar | |||
) |
Referenced by draftobjects.shapestring.ShapeString.execute().
◆ 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:
- src/Mod/Draft/draftobjects/shapestring.py