Import and export
Formats at a glance
| Format | Open or import | Export |
|---|---|---|
STEP (.step, .stp) |
File > Open (new part or assembly), File > Import (into a part) | STEP (exact solid), STEP (mesh) |
| STL | File > Import | STL mesh (ASCII), STL mesh (binary) |
| OBJ | File > Import, with the colors of its .mtl file |
OBJ mesh, with a .mtl file |
| 3MF | No | 3MF model |
glTF binary (.glb) |
No | glTF binary (GLB) |
Blender scene (.blend) |
No | Blender scene (.blend) |
| XML | No | XML summary |
| PNG, SVG | No | PNG image, SVG drawing |
| PDF, DXF | No | From a drawing sheet. DXF also from a sheet metal flat pattern. |
| CSV, VTK | No | Study results |
Open a STEP file
- Select File > Open.
- Select the STEP file (
.stepor.stp). - Wait while Meridian reads the file. The message "Reading (file). Click Cancel to stop." shows. To stop, click Cancel.
A STEP file with one product opens as a new part. A STEP file with more products opens as a new assembly with one part for each product. The new documents are not saved. Save them as Meridian files.
You can also drag a STEP file into the Meridian window. If no part is open for editing, the file opens as a new part or assembly. If a part is open for editing, Meridian imports the file into that part.
Import a file into a part
- Open the part.
- Select File > Import. The shortcut is Ctrl+I.
- Select an STL, OBJ or STEP file.
- If the file is a closed STL or OBJ mesh, Meridian asks for the type of the new body. Click Solid Body or Reference Body. Meridian keeps your answer as the default for the next import.
If no part is open for editing, Meridian makes a new part for the import. You can also drag STL and OBJ files into the window.
After the import, the status bar tells the result, for example "Meridian imported bracket.stl as a solid body."
Solid bodies and reference bodies
| Body type | Mass properties | Export |
|---|---|---|
| Solid body | Included | Included |
| Reference body | Not included | Included only with Include reference bodies |
- The closed bodies of a STEP file become solid bodies. Bodies that are not closed become reference bodies.
- A mesh that is not closed can only be a reference body. Meridian shows "The mesh is not closed. It is added as a reference body."
- To change the type later, right-click the imported body or its feature in the model browser and select Change Body Type. Only a closed mesh can be a solid body.
What you get from an import
- Meridian converts the faces to triangles. The result is a body with no feature history.
- STEP colors and body names stay. The colors of an OBJ file come from its
.mtlfile in the same folder. - If Meridian cannot read a part of the file, a message tells what it did not import. For example, faces on surfaces that Meridian cannot read, or solids that do not close.
Export a model
- Open the part or the assembly.
- Select File > Export. The shortcut is Ctrl+E. The Export panel opens.
- In Format, select the file type.
- For a mesh format, set the Mesh tolerance.
- Make sure that Folder and File name are correct. To select them in a file dialog, click Browse.
- Click Export.
The panel keeps the last mesh tolerance, and the last folder for each format.
The Export panel
| Field | What it does |
|---|---|
| Format | The file type. |
| Mesh tolerance | Chord: the largest distance from a curved face to its triangles, 0.001 to 1 mm. Angle: the largest angle of one segment on a curve, 1 to 22.5 degrees. A smaller value gives more triangles and a larger file. Only for the mesh formats. |
| Reference bodies | Include reference bodies adds the reference bodies to the file. It is off by default. |
| Image size | PNG and SVG only. The width and the height in pixels, 16 to 8192. |
| View | PNG and SVG only. The standard view of the image: Front, Back, Left, Right, Top, Bottom or Iso. |
| Background | PNG and SVG only. White (the default), Dark or Transparent. |
| Folder | The output folder. |
| File name | The name of the output file. |
Export formats
| Format | What it writes |
|---|---|
| STEP (exact solid) | STEP AP242. Planes, cylinders, cones, spheres and tori are exact surfaces. Other faces are flat facets. An assembly keeps its product structure and its colors. |
| STEP (mesh) | STEP AP242 made of triangles. |
| STL mesh (ASCII), STL mesh (binary) | Triangles only, with no colors. Use binary for smaller files. |
| OBJ mesh | Triangles and a .mtl file with the colors. |
| 3MF model | Triangles with the colors. |
| glTF binary (GLB) | One file in meters, with Y up and one node for each component. A part that has more instances is one mesh. |
| Blender scene (.blend) | A Blender file with the parts tree, meshes with UVs and the materials. Blender 3.6 or later must be installed. |
| XML summary | A text summary of the model. |
| PNG image, SVG drawing | A picture of the model. Meridian always uses the software renderer for these images. |
The mesh tolerance applies to STL, OBJ, 3MF, STEP (mesh) and the Blender scene.
STEP and the mesh formats do not keep the feature history, the parameters or the sketches.
The Blender scene
Meridian starts Blender in the background to write the file. It finds Blender in this order:
- The
MERIDIAN_BLENDERenvironment variable. blenderon thePATH.- The usual install folders.
If Meridian cannot find Blender, it shows "Meridian cannot find Blender. Install Blender 3.6 or later, or set MERIDIAN_BLENDER to the Blender program, then export again." If Blender does not finish in 15 minutes, the export stops. Export a smaller model or use a larger mesh tolerance.
Export drawings
In a drawing, use the commands on the Drawing tab, Output panel:
| Command | What it does |
|---|---|
| Export PDF | Saves the sheet as a PDF file. |
| Export DXF | Saves the sheet as a DXF file. |
| Opens the sheet as a PDF file to print it. |
Refer to Drawings.
Export a flat pattern
For a sheet metal body, select Export Flat Pattern on the Sheet Metal tab. Meridian writes the flat pattern to a DXF file. The default name is <part>-<body>-flat.dxf. The Export DXF button of the bend table does the same.
Export study results
To save the node results of a study, select Export Results on the Simulation tab. Select a CSV file, or a VTK file for ParaView. Refer to Structural simulation.
From the command line
| Task | Command |
|---|---|
| Export | meridian export <file> --format <format> [--out <path>] |
Import into a new part, into a part (--into), or make an assembly from STEP |
meridian import <file> |
Refer to Command line and Command line for all options.