Arch SplitMesh: Difference between revisions

From FreeCAD Documentation
(API and scripting links)
Line 21: Line 21:


==Scripting== <!--T:6-->
==Scripting== <!--T:6-->
{{Emphasis|See also:}} [[Arch API]] and [[FreeCAD Scripting Basics]].


<!--T:7-->
<!--T:7-->
The Split Mesh tool can by used in [[macros]] and from the python console by using the following function:
The SplitMesh tool can be used in [[macros]] and from the [[Python]] console by using the following function:
</translate>
</translate>
{{Code|code=
{{Code|code=

Revision as of 22:00, 28 November 2018

Arch SplitMesh

Menu location
Arch → Utilities → Split Mesh
Workbenches
Arch
Default shortcut
None
Introduced in version
-
See also
Arch SelectNonSolidMeshes, Arch MeshToShape

Description

This tool splits a selected Mesh object into its separate components

How to use

  1. Select a mesh object.
  2. Press the Split Mesh entry in Arch → Utilities → Split Mesh.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

The SplitMesh tool can be used in macros and from the Python console by using the following function:

splitMesh (object,[mark])

splits the given mesh object into separated components.

If mark is False, nothing else is done. If True (default), non-manifold components will be painted in red.