Export 3D model (OBJ / STL / GSM)
export_3d_modelExport 3D geometry from Archicad to OBJ, STL, or GSM, choosing the 3D window, all elements, or a selection for printing, analysis, or GDL reuse.
Instructions
Exports 3D geometry: .obj (Wavefront, with a .mtl of surface colors/transparency next to it), .stl (binary by default, triangulated, for 3D printing / analysis) or .gsm (Archicad GDL object of the 3D window via Save as Object). Source: what the 3D window shows (default — set it up first with the views tools, e.g. show selected elements in 3D, 3D cutaway), every 3D element of the project (source 'AllElements'), explicit 'elements', or the current selection. Coordinates are project coordinates; OBJ defaults to Y-up (Blender/ three.js), STL to Z-up; units m by default. Returns {file, materialFile?, bodyCount, elementCount, vertexCount, faceCount|triangleCount, boundingBox (m, Z-up)}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute output path ending in .obj, .stl or .gsm, e.g. /private/tmp/claude-connector-tests/model.obj | |
| units | No | File units (default m) | |
| binary | No | stl: binary (default true) or ASCII | |
| format | No | Output format (default: from the extension) | |
| source | No | Without elements/useSelection: '3DWindow' (default: what the 3D window currently shows) or 'AllElements' (every 3D element on every story) | |
| upAxis | No | Up axis in the file (default Y for obj, Z for stl) | |
| gdlMode | No | gsm: binary 3D data (default) or editable GDL text | |
| elements | No | Export only these 3D elements (curtain walls/stairs/railings include their parts) | |
| materials | No | obj: write the .mtl material file (default true) | |
| overwrite | No | Replace an existing file (default false: existing files are an error) | |
| placeable | No | gsm: make the object placeable (default true) | |
| useSelection | No | Export the currently selected elements | |
| createFolders | No | Create missing parent folders (default false) | |
| restoreWindow | No | Bring back the window that was in front before the export (default true) | |
| includeInvisible | No | Also export polygons Archicad marks invisible (default false) | |
| includeSubelements | No | With elements: include curtain wall / stair / railing / segmented beam-column parts (default true) |