Arch SplitMesh/it: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 34: | Line 34: | ||
# Premere il pulsante {{Button|[[Image:Arch_SplitMesh.svg|16px]] [[Arch SplitMesh/it|Dividi Mesh]]}} in {{MenuCommand|Arch → Utilità → Dividi Mesh}}. |
# Premere il pulsante {{Button|[[Image:Arch_SplitMesh.svg|16px]] [[Arch SplitMesh/it|Dividi Mesh]]}} in {{MenuCommand|Arch → Utilità → Dividi Mesh}}. |
||
</div> |
</div> |
||
==Scripting== |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 40: | Line 42: | ||
</div> |
</div> |
||
<div class="mw-translate-fuzzy"> |
|||
Lo strumento Dividi Mesh può essere utilizzato nelle [[macros/it|macro]] e dalla console [[Python/it|Python]] utilizzando la seguente funzione: |
Lo strumento Dividi Mesh può essere utilizzato nelle [[macros/it|macro]] e dalla console [[Python/it|Python]] utilizzando la seguente funzione: |
||
</div> |
|||
{{Code|code= |
{{Code|code= |
||
Line 46: | Line 50: | ||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
|||
* 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}} [http://en.wikipedia.org/wiki/Manifold non-manifold] i componenti diventano rossi. |
* Se {{incode|mark}} è {{incode|True}} [http://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. |
||
</div> |
|||
Esempio: |
Esempio: |
||
Line 81: | Line 87: | ||
</div> |
</div> |
||
{{ |
{{Arch_Tools_navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Revision as of 16:52, 12 March 2022
Dividi mesh |
Posizione nel menu |
---|
Arch → Utilità → Dividi Mesh |
Ambiente |
Architetttura |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Seleziona mesh non solidi, Da Mesh a Forma |
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.
Scripting
Script
Vedere anche: Arch API 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