|
Расположение в меню |
---|
Arch → Ферма |
Верстаки |
Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
0.19 |
См. также |
Нет |
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])
Пример:
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