Mesh Import

From FreeCAD Documentation
Revision as of 08:25, 20 July 2020 by Roy 043 (talk | contribs) (Removed the 'Options' paragraph.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎magyar • ‎română • ‎русский

Mesh Import.svg 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.

Usage

  1. There are several ways to invoke the command:
    • Press the Mesh Import.svg Mesh Import button.
    • Select the Meshes → Mesh Import.svg Import mesh... option from the menu.
    • Select the Mesh Import.svg 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.

Preferences

  • The last used file location is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath.

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('D:/testfiles/cylinder.stl')