|
Menu location |
---|
3D/BIM → Truss |
Workbenches |
BIM |
Default shortcut |
None |
Introduced in version |
0.19 |
See also |
None |
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.
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