Public Member Functions | |
def attach (self, obj) | |
def execute (self, obj) | |
def linkSetup (self, obj) | |
def onChanged (self, obj, prop) | |
def set_circular_properties (self, obj) | |
def set_general_properties (self, obj) | |
def set_link_properties (self, obj) | |
def set_ortho_properties (self, obj) | |
def set_polar_circular_properties (self, obj) | |
def set_polar_properties (self, obj) | |
def set_properties (self, obj) | |
def show_and_hide (self, obj, prop) | |
![]() | |
def buildShape (self, obj, pl, pls) | |
def canLinkProperties (self, _obj) | |
def getViewProviderName (self, _obj) | |
def migrate_attributes (self, obj) | |
def onDocumentRestored (self, obj) | |
Additional Inherited Members | |
![]() | |
use_link | |
![]() | |
Type | |
Detailed Description
The Draft Array object. To Do ----- The `Array` class currently handles three types of arrays, orthogonal, polar, and circular. In the future, probably they should be split in separate classes so that they are easier to manage.
Member Function Documentation
◆ attach()
def draftobjects.array.Array.attach | ( | self, | |
obj | |||
) |
Reimplemented from draftobjects.draftlink.DraftLink.
References draftobjects.array.Array.set_properties().
◆ execute()
def draftobjects.array.Array.execute | ( | self, | |
obj | |||
) |
Reimplemented from draftobjects.base.DraftObject.
References draftobjects.draftlink.DraftLink.buildShape(), draftobjects.array.circ_placements(), draftobjects.array.polar_placements(), and draftobjects.array.rect_placements().
Referenced by draftobjects.facebinder.Facebinder.addSubobjects(), 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(), FeaturePython.DistanceBolt.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), and draftobjects.patharray.PathArray.onDocumentRestored().
◆ linkSetup()
def draftobjects.array.Array.linkSetup | ( | self, | |
obj | |||
) |
Reimplemented from draftobjects.draftlink.DraftLink.
Referenced by draftobjects.draftlink.DraftLink.attach(), draftobjects.draftlink.DraftLink.onDocumentRestored(), and draftobjects.patharray.PathArray.onDocumentRestored().
◆ onChanged()
def draftobjects.array.Array.onChanged | ( | self, | |
obj, | |||
prop | |||
) |
Reimplemented from draftobjects.draftlink.DraftLink.
References draftobjects.array.Array.show_and_hide().
Referenced by draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), ArchAxis.CommandArchGrid.IsActive(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData(), and draftviewproviders.view_label.ViewProviderLabel.updateData().
◆ set_circular_properties()
def draftobjects.array.Array.set_circular_properties | ( | self, | |
obj | |||
) |
Referenced by draftobjects.array.Array.set_properties().
◆ set_general_properties()
def draftobjects.array.Array.set_general_properties | ( | self, | |
obj | |||
) |
Referenced by draftobjects.array.Array.set_properties(), and draftobjects.patharray.PathArray.set_properties().
◆ set_link_properties()
def draftobjects.array.Array.set_link_properties | ( | self, | |
obj | |||
) |
References draftobjects.draftlink.DraftLink.use_link, draftguitools.gui_array_simple.Array.use_link, and draftguitools.gui_patharray.PathArray.use_link.
Referenced by draftobjects.array.Array.set_properties().
◆ set_ortho_properties()
def draftobjects.array.Array.set_ortho_properties | ( | self, | |
obj | |||
) |
Referenced by draftobjects.array.Array.set_properties().
◆ set_polar_circular_properties()
def draftobjects.array.Array.set_polar_circular_properties | ( | self, | |
obj | |||
) |
Referenced by draftobjects.array.Array.set_properties().
◆ set_polar_properties()
def draftobjects.array.Array.set_polar_properties | ( | self, | |
obj | |||
) |
Referenced by draftobjects.array.Array.set_properties().
◆ set_properties()
def draftobjects.array.Array.set_properties | ( | self, | |
obj | |||
) |
References draftobjects.array.Array.set_circular_properties(), draftobjects.array.Array.set_general_properties(), draftobjects.array.Array.set_link_properties(), draftobjects.array.Array.set_ortho_properties(), draftobjects.array.Array.set_polar_circular_properties(), and draftobjects.array.Array.set_polar_properties().
Referenced by draftobjects.array.Array.attach(), draftobjects.patharray.PathArray.attach(), draftobjects.pointarray.PointArray.onDocumentRestored(), and draftobjects.patharray.PathArray.onDocumentRestored().
◆ show_and_hide()
def draftobjects.array.Array.show_and_hide | ( | self, | |
obj, | |||
prop | |||
) |
Referenced by draftobjects.array.Array.onChanged(), and draftobjects.patharray.PathArray.onChanged().
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftobjects/array.py