Arch MeshToShape/it: Difference between revisions
(Updating to match new version of source page) |
No edit summary |
||
(33 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
|||
{{docnav/it|[[Arch_SplitMesh/it|Dividi Mesh]]|[[Arch_SelectNonSolidMeshes/it|Seleziona le mesh non-solid]]|[[Arch_Module/it|Arch]]|IconL=Arch_SplitMesh.svg |IconC=Workbench_Arch.svg |IconR=Arch_SelectNonSolidMeshes.png}} |
|||
</div> |
|||
{{Docnav/it |
|||
<div class="mw-translate-fuzzy"> |
|||
|[[Arch_SplitMesh/it|Dividi Mesh]] |
|||
{{GuiCommand/it|Name=Arch MeshToShape|Name/it=Da Mesh a Forma|Workbenches=[[Arch Module/it|Architettura]]|MenuLocation=Arch → Utilità → Da Mesh a Forma|SeeAlso=[[Arch SplitMesh/it|Dividi mesh]], [[Arch RemoveShape/it|Rimuovi Forma]]}} |
|||
|[[Arch_SelectNonSolidMeshes/it|Seleziona le mesh non-manifold]] |
|||
</div> |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_SplitMesh.svg |
|||
|IconR=Arch_SelectNonSolidMeshes.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
{{GuiCommand/it |
|||
|Name=Arch MeshToShape |
|||
|Name/it=Da Mesh a Forma |
|||
|MenuLocation=Arch → Utilità → Da Mesh a Forma |
|||
|Workbenches=[[Arch_Workbench/it|Arch]] |
|||
|SeeAlso=[[Arch_SplitMesh/it|Divid Mesh]], [[Arch_RemoveShape/it|Rimuovi Forma]] |
|||
}} |
|||
<span id="Description"></span> |
|||
==Descrizione== |
==Descrizione== |
||
Da Mesh a Forma converte un oggetto [[Mesh/it|Mesh]] ([[Mesh_Feature/it|Mesh Feature]]) selezionato in un oggetto [[Shape/it|Forma]] ([[Part_Feature/it|Part Feature]]). |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | Questo |
||
</div> |
|||
⚫ | Questo strumento è ottimizzato per oggetti con facce piane (senza curve). Lo strumento corrispondente {{Button|[[File:Part_ShapeFromMesh.svg|16px]] [[Part_ShapeFromMesh/it|Crea forma da mesh]]}} dell'ambiente [[Image:Workbench_Part.svg|16px]] [[Part_Workbench/it|Parte]] potrebbe essere più adatto per oggetti che contengono superfici curve. |
||
⚫ | |||
<span id="Usage"></span> |
|||
⚫ | |||
# Selezionare un oggetto mesh. |
# Selezionare un oggetto mesh. |
||
# Premere il pulsante {{Button|[[Image:Arch MeshToShape.svg|16px]] [[ |
# Premere il pulsante {{Button|[[Image:Arch MeshToShape.svg|16px]] [[Arch_MeshToShape/it|Da Mesh a Forma]]}} in {{MenuCommand|Arch → Utilità → Da mesh a forma}}. |
||
= |
<span id="Properties"></span> |
||
==Proprietà== |
|||
= |
<span id="Limitations"></span> |
||
==Limitazioni== |
|||
<span id="Scripting"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
== |
==Script== |
||
⚫ | |||
</div> |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
Questo strumento può essere utilizzato nelle [[ |
Questo strumento può essere utilizzato nelle [[Macros/it|macro]] e dalla console [[Python/it|Python]] tramite la seguente funzione: |
||
</div> |
|||
{{Code|code= |
{{Code|code= |
||
new_obj = meshToShape(obj, mark=True, fast=True, tol=0.001, flat=False, cut=True) |
new_obj = meshToShape(obj, mark=True, fast=True, tol=0.001, flat=False, cut=True) |
||
}} |
}} |
||
* |
* Il frammento di codice sopra riportato converte il dato {{incode|obj}}, una mesh, in una forma, unendo le facce complanari. |
||
* Se {{incode|mark}} è {{incode|True}}, gli oggetti non solidi saranno contrassegnati in rosso. |
* Se {{incode|mark}} è {{incode|True}}, gli oggetti non solidi saranno contrassegnati in rosso. |
||
* Se {{incode|fast}} è {{incode|True}} usa un algoritmo più veloce costruendo una shell dalle faccette. |
* Se {{incode|fast}} è {{incode|True}} usa un algoritmo più veloce costruendo una shell dalle faccette. |
||
* {{incode|tol}} è la tolleranza utilizzata durante la conversione dei segmenti di mesh in contorni. |
* {{incode|tol}} è la tolleranza utilizzata durante la conversione dei segmenti di mesh in contorni. |
||
* Se {{incode|flat}} è {{incode|True}} forza i contorni a essere perfettamente planari, per essere sicuri che possano essere |
* Se {{incode|flat}} è {{incode|True}} forza i contorni a essere perfettamente planari, per essere sicuri che possano essere convertiti in facce, ma ciò potrebbe lasciare degli spazi vuoti nella shell finale. |
||
* Se {{incode|cut}} è {{incode|True}} i fori nelle facce sono fatti per sottrazione. |
* Se {{incode|cut}} è {{incode|True}} i fori nelle facce sono fatti per sottrazione. |
||
Esempio: |
|||
{{Code|code= |
{{Code|code= |
||
import Arch, Mesh, BuildRegularGeoms |
import Arch, Mesh, BuildRegularGeoms |
||
Line 54: | Line 67: | ||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
|||
{{docnav/it|[[Arch_SplitMesh/it|Dividi Mesh]]|[[Arch_SelectNonSolidMeshes/it|Seleziona le mesh non-solid]]|[[Arch_Module/it|Arch]]|IconL=Arch_SplitMesh.svg |IconC=Workbench_Arch.svg |IconR=Arch_SelectNonSolidMeshes.png}} |
|||
</div> |
|||
{{Docnav/it |
|||
⚫ | |||
|[[Arch_SplitMesh/it|Dividi Mesh]] |
|||
|[[Arch_SelectNonSolidMeshes/it|Seleziona le mesh non-manifold]] |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_SplitMesh.svg |
|||
|IconR=Arch_SelectNonSolidMeshes.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
⚫ | |||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 18:09, 8 December 2023
Da Mesh a Forma |
Posizione nel menu |
---|
Arch → Utilità → Da Mesh a Forma |
Ambiente |
Arch |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Divid Mesh, Rimuovi Forma |
Descrizione
Da Mesh a Forma converte un oggetto Mesh (Mesh Feature) selezionato in un oggetto Forma (Part Feature).
Questo strumento è ottimizzato per oggetti con facce piane (senza curve). Lo strumento corrispondente Crea forma da mesh dell'ambiente Parte potrebbe essere più adatto per oggetti che contengono superfici curve.
Utilizzo
- Selezionare un oggetto mesh.
- Premere il pulsante Da Mesh a Forma in Arch → Utilità → Da mesh a forma.
Proprietà
Limitazioni
Script
Vedere anche: API di Arch e Nozioni di base sugli script di FreeCAD.
Questo strumento può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:
new_obj = meshToShape(obj, mark=True, fast=True, tol=0.001, flat=False, cut=True)
- Il frammento di codice sopra riportato converte il dato
obj
, una mesh, in una forma, unendo le facce complanari. - Se
mark
èTrue
, gli oggetti non solidi saranno contrassegnati in rosso. - Se
fast
èTrue
usa un algoritmo più veloce costruendo una shell dalle faccette. tol
è la tolleranza utilizzata durante la conversione dei segmenti di mesh in contorni.- Se
flat
èTrue
forza i contorni a essere perfettamente planari, per essere sicuri che possano essere convertiti in facce, ma ciò potrebbe lasciare degli spazi vuoti nella shell finale. - Se
cut
èTrue
i fori nelle facce sono fatti per sottrazione.
Esempio:
import Arch, Mesh, BuildRegularGeoms
Box = FreeCAD.ActiveDocument.addObject("Mesh::Cube", "Cube")
Box.Length = 1000
Box.Width = 2000
Box.Height = 1000
FreeCAD.ActiveDocument.recompute()
new_obj = Arch.meshToShape(Box)
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, Assembly, BIM, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub