Arch SplitMesh/it: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
No edit summary Tag: Manual revert |
||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav/it|[[Arch_CloneComponent/it|Clona componente]]|[[Arch_MeshToShape/it|Da Mesh a Forma]]|[[Arch_Module/it|Arch]]|IconL=Arch_Component_Clone.svg |IconC=Workbench_Arch.svg |IconR=Arch_MeshToShape.svg}} |
|||
{{Docnav/it |
|||
{{GuiCommand/it|Name=Arch SplitMesh|Name/it=Dividi mesh|Workbenches=[[Arch Module/it|Architetttura]]|MenuLocation=Arch → Utilità → Dividi Mesh|SeeAlso=[[Arch SelectNonSolidMeshes/it|Seleziona mesh non solidi]], [[Arch MeshToShape/it|Da Mesh a Forma]]}} |
|||
|[[Arch_CloneComponent/it|Clona componente]] |
|||
|[[Arch_MeshToShape/it|Da Mesh a Forma]] |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_CloneComponent.svg |
|||
|IconR=Arch_MeshToShape.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
{{GuiCommand |
|||
|Name=Arch SplitMesh |
|||
|Name/it=Dividi mesh |
|||
|MenuLocation=Arch → Utilità → Dividi Mesh |
|||
|Workbenches=[[Arch_Workbench/it|Arch]] |
|||
|SeeAlso=[[Arch_SelectNonSolidMeshes/it|Seleziona mesh non solidi]], [[Arch_MeshToShape/it|Da mesh a solido]] |
|||
}} |
|||
<span id="Description"></span> |
|||
==Descrizione== |
==Descrizione== |
||
Questo strumento suddivide un oggetto [[ |
Questo strumento suddivide un oggetto [[Mesh_Workbench/it|Mesh]] selezionato nei suoi singoli componenti |
||
<span id="Usage"></span> |
|||
==Utilizzo== |
==Utilizzo== |
||
# Selezionare un oggetto mesh. |
# Selezionare un oggetto mesh. |
||
# Premere il pulsante {{Button|[[Image:Arch_SplitMesh.svg|16px]] [[ |
# Premere il pulsante {{Button|[[Image:Arch_SplitMesh.svg|16px]] [[Arch_SplitMesh/it|Dividi Mesh]]}} in {{MenuCommand|Arch → Utilità → Dividi Mesh}}. |
||
<span id="Scripting"></span> |
|||
== |
==Script== |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{Code|code= |
{{Code|code= |
||
Line 23: | Line 41: | ||
* Divide l'oggetto mesh dato ({{incode|obj}}) in componenti separati. |
* Divide l'oggetto mesh dato ({{incode|obj}}) in componenti separati. |
||
* Se {{incode|mark}} è {{incode|True}} [ |
* Se {{incode|mark}} è {{incode|True}} [https://en.wikipedia.org/wiki/Manifold non-manifold] i componenti diventano rossi. |
||
* {{incode|new_list}} è un elenco di tutti i singoli componenti che creano la mesh. |
* {{incode|new_list}} è un elenco di tutti i singoli componenti che creano la mesh. |
||
Line 45: | Line 63: | ||
}} |
}} |
||
{{Docnav/it|[[Arch_CloneComponent/it|Clona componente]]|[[Arch_MeshToShape/it|Da Mesh a Forma]]|[[Arch_Module/it|Arch]]|IconL=Arch_Component_Clone.svg |IconC=Workbench_Arch.svg |IconR=Arch_MeshToShape.svg}} |
|||
{{Docnav/it |
|||
⚫ | |||
|[[Arch_CloneComponent/it|Clona componente]] |
|||
|[[Arch_MeshToShape/it|Da Mesh a Forma]] |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_CloneComponent.svg |
|||
|IconR=Arch_MeshToShape.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
⚫ | |||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 10:21, 8 December 2023
Arch SplitMesh |
Menu location |
---|
Arch → Utilità → Dividi Mesh |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Seleziona mesh non solidi, Da mesh a solido |
Descrizione
Questo strumento suddivide un oggetto Mesh selezionato nei suoi singoli componenti
Utilizzo
- Selezionare un oggetto mesh.
- Premere il pulsante Dividi Mesh in Arch → Utilità → Dividi Mesh.
Script
Vedere anche: API di Arch e Nozioni di base sugli script di FreeCAD.
Lo strumento Dividi Mesh può essere utilizzato nelle macro e dalla console Python utilizzando la seguente funzione:
new_list = splitMesh(obj, mark=True)
- Divide l'oggetto mesh dato (
obj
) in componenti separati. - Se
mark
èTrue
non-manifold i componenti diventano rossi. new_list
è un elenco di tutti i singoli componenti che creano la mesh.
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"
new_list = Arch.splitMesh(mesh_obj)
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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub