Arch CurtainWall: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
m (Fixes https://github.com/FreeCAD/FreeCAD/issues/8364)
 
(18 intermediate revisions by 6 users not shown)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
{{Docnav
{{Docnav
|[[Arch_Rebar|Rebar]]
|
|[[Arch_BuildingPart|BuildingPart]]
|[[Arch_Structure]]
|[[Arch_Wall]]
|[[Arch_Workbench|Arch]]
|IconR=Arch_Structure.svg
|IconL=Arch_Rebar.svg
|IconC=Arch_Wall.svg
|IconR=Arch_BuildingPart.svg
|IconC=Workbench_Arch.svg
}}
}}


Line 15: Line 16:
|Name=Arch CurtainWall
|Name=Arch CurtainWall
|MenuLocation=Arch → Curtain Wall
|MenuLocation=Arch → Curtain Wall
|Workbenches=[[Arch Module|Arch]]
|Workbenches=[[Arch_Workbench|Arch]]
|Shortcut={{KEY|C}} {{KEY|W}}
|Shortcut={{KEY|C}} {{KEY|W}}
|Version=0.19
|SeeAlso=[[Arch Wall]], [[Arch Grid]]
|SeeAlso=[[Arch_Wall|Arch Wall]], [[Arch_Grid|Arch Grid]]
}}
}}


Line 31: Line 33:
<!--T:5-->
<!--T:5-->
Curtain Walls can be created from any type of existing object, in which case all the faces of the object will be subdivided. It works therefore best if used with an object that has only one face. Typically, you would first create a face, preferably bound by exactly 4 edges, that represents the area you want to fill with a curtain wall, then apply the tool.
Curtain Walls can be created from any type of existing object, in which case all the faces of the object will be subdivided. It works therefore best if used with an object that has only one face. Typically, you would first create a face, preferably bound by exactly 4 edges, that represents the area you want to fill with a curtain wall, then apply the tool.

<!--T:24-->
Curtain walls can also be built from a linear object, such as a line, arc or polyline, like the normal [[Arch_Wall|wall]] tool.


<!--T:6-->
<!--T:6-->
Line 39: Line 44:


<!--T:8-->
<!--T:8-->
In case you need a non-regular subdivision, it is also possible to build your own subdivided object, for example using [[Arch Grid]], and set the vertical and horizontal subdivisions of the curtain wall to 1.
In case you need a non-regular subdivision, it is also possible to build your own subdivided object, for example using [[Arch_Grid|Arch Grid]], and set the vertical and horizontal subdivisions of the curtain wall to 1.


<!--T:9-->
<!--T:9-->
Line 50: Line 55:
<!--T:12-->
<!--T:12-->
# Make sure nothing is selected
# Make sure nothing is selected
# Press the {{Button|[[Image:Arch CurtainWall.svg|16px]] [[Arch CurtainWall]]}} button, or press {{KEY|C}} then {{KEY|W}} keys
# Press the {{Button|[[Image:Arch CurtainWall.svg|16px]] [[Arch_CurtainWall|CurtainWall]]}} button, or press {{KEY|C}} then {{KEY|W}} keys.
# Click a first point on the 3D view, or type a [[Draft_Coordinates|coordinate]]
# Click a first point on the 3D view, or type coordinates.
# Click a second point on the 3D view, or type a [[Draft_Coordinates|coordinate]]
# Click a second point on the 3D view, or type coordinates.
# Adjust needed properties
# Adjust needed properties.


===Creating a curtain wall from a selected object=== <!--T:13-->
===Creating a curtain wall from a selected object=== <!--T:13-->


<!--T:14-->
<!--T:14-->
# Select one or more base geometry objects (Draft object, sketch, etc)
# Select one or more base geometry objects (Draft object, sketch, etc).
# Press the {{Button|[[Image:Arch CurtainWall.svg|16px]] [[Arch CurtainWall]]}} button, or press the {{KEY|C}} then {{KEY|W}} keys
# Press the {{Button|[[Image:Arch CurtainWall.svg|16px]] [[Arch_CurtainWall|CurtainWall]]}} button, or press the {{KEY|C}} then {{KEY|W}} keys.
# Adjust needed properties
# Adjust needed properties.


