Import & Export

File formats, interoperability with LBNL THERM, and built-in examples.

Native Format (.therm.json)

ThermX uses a JSON-based native format with the .therm.json extension. It stores the complete project state: regions with vertices and materials, boundary conditions with edge references, layers, groups, results display settings, and sheet layouts.

💡 Tip

The native format is human-readable JSON. You can inspect or programmatically generate .therm.json files with any text editor or script.

THMX (LBNL THERM Format)

ThermX provides full read/write support for the THMX file format used by LBNL THERM. This allows you to open existing THERM models and save files compatible with THERM.

Import

Go to File → Import THMX to open a .thmx file. ThermX parses:

Export

Go to File → Export THMX to save. ThermX writes all spec attributes:

ℹ️ Compatibility

THMX files exported by ThermX can be opened in LBNL THERM 7.x and 8.x. Files from THERM can be imported into ThermX, including CMA (Component Modeling Approach) files for spacers and dividers.

DXF

Import

File → Import DXF reads AutoCAD DXF files and converts geometry entities (lines, polylines, closed polygons) into ThermX regions. Powered by the dxf-parser library.

Export

File → Export DXF produces an ASCII DXF file with organized layers:

DWG Import

File → Import DWG converts AutoCAD DWG files to DXF using dwg2dxf from LibreDWG, then parses the resulting DXF.

⚠️ Desktop Only

DWG import requires the Tauri desktop app. It uses a native shell command (dwg2dxf) which is not available in the browser version. Install LibreDWG:

PNG Export

File → Export PNG captures the current canvas view as a PNG screenshot, including geometry, materials, mesh, temperature map, isotherms, and legends — whatever is currently visible.

PDF Export

PDF export is available from the Sheets tab. See Sheet Views & PDF for details. PDFs include vector text and lines with high-DPI viewport renders.

Import as Group

File → Import Group lets you load another .therm.json file and insert its regions as a new group within the current project. Useful for assembling complex models from reusable components (e.g., importing a spacer detail into a window frame model).

Built-in Examples

ThermX ships with example files accessible from File → Open Example:

ExampleFormatDescription
Wall Section.therm.jsonMulti-layer wall with insulation
Window Frame.therm.jsonWindow frame cross-section
Steel Stud Wall.therm.jsonSteel stud with thermal bridge
Balcony Thermal Bridge.therm.jsonBalcony connection detail
Divider CMA.thmxCMA divider for glazing systems
Spacer CMA.thmxCMA spacer bar detail
Sample Head CMA.thmxWindow head section (CMA)
Sample Jamb CMA.thmxWindow jamb section (CMA)
Sample Sill CMA.thmxWindow sill section (CMA)

File Format Summary

FormatImportExportNotes
.therm.jsonNative format, full fidelity
.thmxLBNL THERM compatible
.dxfAutoCAD interchange
.dwgDesktop only (LibreDWG)
.pngCanvas screenshot
.pdfVia Sheets tab