GuiCommand: Name: Arch Truss MenuLocation: 3D/BIM , Truss Workbenches: BIM_Workbench Version: 0.19
Arch Truss
Description
The Arch Truss tool builds a truss object, either from a selected linear object (lie a Draft Line or Sketch), or from scratch, if no object is selected when launching the command.
![](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Arch_Truss_example.png)
Usage
Creating from a selected object
- Use a workbench of your choice to create a single line
- Select that line
- Press the
Truss button
- Adjust the truss properties to your liking
Creating from scratch
- Make sure nothing is selected
- Press the
Truss button
- Click in the 3D view to define a first point, or manually enter X, Y and Z coordinates
- Click in the 3D view to define a second point, or manually enter X, Y and Z coordinates
- Adjust the truss properties to your liking
Properties
Data
-
TrussAngle: The angle of the truss
-
SlantType: The slant type of this truss
-
Normal: The normal direction of this truss
-
HeightStart: The height of the truss at the start position
-
HeightEnd: The height of the truss at the end position
-
StrutStartOffset: An optional start offset for the top strut
-
StrutEndOffset: An optional end offset for the top strut
-
StrutHeight: The height of the main top and bottom elements of the truss
-
StrutWidth: The width of the main top and bottom elements of the truss
-
RodType: The type of the middle element of the truss
-
RodDirection: The direction of the rods
-
RodSize: The diameter or side of the rods
-
RodSections: The number of rod sections
-
RodEnd: If the truss has a rod at its endpoint or not
-
RodMode: How to draw the rods
Scripting
The Truss tool can be used in macros and from the Python console by using the following function:
Truss = makeFence([baseobj])
Example:
import FreeCAD
import Draft
import Arch
p1 = FreeCAD.Vector(0,0,0)
p2 = FreeCAD.Vector(2000,0,0)
baseline = Draft.makeLine(p1,p2)
truss = Arch.makeTruss(baseline)
truss.HeightStart = 200
truss.HeightEnd = 400
# adjust other needed properties
⏵ documentation index > BIM > Arch Truss
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Arch_Truss.md