Arch MeshToShape: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Vertical GuiCommand; {{Button}} instead of {{KEY}} template; full stops)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=Arch MeshToShape|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch → Utilities → Mesh to Shape|SeeAlso=[[Arch RemoveShape]]}}
|Name=Arch MeshToShape
|MenuLocation=Arch → Utilities → Mesh to Shape
|Workbenches=[[Arch Module|Arch]]
|SeeAlso=[[Arch RemoveShape]]
}}


==Description== <!--T:2-->
==Description== <!--T:2-->
Line 12: Line 17:


<!--T:5-->
<!--T:5-->
# Select a mesh object
# Select a mesh object.
# Press the {{KEY|[[Image:Arch MeshToShape.png|16px]] '''Mesh to Shape'''}} entry in Arch → Utilities menu
# Press the {{Button|[[Image:Arch MeshToShape.svg|16px]] [[Arch MeshToShape|Mesh to Shape]]}} entry in {{MenuCommand|Arch → Utilities Mesh to Shape}}.


==Scripting== <!--T:6-->
==Scripting== <!--T:6-->

Revision as of 16:23, 28 November 2018

Arch MeshToShape

Menu location
Arch → Utilities → Mesh to Shape
Workbenches
Arch
Default shortcut
None
Introduced in version
-
See also
Arch RemoveShape

Description

This tool converts a selected Mesh object into a Shape object. Note that this tool is optimized for objects with flat faces (no curves). The corresponding tool from the Part Workbench might be more suited for objects that contain curved surfaces.

How to use

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

Scripting

This tool can by used in macros and from the python console by using the following function:

meshToShape (object,[mark])

turns a mesh into a shape, joining coplanar facets.

If mark is True (default), non-solid objects will be marked in red