ArchCurtainWall.CurtainWall Class Reference

Public Member Functions

def execute (self, obj)
 
def getMullionProfile (self, obj, direction)
 
def getProjectedLength (self, v, ref)
 
def makeMullion (self, edge, profile, rotation, recenter=False)
 
def makePanel (self, verts, thickness)
 
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 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 processSubShapes (self, obj, base, placement=None)
 
def rebase (self, shape, hint=None)
 
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 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

 edgenormals
 
- Public Attributes inherited from ArchComponent.Component
 flatarea
 
 oldPlacement
 
 Subvolume
 
 Type
 

Member Function Documentation

◆ execute()

def ArchCurtainWall.CurtainWall.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 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(), Part::GeometryPy.clone(), TechDraw::CenterLinePy.clone(), TechDraw::CosmeticEdgePy.clone(), TechDraw::CosmeticVertexPy.clone(), TechDraw::GeomFormatPy.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(), and TechDraw::GeomFormat.clone().

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().

◆ getMullionProfile()

def ArchCurtainWall.CurtainWall.getMullionProfile (   self,
  obj,
  direction 
)
returns a profile shape already properly oriented, ready for extrude

◆ getProjectedLength()

def ArchCurtainWall.CurtainWall.getProjectedLength (   self,
  v,
  ref 
)
gets a signed length from projecting a vector on another

References DraftVecUtils.project().

◆ makeMullion()

def ArchCurtainWall.CurtainWall.makeMullion (   self,
  edge,
  profile,
  rotation,
  recenter = False 
)
creates a mullions from an edge and a profile

◆ makePanel()

def ArchCurtainWall.CurtainWall.makePanel (   self,
  verts,
  thickness 
)
creates a panel from face points and thickness

◆ onChanged()

def ArchCurtainWall.CurtainWall.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 draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), ArchAxis.CommandArchGrid.IsActive(), 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().

◆ onDocumentRestored()

def ArchCurtainWall.CurtainWall.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(), ArchAxis._AxisSystem.setProperties(), ArchAxis.ArchGrid.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(), 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(), 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().

◆ setProperties()

Member Data Documentation

◆ edgenormals

ArchCurtainWall.CurtainWall.edgenormals

The documentation for this class was generated from the following file:
  • Sources/FreeCAD/src/Mod/Arch/ArchCurtainWall.py