Arch Fence/pl: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
{{Docnav |
||
|[[Arch_Frame|Frame]] |
|[[Arch_Frame|Frame]] |
||
|[[ |
|[[Arch_Truss|Truss]] |
||
|[[Arch_Workbench|Arch]] |
|[[Arch_Workbench|Arch]] |
||
|IconL=Arch_Frame.svg |
|IconL=Arch_Frame.svg |
||
|IconR= |
|IconR=Arch_Truss.svg |
||
|IconC=Workbench_Arch.svg |
|IconC=Workbench_Arch.svg |
||
}} |
}} |
||
Line 41: | Line 42: | ||
=== Data === |
=== Data === |
||
* {{PropertyData|Path}}: The path the fence should follow |
* {{PropertyData|Path}}: The path the fence should follow |
||
* {{PropertyData|Post}}: A single fence post to repeat |
* {{PropertyData|Post}}: A single fence post to repeat |
||
Line 48: | Line 50: | ||
=== View === |
=== View === |
||
* {{PropertyView|Use Original Colors}}: When set to {{TRUE}} the fence will use the colors from the original section and post. Otherwise the ShapeColor of the fence will be used to colorize the fence. |
* {{PropertyView|Use Original Colors}}: When set to {{TRUE}} the fence will use the colors from the original section and post. Otherwise the ShapeColor of the fence will be used to colorize the fence. |
||
Line 63: | Line 66: | ||
}} |
}} |
||
Example |
Example: |
||
{{Code|code= |
{{Code|code= |
||
Line 94: | Line 97: | ||
Fence = Arch.buildFence(fence_section, post, sketch) |
Fence = Arch.buildFence(fence_section, post, sketch) |
||
}} |
}} |
||
{{Docnav |
{{Docnav |
||
|[[Arch_Frame|Frame]] |
|[[Arch_Frame|Frame]] |
||
|[[ |
|[[Arch_Truss|Truss]] |
||
|[[Arch_Workbench|Arch]] |
|[[Arch_Workbench|Arch]] |
||
|IconL=Arch_Frame.svg |
|IconL=Arch_Frame.svg |
||
|IconR= |
|IconR=Arch_Truss.svg |
||
|IconC=Workbench_Arch.svg |
|IconC=Workbench_Arch.svg |
||
}} |
}} |
Revision as of 14:18, 9 March 2022
Arch Fence |
Menu location |
---|
Arch → Fence |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
0.19 |
See also |
None |
Description
The Arch Fence is a object that builds a fence by repeating a single fence post and section along a given path.
Usage
Creating from scratch
- Use a workbench of your choice to create a single fence post and a single section.
- Create the path the fence should follow using the Sketcher Workbench or Draft Workbench.
- Switch back to the Arch Workbench.
- Select the section, post and path in exactly that order.
- Press the Arch Fence button
Options
For now the tool assumes the following
- The Path is drawn on the XY-Plane
- Section and Post are drawn at the origin so that they stand upright in front view
Properties
Data
- DANEPath: The path the fence should follow
- DANEPost: A single fence post to repeat
- DANESection: A single section to repeat
- DANENumber Of Posts: The total number of posts used to build the fence. This is calculated automatically.
- DANENumber Of Sections: The total number of sections used to build the fence. This is calculated automatically.
View
- WIDOKUse Original Colors: When set to
true
the fence will use the colors from the original section and post. Otherwise the ShapeColor of the fence will be used to colorize the fence.
Notes
- Arch Fence was introduced in FC v0.19 by user furti.
- Forum thread discussing Arch Fence functionality
Scripting
The Fence tool can be used in macros and from the Python console by using the following function:
Fence = buildFence(section, post, path)
Example:
import FreeCAD
import Part
import Arch
parts = []
parts.append(Part.makeBox(2000, 50, 30, FreeCAD.Vector(0, 0, 1000 - 30)))
parts.append(Part.makeBox(2000, 50, 30))
parts.append(Part.makeBox(20, 20, 1000 - 60, FreeCAD.Vector(0, 15, 30)))
parts.append(Part.makeBox(20, 20, 1000 - 60, FreeCAD.Vector(1980, 15, 30)))
for i in range(8):
parts.append(Part.makeBox(20, 20, 1000 - 60, FreeCAD.Vector((2000 / 9 * (i + 1)) - 10, 15, 30)))
Part.show(Part.makeCompound(parts), "Fence_section")
fence_section = FreeCAD.ActiveDocument.Fence_section
sketch = FreeCAD.ActiveDocument.addObject("Sketcher::SketchObject", "Path")
sketch.Placement = FreeCAD.Placement(FreeCAD.Vector(0, 0, 0), FreeCAD.Rotation(0, 0, 0, 1))
sketch.addGeometry(Part.LineSegment(FreeCAD.Vector(0, 0, 0), FreeCAD.Vector(20000, 0, 0)), False)
sketch.addGeometry(Part.LineSegment(FreeCAD.Vector(20000, 0, 0), FreeCAD.Vector(20000, 20000, 0)), False)
post = Part.makeBox(100, 100, 1000, FreeCAD.Vector(0, 0, 0))
Part.show(post, "Post")
post = FreeCAD.ActiveDocument.Post
Fence = Arch.buildFence(fence_section, post, sketch)
środowisko pracy Architektura
- Elementy: Mury, Konstrukcja, ściana kurtynowa, Okna, Drzwi, Dach, Kubatura, Schody, Wyposażenie, Ramy, Ogrodzenie, Kratownica, Profil, Rura, Kształtka
- Zbrojenie: Pręty zbrojeniowe proste, Pręty zbrojeniowe typu U, Pręty zbrojeniowe typu L, Strzemiona, Strzemiona, Pręty zbrojeniowe spiralne, Zbrojenie słupów, Zbrojenie belek, Zbrojenie płyt stropowych, Zbrojenie stóp fundamentowych, Pręt zbrojeniowy
- Panels: Panel, Panelizacja do cięcia, Arkusz panela, Zagnieżdżanie
- Materiał: Wybór materiału, Materiał złożony
- Organizacja: Część budowli, Projekt, Teren, Budowla, Piętro, Odniesienie, Płaszczyzna przekroju, Obmiar
- Osie: Osie, Układ osi, Siatka
- Modifikacja: Płaszczyzna cięcia, Komponent dodaj, Komponent usuń, Przegląd
- Narzędzia: Komponent, Klonuj komponent, Podziel siatkę, Siatka na kształt, Zaznacz siatki nie bryłowe, Usuń kształt., Zamknij otwory, Połącz ściany, Sprawdź, Przełącz flagę Brep IFC, Trzy widoki, Arkusz kalkulacyjny IFC, Przełącz widoczność odjęcia
- Dodatkowe: Preferencje, Ustawienia Importu i Eksportu (IFC, DAE, OBJ, JSON, 3DS); SHP), Architektura: API
Centrum użytkownika
- Jak zacząć
- Instalacja: Pobieranie programu, Windows, Linux, Mac, Dodatkowych komponentów, Docker, AppImage, Ubuntu Snap
- Podstawy: Informacje na temat FreeCAD, Interfejs użytkownika, Profil nawigacji myszką, Metody wyboru, Nazwa obiektu, Edytor ustawień, Środowiska pracy, Struktura dokumentu, Właściwości, Pomóż w rozwoju FreeCAD, Dotacje
- Pomoc: Poradniki, Wideo poradniki
- Środowiska pracy: Strona Startowa, Architektura, Assembly, CAM, Rysunek Roboczy, MES, Inspekcja, Siatka, OpenSCAD, Część, Projekt Części, Punkty, Inżynieria Wsteczna, Robot, Szkicownik, Arkusz Kalkulacyjny, Powierzchnia 3D, Rysunek Techniczny, Test Framework