==Options== <!--T:15-->
==Options== <!--T:15-->


<!--T:16-->
<!--T:16-->
* Curtain walls share the common properties and behaviours of all [[Arch Component|Arch Components]]
* Curtain walls share the common properties and behaviours of all [[Arch_Component|Arch Components]]
* Curtain wall mullions can be made from an automatic square profile (set their '''Mullion Size''' properties) or from a custom profile (set their '''Mullion Profile''' property). The mullions can be centered over each edge, or placed relatively to the (0,0,0) point by turning off the '''Çenter Profile''' property. For example, if you want a profile to be placed slightly behind the panels, you would draw that profile slightly below the (0,0,0) origin point
* Curtain wall mullions can be made from an automatic square profile (set their '''Mullion Size''' properties) or from a custom profile (set their '''Mullion Profile''' property). The mullions can be centered over each edge, or placed relatively to the (0,0,0) point by turning off the '''Center Profile''' property. For example, if you want a profile to be placed slightly behind the panels, you would draw that profile slightly below the (0,0,0) origin point
* Curtain walls support [[Arch MultiMaterial|Multi-materials]]. Inside the multi-material, the '''Frame''' layer will be used for the mullions, and the '''Glass panel''' layer for panels, or '''Solid panel''' if no Glass panel layer exists in the multi-material.
* Curtain walls support [[Arch_MultiMaterial|Multi-materials]]. Inside the multi-material, the '''Frame''' layer will be used for the mullions, and the '''Glass panel''' layer for panels, or '''Solid panel''' if no Glass panel layer exists in the multi-material.
* Curtain walls can be based on a linear object such as a line, arc or polyline. In that case, internally, a base surface will be built by extruding the linear object along the direction given by the '''Vertical Direction''' property, by the length given by the '''Height''' property.


==Properties== <!--T:17-->
==Properties== <!--T:17-->


<!--T:18-->
<!--T:18-->
Curtain wall objects inherit the properties of [[Arch Component|Arch Components]] objects, and also have the following extra properties:
Curtain wall objects inherit the properties of [[Arch_Component|Arch Components]] objects, and also have the following extra properties:


