Public Member Functions | |
def applyShape (self, obj, shape, placement, allowinvalid=False, allownosolid=False) | |
def clone (self, obj) | |
def computeAreas (self, obj) | |
def execute (self, obj) | |
def getExtrusionData (self, obj) | |
def getHosts (self, obj) | |
def getMovableChildren (self, obj) | |
def getParentHeight (self, obj) | |
def getSiblings (self, obj) | |
def hideSubobjects (self, obj, prop) | |
def isIdentity (self, placement) | |
def isStandardCase (self, obj) | |
def onBeforeChange (self, obj, prop) | |
def onChanged (self, obj, prop) | |
def onDocumentRestored (self, obj) | |
def processSubShapes (self, obj, base, placement=None) | |
def rebase (self, shape, hint=None) | |
def setProperties (self, obj) | |
def spread (self, obj, shape, placement=None) | |
![]() | |
def getIfcSchema (self) | |
![]() | |
def addIfcAttribute (self, obj, attribute) | |
def addIfcAttributes (self, ifcTypeSchema, obj) | |
def addIfcAttributeValueExpressions (self, obj, attribute) | |
def getCanonicalisedIfcTypes (self) | |
def getIfcAttributeSchema (self, ifcTypeSchema, name) | |
def getIfcTypeSchema (self, IfcType) | |
def getObjIfcComplexAttribute (self, obj, attributeName) | |
def migrateDeprecatedAttributes (self, obj) | |
def purgeUnusedIfcAttributesFromPropertiesList (self, ifcTypeSchema, obj) | |
def setObjIfcAttributeValue (self, obj, attributeName, value) | |
def setObjIfcComplexAttributeValue (self, obj, attributeName, value) | |
def setupIfcAttributes (self, obj) | |
def setupIfcComplexAttributes (self, obj) | |
Public Attributes | |
flatarea | |
oldPlacement | |
Subvolume | |
Type | |
Detailed Description
The Arch Component object. Acts as a base for all other Arch objects, such as Arch walls and Arch structures. Its properties and behaviours are common to all Arch objects. You can learn more about Arch Components, and the purpose of Arch Components here: https://wiki.freecadweb.org/Arch_Component Parameters ---------- obj: <App::FeaturePython> The object to turn into an Arch Component
Member Function Documentation
◆ applyShape()
def ArchComponent.Component.applyShape | ( | self, | |
obj, | |||
shape, | |||
placement, | |||
allowinvalid = False , |
|||
allownosolid = False |
|||
) |
References ArchComponent.Component.computeAreas(), Base::PlacementPy.isIdentity(), Base::RotationPy.isIdentity(), Base::Placement.isIdentity(), Base::Rotation.isIdentity(), ArchComponent.Component.isIdentity(), and ArchComponent.Component.spread().
Referenced by ArchTruss.Truss.execute().
◆ clone()
def ArchComponent.Component.clone | ( | self, | |
obj | |||
) |
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchTruss.Truss.execute(), ArchComponent.Component.execute(), ArchCurtainWall.CurtainWall.execute(), and Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.integrated().
◆ computeAreas()
def ArchComponent.Component.computeAreas | ( | self, | |
obj | |||
) |
Referenced by ArchComponent.Component.applyShape(), ArchSite.Compass.buildCoordinates(), and ArchRoof.makeRoof().
◆ execute()
def ArchComponent.Component.execute | ( | self, | |
obj | |||
) |
Reimplemented in ArchCurtainWall.CurtainWall, and ArchTruss.Truss.
References PathTests.TestPathHelix.TestPathHelix.clone, zipios::BasicEntry.clone(), zipios::DirectoryCollection.clone(), zipios::ZipFile.clone(), zipios::ZipLocalEntry.clone(), zipios::CollectionCollection.clone(), zipios::FileCollection.clone(), zipios::ZipCDirEntry.clone(), zipios::FileEntry.clone(), Gui::ViewProviderIndex.clone(), ArchComponent.Component.clone(), ArchComponent.Component.processSubShapes(), ArchComponent.Component.spread(), Gui::ViewProviderDocumentObjectPy.Type, Gui::DocumentPy.Type, Base::BaseClassPy.Type, App::DocumentObjectGroupPy.Type, App::DocumentObjectPy.Type, App::PartPy.Type, App::OriginGroupExtensionPy.Type, Base::BoundBoxPy.Type, App::DocumentPy.Type, App::GroupExtensionPy.Type, App::GeoFeaturePy.Type, App::ExtensionContainerPy.Type, Base::CoordinateSystemPy.Type, App::ExtensionPy.Type, App::GeoFeatureGroupExtensionPy.Type, Base::MatrixPy.Type, Base::PersistencePy.Type, App::DocumentObjectExtensionPy.Type, App::MaterialPy.Type, Base::PlacementPy.Type, Base::QuantityPy.Type, Gui::WorkbenchPy.Type, Gui::ViewProviderPy.Type, App::PropertyContainerPy.Type, Base::RotationPy.Type, Gui::SelectionObjectPy.Type, Gui::PythonWorkbenchPy.Type, Base::UnitPy.Type, Base::VectorPy.Type, Base::AxisPy.Type, Data::ComplexGeoDataPy.Type, Gui::LinkViewPy.Type, Gui::AxisOriginPy.Type, App::LinkBaseExtensionPy.Type, Gui::ViewProviderLinkPy.Type, Base::TypePy.Type, App::PropertyData::PropertySpec.Type, App::Part.Type, App::FeaturePythonPyT< FeaturePyT >.Type, Gui::SelectionChanges.Type, ArchComponent.Component.Type, Base::PyObjectBase.Type, ArchAxis._Axis.Type, ArchBuilding._Building.Type, ArchBuildingPart.BuildingPart.Type, ArchAxis._AxisSystem.Type, and ArchAxis.ArchGrid.Type.
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.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().
◆ getExtrusionData()
def ArchComponent.Component.getExtrusionData | ( | self, | |
obj | |||
) |
References ArchCommands.getExtrusionData(), Base::PlacementPy.isIdentity(), Base::RotationPy.isIdentity(), Base::Placement.isIdentity(), Base::Rotation.isIdentity(), ArchComponent.Component.isIdentity(), and ArchComponent.Component.rebase().
Referenced by ArchWall.areSameWallTypes(), and ArchStructure.placeAlongEdge().
◆ getHosts()
def ArchComponent.Component.getHosts | ( | self, | |
obj | |||
) |
◆ getMovableChildren()
def ArchComponent.Component.getMovableChildren | ( | self, | |
obj | |||
) |
Referenced by ArchComponent.Component.onChanged().
◆ getParentHeight()
def ArchComponent.Component.getParentHeight | ( | self, | |
obj | |||
) |
References ArchComponent.Component.getParentHeight().
Referenced by ArchComponent.Component.getParentHeight().
◆ getSiblings()
def ArchComponent.Component.getSiblings | ( | self, | |
obj | |||
) |
◆ hideSubobjects()
def ArchComponent.Component.hideSubobjects | ( | self, | |
obj, | |||
prop | |||
) |
◆ isIdentity()
def ArchComponent.Component.isIdentity | ( | self, | |
placement | |||
) |
Referenced by ArchComponent.Component.applyShape(), ArchComponent.Component.getExtrusionData(), and ArchComponent.Component.processSubShapes().
◆ isStandardCase()
def ArchComponent.Component.isStandardCase | ( | self, | |
obj | |||
) |
◆ onBeforeChange()
def ArchComponent.Component.onBeforeChange | ( | self, | |
obj, | |||
prop | |||
) |
◆ onChanged()
def ArchComponent.Component.onChanged | ( | self, | |
obj, | |||
prop | |||
) |
Reimplemented from ArchIFC.IfcRoot.
Reimplemented in ArchCurtainWall.CurtainWall, and ArchTruss.Truss.
References ArchComponent.Component.getMovableChildren(), ArchComponent.Component.oldPlacement, ArchBuildingPart.BuildingPart.oldPlacement, ArchIFC.IfcRoot.onChanged(), and DraftVecUtils.tup().
Referenced by ArchWall.areSameWallTypes(), draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), ArchEquipment.createMeshView(), draftobjects.wire.Wire.execute(), ArchAxis.CommandArchGrid.IsActive(), ArchTruss.Truss.onChanged(), ArchCurtainWall.CurtainWall.onChanged(), ArchStructure.placeAlongEdge(), ArchWindow.recolorize(), ArchSpace.removeSpaceBoundaries(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData(), draftviewproviders.view_label.ViewProviderLabel.updateData(), DraftLayer.ViewProviderLayer.updateData(), ArchPanel.ViewProviderPanelCut.updateData(), and ArchPanel.ViewProviderPanelSheet.updateData().
◆ onDocumentRestored()
def ArchComponent.Component.onDocumentRestored | ( | self, | |
obj | |||
) |
Reimplemented in ArchCurtainWall.CurtainWall, and ArchTruss.Truss.
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchWall.areSameWallTypes(), ArchEquipment.createMeshView(), ArchFrame.makeFrame(), ArchPipe.makePipeConnector(), ArchStairs.makeRailing(), ArchRebar.makeRebar(), ArchRoof.makeRoof(), ArchTruss.Truss.onDocumentRestored(), ArchCurtainWall.CurtainWall.onDocumentRestored(), ArchStructure.placeAlongEdge(), ArchWindow.recolorize(), and ArchSpace.removeSpaceBoundaries().
◆ processSubShapes()
def ArchComponent.Component.processSubShapes | ( | self, | |
obj, | |||
base, | |||
placement = None |
|||
) |
References Base::PlacementPy.isIdentity(), Base::RotationPy.isIdentity(), Base::Placement.isIdentity(), Base::Rotation.isIdentity(), ArchComponent.Component.isIdentity(), and ArchWall.mergeShapes().
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.StructSelectionObserver.addSelection(), ArchTruss.Truss.execute(), and ArchComponent.Component.execute().
◆ rebase()
def ArchComponent.Component.rebase | ( | self, | |
shape, | |||
hint = None |
|||
) |
Referenced by ArchComponent.Component.getExtrusionData(), and exportIFC.getRepresentation().
◆ setProperties()
def ArchComponent.Component.setProperties | ( | self, | |
obj | |||
) |
Reimplemented from ArchIFC.IfcRoot.
Reimplemented in ArchCurtainWall.CurtainWall, and ArchTruss.Truss.
References ArchIFC.IfcRoot.setProperties().
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchSite.Compass.buildCoordinates(), ArchSchedule.CommandArchSchedule.IsActive(), ArchAxis.CommandArchGrid.IsActive(), DraftLayer.Layer.onDocumentRestored(), ArchTruss.Truss.onDocumentRestored(), ArchCurtainWall.CurtainWall.onDocumentRestored(), ArchPanel.PanelView.onDocumentRestored(), ArchPanel.PanelCut.onDocumentRestored(), ArchPanel.ViewProviderPanelCut.onDocumentRestored(), ArchPanel.PanelSheet.onDocumentRestored(), and ArchPanel.ViewProviderPanelSheet.onDocumentRestored().
◆ spread()
def ArchComponent.Component.spread | ( | self, | |
obj, | |||
shape, | |||
placement = None |
|||
) |
Referenced by ArchComponent.Component.applyShape(), and ArchComponent.Component.execute().
Member Data Documentation
◆ flatarea
ArchComponent.Component.flatarea |
Referenced by ArchSite.Compass.buildCoordinates().
◆ oldPlacement
ArchComponent.Component.oldPlacement |
Referenced by ArchComponent.Component.onChanged().
◆ Subvolume
ArchComponent.Component.Subvolume |
◆ Type
ArchComponent.Component.Type |
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.StructSelectionObserver.addSelection(), ArchSite.Compass.buildCoordinates(), ArchComponent.Component.execute(), DraftLayer.LayerContainer.execute(), ArchSchedule.CommandArchSchedule.IsActive(), ArchAxis.CommandArchGrid.IsActive(), draftobjects.draft_annotation.DraftAnnotation.onDocumentRestored(), ArchReference.ArchReference.setProperties(), and DraftLayer.Layer.setProperties().
The documentation for this class was generated from the following file:
- src/Mod/Arch/ArchComponent.py