Public Member Functions | |
def | cleanExcluded (self, obj, shapes) |
def | execute (self, obj) |
def | getProjected (self, obj, shape, direction) |
def | onDocumentRestored (self, obj) |
def | setProperties (self, obj) |
Public Member Functions inherited from draftobjects.base.DraftObject | |
def | execute (self, obj) |
def | onChanged (self, obj, prop) |
Additional Inherited Members | |
Public Attributes inherited from draftobjects.base.DraftObject | |
Type | |
The Shape2DView object
def draftobjects.shape2dview.Shape2DView.cleanExcluded | ( | self, | |
obj, | |||
shapes | |||
) |
removes any edge touching exclusion points
Referenced by draftobjects.shape2dview.Shape2DView.getProjected().
def draftobjects.shape2dview.Shape2DView.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.shape2dview.Shape2DView.getProjected(), and DraftVecUtils.isNull().
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().
def draftobjects.shape2dview.Shape2DView.getProjected | ( | self, | |
obj, | |||
shape, | |||
direction | |||
) |
References draftobjects.shape2dview.Shape2DView.cleanExcluded().
Referenced by draftobjects.shape2dview.Shape2DView.execute().
def draftobjects.shape2dview.Shape2DView.onDocumentRestored | ( | self, | |
obj | |||
) |
References ArchAxis._Axis.setProperties(), ArchAxisSystem._AxisSystem.setProperties(), ArchBuilding._Building.setProperties(), ArchBuildingPart.BuildingPart.setProperties(), ArchComponent.Component.setProperties(), ArchCurtainWall.CurtainWall.setProperties(), ArchEquipment._Equipment.setProperties(), ArchFence._Fence.setProperties(), ArchFloor._Floor.setProperties(), ArchFrame._Frame.setProperties(), ArchGrid.ArchGrid.setProperties(), ArchIFC.IfcRoot.setProperties(), ArchMaterial._ArchMaterial.setProperties(), ArchPanel._Panel.setProperties(), ArchPanel.PanelView.setProperties(), ArchPanel.PanelCut.setProperties(), ArchPanel.PanelSheet.setProperties(), ArchPipe._ArchPipe.setProperties(), ArchPipe._ArchPipeConnector.setProperties(), ArchPrecast._Precast.setProperties(), ArchPrecast._PrecastBeam.setProperties(), ArchPrecast._PrecastIbeam.setProperties(), ArchPrecast._PrecastPillar.setProperties(), ArchPrecast._PrecastPanel.setProperties(), ArchPrecast._PrecastSlab.setProperties(), ArchPrecast._PrecastStairs.setProperties(), ArchProject._Project.setProperties(), ArchRebar._Rebar.setProperties(), ArchReference.ArchReference.setProperties(), ArchRoof._Roof.setProperties(), ArchSchedule._ArchSchedule.setProperties(), ArchSectionPlane._SectionPlane.setProperties(), ArchSectionPlane._ArchDrawingView.setProperties(), ArchSite._Site.setProperties(), ArchSpace._Space.setProperties(), ArchStairs._Stairs.setProperties(), ArchStructure._Structure.setProperties(), ArchTruss.Truss.setProperties(), ArchWall._Wall.setProperties(), ArchWindow._Window.setProperties(), draftobjects.hatch.Hatch.setProperties(), draftobjects.shape2dview.Shape2DView.setProperties(), ArchAxis._ViewProviderAxis.setProperties(), ArchBuildingPart.ViewProviderBuildingPart.setProperties(), ArchComponent.ViewProviderComponent.setProperties(), ArchFence._ViewProviderFence.setProperties(), ArchPanel.ViewProviderPanelCut.setProperties(), ArchPanel.ViewProviderPanelSheet.setProperties(), ArchRebar._ViewProviderRebar.setProperties(), ArchReference.ViewProviderArchReference.setProperties(), ArchSectionPlane._ViewProviderSectionPlane.setProperties(), ArchSite._ViewProviderSite.setProperties(), ArchSpace._ViewProviderSpace.setProperties(), and ArchStructure._ViewProviderStructure.setProperties().
def draftobjects.shape2dview.Shape2DView.setProperties | ( | self, | |
obj | |||
) |
References draftutils.translate.QT_TRANSLATE_NOOP.
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.CommandStructuralSystem.Activated(), ArchSite.Compass.buildCoordinates(), ArchSchedule.CommandArchSchedule.IsActive(), ArchBuildingPart.BuildingPart.onDocumentRestored(), ArchCurtainWall.CurtainWall.onDocumentRestored(), ArchGrid.ArchGrid.onDocumentRestored(), ArchPanel.PanelView.onDocumentRestored(), ArchPanel.PanelCut.onDocumentRestored(), ArchPanel.PanelSheet.onDocumentRestored(), ArchTruss.Truss.onDocumentRestored(), draftobjects.hatch.Hatch.onDocumentRestored(), draftobjects.shape2dview.Shape2DView.onDocumentRestored(), ArchBuildingPart.ViewProviderBuildingPart.onDocumentRestored(), ArchPanel.ViewProviderPanelCut.onDocumentRestored(), and ArchPanel.ViewProviderPanelSheet.onDocumentRestored().