Mesh Import: Difference between revisions
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
<!--T:6--> |
<!--T:6--> |
||
The '''Mesh Import''' supports: bms, stl, ast, iv, nas, bdf, obj, smf, off and ply files. |
The '''Mesh Import''' supports: bms, stl, ast, iv, nas, bdf, obj, smf, off and ply files. |
||
For NASTRAN nas/bdf file, |
For NASTRAN nas/bdf file, only GRID, CTRIA3 and CQUAD4 cards are supported. In each data line, a space must exist between two variables. |
||
==Usage== <!--T:7--> |
==Usage== <!--T:7--> |
Revision as of 05:39, 22 September 2021
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.
Supported file types
The Mesh Import supports: bms, stl, ast, iv, nas, bdf, obj, smf, off and ply files. For NASTRAN nas/bdf file, only GRID, CTRIA3 and CQUAD4 cards are supported. In each data line, a space must exist between two variables.
Usage
- 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.
- Optionally select the correct file format in the dialog box.
- Select a file.
- 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')
Mesh
- Miscellaneous: Import mesh, Export mesh, Create mesh from shape, Regular solid, Unwrap Mesh, Unwrap Face
- Modifying: Harmonize normals, Flip normals, Fill holes, Close hole, Add triangle, Remove components, Remove components by hand, Smooth, Refinement, Decimation, Scale
- Boolean: Union, Intersection, Difference
- Cutting: Cut mesh, Trim mesh, Trim mesh with a plane, Create section from mesh and plane, Cross-sections
- Components and segments: Merge, Split by components, Create mesh segments, Create mesh segments from best-fit surfaces
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub