Arch Truss/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "===Создание с нуля===")
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Arch_Fence/ru|Ограждение]]
|[[Arch_Fence/ru|Ограждение]]
Line 9: Line 10:
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
}}
}}
</div>


{{VeryImportantMessage|THIS COMMAND IS PART OF THE INTEGRATED [[BIM_Workbench|BIM WORKBENCH]] IN V1.0<br>
This page has been updated for that version.}}

<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Ферма
|Name/ru=Ферма
Line 17: Line 23:
|Version=0.19
|Version=0.19
}}
}}
</div>


<span id="Description"></span>
==Описание==
==Описание==


Line 24: Line 32:
[[Image:Arch Truss example.png|600px]]
[[Image:Arch Truss example.png|600px]]


<span id="Usage"></span>
==Применение==
==Применение==


<span id="Creating_from_a_selected_object"></span>
===Создание из выбранного объекта===
===Создание из выбранного объекта===


# Use a workbench of your choice to create a single line
# Use a workbench of your choice to create a single line
# Select that line
# Select that line
# Press the {{Button|[[Image:Arch Truss.svg|16px]] [[Arch_Truss|Arch Truss]]}} button
# Press the {{Button|[[Image:Arch_Truss.svg|16px]] [[Arch_Truss|Truss]]}} button
# Adjust the truss properties to your liking
# Adjust the truss properties to your liking


<span id="Creating_from_scratch"></span>

===Создание с нуля===
===Создание с нуля===


# Make sure nothing is selected
# Make sure nothing is selected
# Press the {{Button|[[Image:Arch Truss.svg|16px]] [[Arch_Truss|Arch Truss]]}} button
# Press the {{Button|[[Image:Arch_Truss.svg|16px]] [[Arch_Truss|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 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
# 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
# Adjust the truss properties to your liking


<span id="Properties"></span>
==Свойства==
==Свойства==


<span id="Data"></span>
=== Данные ===
=== Данные ===


Line 62: Line 74:
* {{PropertyData|RodMode}}: How to draw the rods
* {{PropertyData|RodMode}}: How to draw the rods


<span id="Scripting"></span>
==Программирование==
==Программирование==


Line 87: Line 100:




<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Arch_Fence/ru|Ограждение]]
|[[Arch_Fence/ru|Ограждение]]
Line 95: Line 109:
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
}}
}}
</div>


{{Arch Tools navi{{#translation:}}}}
{{BIM_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 14:45, 11 June 2024

THIS COMMAND IS PART OF THE INTEGRATED BIM WORKBENCH IN V1.0
This page has been updated for that version.

Ферма

Системное название
Arch_Truss
Расположение в меню
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.

Применение

Создание из выбранного объекта

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

Создание с нуля

  1. Make sure nothing is selected
  2. Press the 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

Свойства

Данные

  • Данные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

Программирование

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