<!--T:19-->
<!--T:19-->
* {{PropertyData|Vertical Mullion Number}}:The number of vertical mullions
* {{PropertyData|Vertical Mullion Number}}:The number of vertical mullions
* {{PropertyData|Vertical Mullion Alignment}}: If the profile of the vertical mullions get aligned with the surface or not
* {{PropertyData|Vertical Mullion Alignment}}: If the profile of the vertical mullions get aligned with the surface or not
* {{PropertyData|Vertical Sections}}: The number of vertical sections of this curtain wall
* {{PropertyData|Vertical Sections}}: The number of vertical sections of this curtain wall
* {{PropertyData|Vertical Mullion Size}}: The size of the vertical mullions, if no profile is used
* {{PropertyData|Vertical Mullion Height}}: The height of the vertical mullions profile, if no profile is used
* {{PropertyData|Vertical Mullion Profile}}: A profile for vertical mullions (disables vertical mullion size)
* {{PropertyData|Vertical Mullion Width}}: The width of the vertical mullions profile, if no profile is used
* {{PropertyData|Horizontal Mullion Number}}: The number of horizontal mullions
* {{PropertyData|Vertical Mullion Profile}}: A profile for vertical mullions (disables vertical mullion size)
* {{PropertyData|Horizontal Mullion Alignment}}: If the profile of the horizontal mullions gets aligned with the surface or not
* {{PropertyData|Horizontal Mullion Number}}: The number of horizontal mullions
* {{PropertyData|Horizontal Sections}}: The number of horizontal sections of this curtain wall
* {{PropertyData|Horizontal Mullion Alignment}}: If the profile of the horizontal mullions gets aligned with the surface or not
* {{PropertyData|Horizontal Mullion Size}}: The size of the horizontal mullions, if no profile is used
* {{PropertyData|Horizontal Sections}}: The number of horizontal sections of this curtain wall
* {{PropertyData|Horizontal Mullion Profile}}: A profile for horizontal mullions (disables horizontal mullion size)
* {{PropertyData|Horizontal Mullion Height}}: The height of the horizontal mullions profile, if no profile is used
* {{PropertyData|Diagonal Mullion Number}}: The number of diagonal mullions
* {{PropertyData|Horizontal Mullion Width}}: The width of the horizontal mullions profile, if no profile is used
* {{PropertyData|Diagonal Mullion Size}}: The size of the diagonal mullions, if any, if no profile is used
* {{PropertyData|Horizontal Mullion Profile}}: A profile for horizontal mullions (disables horizontal mullion size)
* {{PropertyData|Diagonal Mullion Profile}}: A profile for diagonal mullions, if any (disables horizontal mullion size)
* {{PropertyData|Diagonal Mullion Number}}: The number of diagonal mullions
* {{PropertyData|Panel Number}}: The number of panels
* {{PropertyData|Diagonal Mullion Size}}: The size of the diagonal mullions, if any, if no profile is used
* {{PropertyData|Panel Thickness}}: The thickness of the panels
* {{PropertyData|Diagonal Mullion Profile}}: A profile for diagonal mullions, if any (disables horizontal mullion size)
* {{PropertyData|Swap Horizontal Vertical}}: Swaps horizontal and vertical lines
* {{PropertyData|Panel Number}}: The number of panels
* {{PropertyData|Refine}}: Perform subtractions between components so none overlap
* {{PropertyData|Panel Thickness}}: The thickness of the panels
* {{PropertyData|Center Profiles}}: Centers the profile over the edges or not
* {{PropertyData|Swap Horizontal Vertical}}: Swaps horizontal and vertical lines
* {{PropertyData|Refine}}: Perform subtractions between components so none overlap
* {{PropertyData|Vertical Direction}}: The vertical direction reference to be used by this object to deduce vertical/horizontal directions. Keep it close to the actual vertical direction of your curtain wall
* {{PropertyData|Center Profiles}}: Centers the profile over the edges or not
* {{PropertyData|Vertical Direction}}: The vertical direction reference to be used by this object to deduce vertical/horizontal directions. Keep it close to the actual vertical direction of your curtain wall
* {{PropertyData|Height}}: The height of this curtain wall, in case it is based on a linear object
* {{PropertyData|Host}}: The host of this curtain wall. The curtain wall will appear embedded in its host object in the tree view (no other action is performed)


==Scripting== <!--T:20-->
==Making frame walls== <!--T:25-->

