File formats
Meridian document files
| Extension | Document |
|---|---|
.mpart |
Part |
.massy |
Assembly |
.mdraw |
Drawing |
Each file is UTF-8 JSON.
- A part keeps its parameters, features, sketches, properties, rules, material, appearance and simulation studies.
- An assembly keeps its components, mates, appearances and simulation studies. A component usually refers to a part file.
- A drawing keeps its sheets, views and annotations, and the path of its part or assembly.
- Simulation results are not saved in the file. Run the study again to get the results.
Meridian saves a file safely: it writes a temporary file first and then replaces the old file.
Format versions
The current format version is 5. Meridian reads format version 2 and all later versions.
| Version | First release | What it added |
|---|---|---|
| 2 | 2.0.41-alpha | The first JSON format. The compatibility guarantee starts here. |
| 3 | 2.0.42-alpha | Ordinate dimensions and hole tables in drawings (.mdraw). |
| 4 | 2.4.0-beta | Sheet metal features (base flange, edge flange, unfold, refold) and rotors in flow studies. |
| 5 | 2.4.4-beta | Points projected from other sketches, the gear feature and the gear mate. |
The compatibility guarantee
A .mpart, .massy or .mdraw file that Meridian 2.0.41-alpha or a later release writes opens in each later release. You do not need to convert these files.
- A file of version 2, 3 or 4 opens directly, with no message.
- The file on the disk does not change until you save it. A save writes the current version.
To change a file to the current version without Meridian Studio, use meridian convert. It writes the file only with --in-place or --out. Refer to Command line.
Old version 1 files
Meridian 1.x wrote XML files (format version 1).
- Version 1 parts and assemblies are converted when you open them. The file on the disk does not change until you save. Meridian asks before it saves.
- Version 1 drawings (
.mdraw), presentations (.mpres) and feature libraries (.mfeat) open read-only. Meridian shows their properties and a summary. It cannot save them.
Files from a newer version of Meridian
Meridian never replaces a file that a newer version wrote with a file that has less data.
If the file has only data that this version can read:
- The file opens. Meridian shows the banner "A newer version of Meridian wrote (file name). Some data can be missing. Update Meridian to edit this file."
- Save goes to Save As. Save the file with a new name, or update Meridian.
If the file has data that this version cannot read:
- The file does not open. Meridian shows "'(file name)' has format version N: a newer version of Meridian wrote it and it has data that this version cannot read. Update Meridian to open it."
- The file is not damaged. Update Meridian to open it. Refer to Updates.
Components that do not load
If a component file of an assembly is missing, damaged, or from a newer version, the assembly still opens. The component stays in the assembly with its path, position and state. When you save the assembly, Meridian keeps the component.
Meridian shows a warning banner with one line for each component that did not load. The banner shows 5 lines at most. The tooltip of the component in the model browser gives the cause.
Exchange formats
These formats are for exchange with other programs. The compatibility guarantee does not apply to them. Refer to Import and export for the details.
| Format | Import | Export |
|---|---|---|
STEP (.step, .stp) |
Yes | Yes, AP242: exact solid or mesh |
| STL | Yes | Yes, ASCII or binary |
| OBJ | Yes | Yes, with a .mtl file for the colors |
| 3MF | No | Yes |
glTF binary (.glb) |
No | Yes |
Blender scene (.blend) |
No | Yes. Blender 3.6 or later must be installed. |
| XML summary | No | Yes |
| PNG, SVG image | No | Yes |
| PDF, DXF | No | Yes, from a drawing sheet, and DXF from a flat pattern |
Simulation result files
You can export study results as CSV, or as VTK for ParaView. You can save a study report as HTML or Markdown. Refer to Structural simulation.