Mesh Import: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 26: Line 26:


<!--T:4-->
<!--T:4-->
The '''Mesh Import''' command imports geometry from a mesh file format into the active document. Several file formats are supported.
The '''Mesh Import''' command imports geometry from a mesh file format into the active document. Several file formats are supported. The command creates a non-parametric mesh object, a [[Mesh_Feature|Mesh Feature]], to hold the mesh data.


==Usage== <!--T:5-->
==Usage== <!--T:5-->
Line 45: Line 45:
==Properties==
==Properties==


See [[Mesh_Feature|Mesh Feature]].
* Todo.


==Scripting==
==Scripting==
Line 62: Line 62:
<!--T:10-->
<!--T:10-->
{{Docnav
{{Docnav
|
|[[Mesh_Import|Mesh Import]]
|[[Mesh_FromPartShape|Mesh FromPartShape]]
|[[Mesh_Export|Mesh Export]]
|[[Mesh_Workbench|Mesh]]
|[[Mesh_Workbench|Mesh]]
|IconL=Mesh_Import.svg
|IconL=
|IconR=Mesh_FromPartShape.svg
|IconR=Mesh_Export.svg
|IconC=Workbench_Mesh.svg
|IconC=Workbench_Mesh.svg
}}
}}

Revision as of 08:56, 30 June 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


Mesh Import

Menu location
Meshes → Import mesh...
Workbenches
Mesh
Default shortcut
None
Introduced in version
-
See also
Std Import, Std Open, Import Export

Description

The Mesh Import command imports geometry from a mesh file format into the active document. Several file formats are supported. The command creates a non-parametric mesh object, a Mesh Feature, to hold the mesh data.

Usage

  1. There are several ways to invoke the command:
    • Press the Mesh Import button.
    • Select the Meshes → Import mesh... option from the menu.
    • Select the Import mesh... option from the Tree view context menu or 3D view context menu. This option is only available if an existing mesh object has been selected. Note that the selected object is actually not used or modified by the command.
  2. Optionally select the correct file format in the dialog box.
  3. Select a file.
  4. Press the Open button.

Options

  • Press Esc or the Cancel button to abort the command.

Properties

See Mesh Feature.

Scripting

See also: FreeCAD Scripting Basics.

To import a mesh file use the insert method of the Mesh module.

import Mesh
Mesh.insert(u'D:/testfiles/cylinder.stl')