Arch 3Views/it: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
(Updating to match new version of source page) |
||
(33 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Template:UnfinishedDocu}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/it|Name=Arch 3Views|Name/it=3 Viste da mesh|Workbenches=[[Arch Module/it|Arch]]|MenuLocation=Arch → Utilità → 3 Viste da mesh|SeeAlso=[[Arch SplitMesh/it|Dividi Mesh]], [[Arch MeshToShape/it|Da Mesh a Forma]]}} |
|||
{{Docnav/it |
|||
|[[Arch_ToggleIfcBrepFlag/it|Attiva/Disattiva Ifc Brep]] |
|||
|[[Arch_IfcSpreadsheet/it|Crea un foglio di calcolo Ifc...]] |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_ToggleIfcBrepFlag.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_Schedule.svg |
|||
}} |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/it |
|||
|Name=Arch 3Views |
|||
|Name/it=3 Viste da mesh |
|||
|MenuLocation=Arch → Utilità → 3 Viste da mesh |
|||
|Workbenches=[[Arch_Workbench/it|Arch]] |
|||
|SeeAlso=[[Arch SplitMesh/it|Dividi Mesh]], [[Arch MeshToShape/it|Da Mesh a Forma]] |
|||
}} |
|||
</div> |
|||
==Descrizione== |
==Descrizione== |
||
Line 7: | Line 26: | ||
Crea le classiche tre viste in proiezioni ortogonali di un oggetto mesh selezionato. |
Crea le classiche tre viste in proiezioni ortogonali di un oggetto mesh selezionato. |
||
<div class="mw-translate-fuzzy"> |
|||
{{Emphasis|Questo comando non è attualmente in uso.}} Esso servirà a generare delle viste piatte, di un oggetto [[Mesh |
{{Emphasis|Questo comando non è attualmente in uso.}} Esso servirà a generare delle viste piatte, di un oggetto [[Mesh Workbench/it|Mesh]], da usare con lo strumento {{KEY|[[Image:Arch Equipment.svg|24px]] [[Arch Equipment/it|Arredo]]}}. |
||
</div> |
|||
== Utilizzo == |
== Utilizzo == |
||
Line 16: | Line 37: | ||
Notare che le viste prodotte sono degli oggetti indipendenti, non hanno legami tra di loro e neppure con l'oggetto mesh da cui derivano. |
Notare che le viste prodotte sono degli oggetti indipendenti, non hanno legami tra di loro e neppure con l'oggetto mesh da cui derivano. |
||
<div class="mw-translate-fuzzy"> |
|||
# Selezionare un oggetto Mesh |
# Selezionare un oggetto Mesh |
||
# Selezionare il |
# Selezionare il pulsante {{KEY|[[Image:Arch 3Views.svg|16px]]}}, o {{KEY|Arch}} → {{KEY|Utilità}} → {{KEY|[[Image:Arch 3Views.svg|16px]] [[Arch 3Views/it|3 viste]]}} dal menu principale. |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
== Scripting == |
|||
== Script == |
|||
{{Emphasis| |
{{Emphasis|Vedere anche:}} [[Arch API/it|Arch API]] e [[FreeCAD Scripting Basics/it|Nozioni di base sugli script di FreeCAD]]. |
||
</div> |
|||
Questo strumento può essere utilizzato nelle [[macros/it|macro]] e dalla console [[FreeCAD_Scripting_Basics/it|Python]] tramite la seguente funzione: |
|||
{{Code|code= |
{{Code|code= |
||
shape = createMeshView(obj, direction=FreeCAD.Vector(0, 0, -1), outeronly=False, largestonly=False) |
shape = createMeshView(obj, direction=FreeCAD.Vector(0, 0, -1), outeronly=False, largestonly=False) |
||
}} |
}} |
||
* Crea una {{incode|shape}} piatta che è la proiezione nella data {{incode|direction}} dell'oggetto mesh ({{incode|obj}}) specificato. |
|||
* Se {{incode|outeronly}} è {{incode|True}} viene preso in considerazione solo il contorno esterno, scartando i fori interni. |
|||
⚫ | |||
Usare {{incode|Part.show()}} per visualizzare la forma piatta risultante. |
|||
* Creates a flat {{incode|shape}} that is the projection of the given mesh object ({{incode|obj}}) in the given {{incode|direction}}. |
|||
* If {{incode|outeronly}} is {{incode|True}} only the outer contour is taken into consideration, discarding the inner holes. |
|||
⚫ | |||
Esempio: |
|||
Use {{incode|Part.show()}} to display the resulting flat shape. |
|||
Example: |
|||
{{Code|code= |
{{Code|code= |
||
import FreeCAD, Draft, Arch, Mesh, MeshPart |
import FreeCAD, Draft, Arch, Mesh, MeshPart |
||
Line 65: | Line 89: | ||
}} |
}} |
||
[[Category:Arch/it]] |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
{{Docnav/it |
|||
⚫ | |||
|[[Arch_ToggleIfcBrepFlag/it|Attiva/Disattiva Ifc Brep]] |
|||
|[[Arch_IfcSpreadsheet/it|Crea un foglio di calcolo Ifc...]] |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_ToggleIfcBrepFlag.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_Schedule.svg |
|||
}} |
|||
</div> |
|||
⚫ | |||
⚫ |
Revision as of 15:34, 9 March 2022
3 Viste da mesh |
Posizione nel menu |
---|
Arch → Utilità → 3 Viste da mesh |
Ambiente |
Arch |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Dividi Mesh, Da Mesh a Forma |
Descrizione
Crea le classiche tre viste in proiezioni ortogonali di un oggetto mesh selezionato.
Questo comando non è attualmente in uso. Esso servirà a generare delle viste piatte, di un oggetto Mesh, da usare con lo strumento Arredo.
Utilizzo
- Selezionare un oggetto mesh
- Attivare il comando
Notare che le viste prodotte sono degli oggetti indipendenti, non hanno legami tra di loro e neppure con l'oggetto mesh da cui derivano.
- Selezionare un oggetto Mesh
- Selezionare il pulsante , o Arch → Utilità → 3 viste dal menu principale.
Script
Vedere anche: Arch API e Nozioni di base sugli script di FreeCAD.
Questo strumento può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:
shape = createMeshView(obj, direction=FreeCAD.Vector(0, 0, -1), outeronly=False, largestonly=False)
- Crea una
shape
piatta che è la proiezione nella datadirection
dell'oggetto mesh (obj
) specificato. - Se
outeronly
èTrue
viene preso in considerazione solo il contorno esterno, scartando i fori interni. - Se
largestonly
èTrue
viene utilizzato solo il segmento più grande della mesh specificata.
Usare Part.show()
per visualizzare la forma piatta risultante.
Esempio:
import FreeCAD, Draft, Arch, Mesh, MeshPart
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0), FreeCAD.Vector(2000, 2000, 0)])
Wall = Arch.makeWall(Line, width=150, height=3000)
FreeCAD.ActiveDocument.recompute()
Shape = Wall.Shape.copy(False)
Shape.Placement = Wall.getGlobalPlacement()
mesh_obj = FreeCAD.ActiveDocument.addObject("Mesh::Feature", "Mesh")
mesh_obj.Mesh = MeshPart.meshFromShape(Shape=Shape, MaxLength=520)
mesh_obj.ViewObject.DisplayMode = "Flat Lines"
FreeCAD.ActiveDocument.recompute()
XAxis = FreeCAD.Vector(1, 0, 0)
YAxis = FreeCAD.Vector(0, 1, 0)
ZAxis = FreeCAD.Vector(0, 0, -1)
s1 = Arch.createMeshView(mesh_obj, ZAxis)
s2 = Arch.createMeshView(mesh_obj, XAxis)
s3 = Arch.createMeshView(mesh_obj, YAxis)
Part.show(s1)
Part.show(s2)
Part.show(s3)
Wall.ViewObject.Visibility = False
mesh_obj.ViewObject.Visibility = False
Arch
- Elements: Wall, Structure, Curtain Wall, Window, Roof, Space, Stairs, Equipment, Frame, Fence, Truss, Profile, Pipe, Pipe Connector
- Reinforcements: Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement, Custom Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Building Part, Project, Site, Building, Level, External reference, Section Plane, Schedule
- 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-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import Export Preferences (IFC, DAE, OBJ, JSON, 3DS, SHP), IfcOpenShell, IfcPlusPlus, Arch API
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub