Arch Truss/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/pl |Name=Arch Truss |Name/pl=Architektura: Wiązar |MenuLocation=Architektura → Wiązar |Workbenches=Architektura |Version=0.19 }}")
(Created page with "==Opis==")
Line 18: Line 18:
}}
}}


==Description==
<span id="Description"></span>
==Opis==


The [[Arch_Truss|Arch Truss]] tool builds a [https://en.wikipedia.org/wiki/Truss truss] object, either from a selected linear object (lie a [[Draft_Line|Draft Line]] or [[Sketcher_NewSketch|Sketch]]), or from scratch, if no object is selected when launching the command.
The [[Arch_Truss|Arch Truss]] tool builds a [https://en.wikipedia.org/wiki/Truss truss] object, either from a selected linear object (lie a [[Draft_Line|Draft Line]] or [[Sketcher_NewSketch|Sketch]]), or from scratch, if no object is selected when launching the command.

Revision as of 05:28, 5 May 2024

Architektura: Wiązar

Lokalizacja w menu
Architektura → Wiązar
Środowisko pracy
Architektura
Domyślny skrót
brak
Wprowadzono w wersji
0.19
Zobacz także
brak

Opis

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.

Usage

Creating from a selected object

  1. Use a workbench of your choice to create a single line
  2. Select that line
  3. Press the Arch Truss button
  4. Adjust the truss properties to your liking


Creating from scratch

  1. Make sure nothing is selected
  2. Press the Arch Truss button
  3. Click in the 3D view to define a first point, or manually enter X, Y and Z coordinates
  4. Click in the 3D view to define a second point, or manually enter X, Y and Z coordinates
  5. Adjust the truss properties to your liking

Properties

Data

  • DANETrussAngle: The angle of the truss
  • DANESlantType: The slant type of this truss
  • DANENormal: The normal direction of this truss
  • DANEHeightStart: The height of the truss at the start position
  • DANEHeightEnd: The height of the truss at the end position
  • DANEStrutStartOffset: An optional start offset for the top strut
  • DANEStrutEndOffset: An optional end offset for the top strut
  • DANEStrutHeight: The height of the main top and bottom elements of the truss
  • DANEStrutWidth: The width of the main top and bottom elements of the truss
  • DANERodType: The type of the middle element of the truss
  • DANERodDirection: The direction of the rods
  • DANERodSize: The diameter or side of the rods
  • DANERodSections: The number of rod sections
  • DANERodEnd: If the truss has a rod at its endpoint or not
  • DANERodMode: 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