Public Member Functions | |
def | execute (self, obj) |
def | makeRod (self, profile, p1, p2) |
def | makeTruss (self, obj, v0, v1) |
def | onChanged (self, obj, prop) |
def | onDocumentRestored (self, obj) |
def | setProperties (self, obj) |
Public Member Functions inherited from ArchComponent.Component | |
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) |
Public Member Functions inherited from ArchIFC.IfcProduct | |
def | getIfcSchema (self) |
Public Member Functions inherited from ArchIFC.IfcRoot | |
def | addIfcAttribute (self, obj, attribute) |
def | addIfcAttributes (self, ifcTypeSchema, obj) |
def | addIfcAttributeValueExpressions (self, obj, attribute) |
def | getCanonicalisedIfcTypes (self) |
def | getIfcAttributeSchema (self, ifcTypeSchema, name) |
def | getIfcSchema (self) |
def | getIfcTypeSchema (self, IfcType) |
def | getObjIfcComplexAttribute (self, obj, attributeName) |
def | migrateDeprecatedAttributes (self, obj) |
def | onChanged (self, obj, prop) |
def | purgeUnusedIfcAttributesFromPropertiesList (self, ifcTypeSchema, obj) |
def | setObjIfcAttributeValue (self, obj, attributeName, value) |
def | setObjIfcComplexAttributeValue (self, obj, attributeName, value) |
def | setProperties (self, obj) |
def | setupIfcAttributes (self, obj) |
def | setupIfcComplexAttributes (self, obj) |
Public Attributes | |
Type | |
Public Attributes inherited from ArchComponent.Component | |
flatarea | |
oldPlacement | |
Subvolume | |
Type | |
def ArchTruss.Truss.execute | ( | self, | |
obj | |||
) |
Method run when the object is recomputed. If the object is a clone, just copy the shape it's cloned from. Process subshapes of the object to add additions, and subtract subtractions from the object's shape. Parameters ---------- obj: <App::FeaturePython> The component object.
Reimplemented from ArchComponent.Component.
References ArchComponent.Component.applyShape(), Gui::ViewProviderIndex.clone(), zipios::BasicEntry.clone(), zipios::CollectionCollection.clone(), zipios::DirectoryCollection.clone(), zipios::ZipFile.clone(), zipios::ZipLocalEntry.clone(), zipios::ZipCDirEntry.clone(), zipios::FileCollection.clone(), zipios::FileEntry.clone(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunctionSegment.clone(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.clone(), ArchComponent.Component.clone(), Part::Geometry.clone(), Part::Geom2dPoint.clone(), Part::Geom2dBezierCurve.clone(), Part::Geom2dBSplineCurve.clone(), Part::Geom2dCircle.clone(), Part::Geom2dArcOfCircle.clone(), Part::Geom2dEllipse.clone(), Part::Geom2dArcOfEllipse.clone(), Part::Geom2dHyperbola.clone(), Part::Geom2dArcOfHyperbola.clone(), Part::Geom2dParabola.clone(), Part::Geom2dArcOfParabola.clone(), Part::Geom2dLine.clone(), Part::Geom2dLineSegment.clone(), Part::Geom2dOffsetCurve.clone(), Part::Geom2dTrimmedCurve.clone(), Part::Geometry2d.clone(), Part::Geom2dConic.clone(), Part::Geom2dArcOfConic.clone(), PathTests.TestPathHelix.TestPathHelix.clone, Sketcher::Constraint.clone(), Sketcher::ExternalGeometryFacade.clone(), Sketcher::GeometryFacade.clone(), TechDraw::CosmeticVertex.clone(), TechDraw::CosmeticEdge.clone(), TechDraw::CenterLine.clone(), TechDraw::GeomFormat.clone(), ArchTruss.Truss.makeTruss(), and ArchComponent.Component.processSubShapes().
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 ArchTruss.Truss.makeRod | ( | self, | |
profile, | |||
p1, | |||
p2 | |||
) |
makes a rod by extruding profile between p1 and p2
Referenced by ArchTruss.Truss.makeTruss().
def ArchTruss.Truss.makeTruss | ( | self, | |
obj, | |||
v0, | |||
v1 | |||
) |
References ArchTruss.Truss.makeRod().
Referenced by ArchTruss.Truss.execute().
def ArchTruss.Truss.onChanged | ( | self, | |
obj, | |||
prop | |||
) |
Method called when the object has a property changed. If "Placement" has changed, move any children components that have been set to move with their host, such that they stay in the same location to this component. Also call ArchIFC.IfcProduct.onChanged(). Parameters ---------- obj: <App::FeaturePython> The component object. prop: string The name of the property that has changed.
Reimplemented from ArchComponent.Component.
References ArchComponent.Component.onChanged().
Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), ArchBuildingPart.ViewProviderBuildingPart.updateData(), ArchPanel.ViewProviderPanelCut.updateData(), ArchPanel.ViewProviderPanelSheet.updateData(), draftviewproviders.view_label.ViewProviderLabel.updateData(), draftviewproviders.view_layer.ViewProviderLayer.updateData(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData().
def ArchTruss.Truss.onDocumentRestored | ( | self, | |
obj | |||
) |
Method run when the document is restored. Re-add the Arch component properties. Parameters ---------- obj: <App::FeaturePython> The component object.
Reimplemented from ArchComponent.Component.
References ArchComponent.Component.onDocumentRestored(), 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 ArchTruss.Truss.setProperties | ( | self, | |
obj | |||
) |
Give the component its component specific properties, such as material. You can learn more about properties here: https://wiki.freecadweb.org/property
Reimplemented from ArchComponent.Component.
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().
ArchTruss.Truss.Type |
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.CommandStructuralSystem.Activated(), draftobjects.draft_annotation.DraftAnnotation.add_missing_properties_0v19(), ArchStructure.StructSelectionObserver.addSelection(), ArchSite.Compass.buildCoordinates(), ArchComponent.Component.execute(), draftobjects.layer.LayerContainer.execute(), ArchSchedule.CommandArchSchedule.IsActive(), draftobjects.layer.Layer.set_properties(), and ArchReference.ArchReference.setProperties().