|
Posizione nel menu |
---|
Arch → Travatura |
Ambiente |
Arch |
Avvio veloce |
Nessuno |
Introdotto nella versione |
0.19 |
Vedere anche |
Nessuno |
Lo strumento Travatura crea un oggetto travatura, sia da un oggetto lineare selezionato (posta su una Linea di Draft o uno [[Sketcher_NewSketch/it|Schizzo] ]), o da zero se non viene selezionato alcun oggetto all'avvio del comando.
Lo strumento Travatura può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:
Truss = makeFence([baseobj])
Esempio:
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