Arch MeshToShape: Difference between revisions

From FreeCAD Documentation
(adding <translate>)
(Marked this version for translation)
Line 1: Line 1:
<translate>
<translate>
<!--T:1-->
{{GuiCommand|Name=Arch MeshToShape|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Conversion Tools -> Mesh to Shape|SeeAlso=[[Arch RemoveShape]]}}
{{GuiCommand|Name=Arch MeshToShape|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Conversion Tools -> Mesh to Shape|SeeAlso=[[Arch RemoveShape]]}}


==Description==
==Description== <!--T:2-->


<!--T:3-->
This tool converts a selected [[Mesh Module|Mesh]] object into a [[Part Module|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.
This tool converts a selected [[Mesh Module|Mesh]] object into a [[Part Module|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==
==How to use== <!--T:4-->


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


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


<!--T:7-->
This tool can by used in [[macros]] and from the python console by using the following function:
This tool can by used in [[macros]] and from the python console by using the following function:
</translate>
</translate>
Line 19: Line 23:
</syntaxhighlight>
</syntaxhighlight>
<translate>
<translate>
<!--T:8-->
turns a mesh into a shape, joining coplanar facets.
turns a mesh into a shape, joining coplanar facets.


<!--T:9-->
If mark is True (default), non-solid objects will be marked in red
If mark is True (default), non-solid objects will be marked in red
</translate>
</translate>

Revision as of 13:38, 29 November 2013

Arch MeshToShape

Menu location
Arch -> Conversion Tools -> 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 -> Conversion Tools menu

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