{{Emphasis|See also:}} [[Arch API|Arch API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
<!--T:26-->
Curtain walls are convenient to use in conjunction with [[Arch_Wall|walls]] to create frame walls (walls where an inner, structural layer is made of frames, usually wooden or metal, instead of an homogeneous material such as concrete or brick).

</translate>
[[Image:Frame wall example.png|780px]]
<translate>

<!--T:27-->
The procedure described below creates a wall and a curtain wall based on a same baseline, then gives the wall a multi-material which leaves an empty space, where the curtain wall is placed:

<!--T:28-->
# Create a normal [[Arch Wall]], either by clicking two points of from an existing linear object
# Select the base object of the newly created arch wall
# Press the {{Button|[[Image:Arch CurtainWall.svg|16px]] [[Arch_CurtainWall|CurtainWall]]}} button, or press the {{KEY|C}} then {{KEY|W}} keys to create a curtain wall from the same baseline as the wall
# Make sure both the wall and curtain wall have the same '''Height'''
# Set the number of '''horizontal sections''' of the curtain wall to zero if you wish only vertical frames
# Set the desired '''horizontal mullion width''' and '''horizontal mullion height''' (or use a mullion profile)
# Prepare two (or more) [[Arch SetMaterial|materials]], one for the panels, one for the void where the frame will be
# Make one [[Arch_MultiMaterial|multi-material]], using one layer of the panel material, one layer of the void material with a negative width value (which will make it not drawn) corresponding to the vertical mullion height of the curtain wall, and another layer of panel material
# Attribute the multi-material to the wall
# Set the '''Host''' property of the curtain wall to the wall we created in first point

==Scripting== <!--T:29-->

<!--T:20-->
{{Emphasis|See also:}} [[Arch_API|Arch API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:21-->
<!--T:21-->
The Curtain wall tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function:
The Curtain wall tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function:
</translate>
</translate>
{{Code|code=
{{Code|code=
Line 116: Line 152:
p2 = FreeCAD.Vector(2000, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseline = Draft.makeLine(p1, p2)
baseface = Free.ActiveDocument.addObject('Part::Extrusion','Extrusion')
baseface = FreeCAD.ActiveDocument.addObject('Part::Extrusion','Extrusion')
baseface.Base = baseline
baseface.Base = baseline
baseface.DirMode = "Normal"
baseface.DirMode = "Normal"
Line 125: Line 161:
}}
}}
<translate>
<translate>



<!--T:23-->
<!--T:23-->
{{Docnav
{{Docnav
|[[Arch_Rebar|Rebar]]
|
|[[Arch_BuildingPart|BuildingPart]]
|[[Arch Structure]]
|[[Arch Wall]]
|[[Arch_Workbench|Arch]]
|IconR=Arch_Structure.svg
|IconL=Arch_Rebar.svg
|IconC=Arch_Wall.svg
|IconR=Arch_BuildingPart.svg
|IconC=Workbench_Arch.svg
}}
}}


</translate>
</translate>
{{Arch Tools navi{{#translation:}}}}
{{Arch Tools navi{{#translation:}}}}

{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 20:25, 5 February 2023

Arch CurtainWall

Menu location
Arch → Curtain Wall
Workbenches
Arch
Default shortcut
C W
Introduced in version
0.19
See also
Arch Wall, Arch Grid

Description

This tool creates a curtain wall by subdividing a base face into quadrangular faces, then creating vertical mullion on the vertical edges, horizontal mullions on the horizontal edges, and filling the spaces between mullions with panels.

Curtain Walls can be created from any type of existing object, in which case all the faces of the object will be subdivided. It works therefore best if used with an object that has only one face. Typically, you would first create a face, preferably bound by exactly 4 edges, that represents the area you want to fill with a curtain wall, then apply the tool.

Curtain walls can also be built from a linear object, such as a line, arc or polyline, like the normal wall tool.

Faces that have double curvature, or faces with more than 4 edges will work too, but the result is less predictable.

Faces will be divided in quadrangular facets. If the 4 points of the facet are coplanar, a square facet is created. If not, it is divided into two triangles and a diagonal mullion is added.

In case you need a non-regular subdivision, it is also possible to build your own subdivided object, for example using Arch Grid, and set the vertical and horizontal subdivisions of the curtain wall to 1.

You can also use the curtain wall tool without any selected object, in which case you will be able to draw a baseline, which will the be extruded vertically to form the face on which the curtain wall will be built.

Usage

Drawing a curtain wall from scratch

  1. Make sure nothing is selected
  2. Press the CurtainWall button, or press C then W keys.
  3. Click a first point on the 3D view, or type coordinates.
  4. Click a second point on the 3D view, or type coordinates.
  5. Adjust needed properties.

Creating a curtain wall from a selected object

  1. Select one or more base geometry objects (Draft object, sketch, etc).
  2. Press the CurtainWall button, or press the C then W keys.
  3. Adjust needed properties.

Options

  • Curtain walls share the common properties and behaviours of all Arch Components
  • Curtain wall mullions can be made from an automatic square profile (set their Mullion Size properties) or from a custom profile (set their Mullion Profile property). The mullions can be centered over each edge, or placed relatively to the (0,0,0) point by turning off the Center Profile property. For example, if you want a profile to be placed slightly behind the panels, you would draw that profile slightly below the (0,0,0) origin point
  • Curtain walls support Multi-materials. Inside the multi-material, the Frame layer will be used for the mullions, and the Glass panel layer for panels, or Solid panel if no Glass panel layer exists in the multi-material.
  • Curtain walls can be based on a linear object such as a line, arc or polyline. In that case, internally, a base surface will be built by extruding the linear object along the direction given by the Vertical Direction property, by the length given by the Height property.

Properties

Curtain wall objects inherit the properties of Arch Components objects, and also have the following extra properties:

  • DataVertical Mullion Number:The number of vertical mullions
  • DataVertical Mullion Alignment: If the profile of the vertical mullions get aligned with the surface or not
  • DataVertical Sections: The number of vertical sections of this curtain wall
  • DataVertical Mullion Height: The height of the vertical mullions profile, if no profile is used
  • DataVertical Mullion Width: The width of the vertical mullions profile, if no profile is used
  • DataVertical Mullion Profile: A profile for vertical mullions (disables vertical mullion size)
  • DataHorizontal Mullion Number: The number of horizontal mullions
  • DataHorizontal Mullion Alignment: If the profile of the horizontal mullions gets aligned with the surface or not
  • DataHorizontal Sections: The number of horizontal sections of this curtain wall
  • DataHorizontal Mullion Height: The height of the horizontal mullions profile, if no profile is used
  • DataHorizontal Mullion Width: The width of the horizontal mullions profile, if no profile is used
  • DataHorizontal Mullion Profile: A profile for horizontal mullions (disables horizontal mullion size)
  • DataDiagonal Mullion Number: The number of diagonal mullions
  • DataDiagonal Mullion Size: The size of the diagonal mullions, if any, if no profile is used
  • DataDiagonal Mullion Profile: A profile for diagonal mullions, if any (disables horizontal mullion size)
  • DataPanel Number: The number of panels
  • DataPanel Thickness: The thickness of the panels
  • DataSwap Horizontal Vertical: Swaps horizontal and vertical lines
  • DataRefine: Perform subtractions between components so none overlap
  • DataCenter Profiles: Centers the profile over the edges or not
  • DataVertical Direction: The vertical direction reference to be used by this object to deduce vertical/horizontal directions. Keep it close to the actual vertical direction of your curtain wall
  • DataHeight: The height of this curtain wall, in case it is based on a linear object
  • DataHost: The host of this curtain wall. The curtain wall will appear embedded in its host object in the tree view (no other action is performed)

Making frame walls

Curtain walls are convenient to use in conjunction with walls to create frame walls (walls where an inner, structural layer is made of frames, usually wooden or metal, instead of an homogeneous material such as concrete or brick).

The procedure described below creates a wall and a curtain wall based on a same baseline, then gives the wall a multi-material which leaves an empty space, where the curtain wall is placed:

  1. Create a normal Arch Wall, either by clicking two points of from an existing linear object
  2. Select the base object of the newly created arch wall
  3. Press the CurtainWall button, or press the C then W keys to create a curtain wall from the same baseline as the wall
  4. Make sure both the wall and curtain wall have the same Height
  5. Set the number of horizontal sections of the curtain wall to zero if you wish only vertical frames
  6. Set the desired horizontal mullion width and horizontal mullion height (or use a mullion profile)
  7. Prepare two (or more) materials, one for the panels, one for the void where the frame will be
  8. Make one multi-material, using one layer of the panel material, one layer of the void material with a negative width value (which will make it not drawn) corresponding to the vertical mullion height of the curtain wall, and another layer of panel material
  9. Attribute the multi-material to the wall
  10. Set the Host property of the curtain wall to the wall we created in first point

Scripting

See also: Arch API and FreeCAD Scripting Basics.

The Curtain wall tool can be used in macros and from the Python console by using the following function:

MyCurtainWall = makeCurtainWall(baseobj)

Example:

import FreeCAD, Draft, Arch

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseface = FreeCAD.ActiveDocument.addObject('Part::Extrusion','Extrusion')
baseface.Base = baseline
baseface.DirMode = "Normal"
baseface.LengthFwd = 2000
curtainwall = Arch.makeCurtainWall(baseface)
curtainWall.VerticalSections = 6
FreeCAD.ActiveDocument.recompute()