Arch: Recinzione
Jump to navigation
Jump to search
Outdated translations are marked like this.
Posizione nel menu |
---|
Arch → Recinzione |
Ambiente |
Arch |
Avvio veloce |
Nessuno |
Introdotto nella versione |
0.19 |
Vedere anche |
Nessuno |
Descrizione
Recinzione è un oggetto che costruisce una recinzione ripetendo un piantone e una campata della recinzione lungo un determinato percorso.
Utilizzo
Creare dall'inizio
- Usare un ambiente a scelta per creare un piantone e una campata.
- Creare il percorso della recinzione usando Sketcher o Draft.
- Passare nell'ambiente Arch.
- Selezionare la campata, il piantone e il percorso esattamente nell'ordine indicato.
- Premere il pulsante
Recinzione.
Opzioni
Per ora lo strumento assume quanto segue.
- Il percorso è disegnato sul piano XY.
- La campata e il piantone sono disegnati nell'origine in modo che siano in posizione verticale nella vista frontale.
Proprietà
Dati
- DataPath: il percorso che la recinzione deve seguire
- DataPost: un singolo piantone della recinzione da ripetere
- DataSection: una singola campata da ripetere
- DataNumber Of Posts: il numero totale dei piantoni utilizzati per costruire la recinzione. Questo è calcolato automaticamente.
- DataNumber Of Sections: il numero totale di campate utilizzate per costruire la recinzione. Questo è calcolato automaticamente.
Vista
- ViewUse Original Colors: Quando impostata su
true
la recinzione utilizza i colori della sezione e del piantone originale. Altrimenti utilizza il ShapeColor della recinzione.
Notes
- Arch Fence was introduced in FC v0.19 by user furti.
- Forum thread discussing Arch Fence functionality
Script
Lo strumento Recinzione può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:
Fence = buildFence(section, post, path)
Esempio.
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)
Documentazione di Arch
- Elements: Wall, Structure, Roof, Window, Door, Stairs, Space, Frame, Equipment; Pipe, Pipe Connector; Schedule
- Reinforcements: Rebar; Straight Rebar, UShape Rebar, LShape Rebar, Bent Shape Rebar, Stirrup Rebar, Helical Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Site, Reference, Building, Floor, Building Part, Section Plane
- Axes: Axis, Axes system, Grid
- Modification: Cut with plane, Add component, Remove component, Survey
- Utilities: Component, Clone component, Split Mesh, Mesh To Shape, Select non-solid meshes, Remove Shape, Close Holes, Merge Walls, Check, Ifc Explorer, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import-Export Preferences (IFC, DAE, OBJ, JSON, 3DS); Api Arch
Documentazione utente

- Installazione: Windows, Linux, Mac; Getting started
- Base: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Ambienti: Menu di base; Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting