Desktop app for designing parametric 3D models in CadQuery together with the coding agent of your choice
TypeScript 3d-modeling3d-printing3d-printing-toolsagentagentic-aiai-cadcadcadqueryclaude-codecodexelectronfemllmmacdmakeropencodeparametric-designpythonsteptext-to-cad
Doku: Changelog und Struktur zu Netzdateien im Viewer und STEP ohne Baugruppe
Kai-Jungsthoefel67bb5a20dc41
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 4ea2641..8edc32d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,7 @@ the version is bumped.### Added+- Click an STL, 3MF, AMF or OBJ file in the file tree to look at it in the viewer, like STEP files, for example to check an export. Units in 3MF and AMF are converted to millimeters, sharp edges and open borders are drawn as lines. Section and Explode work, measuring does not, since a mesh has no CAD geometry.- Mesh settings in the Export menu for STL, 3MF, AMF, OBJ, GLB and GLTF: units (mm or m), the axis pointing up (Z or Y) and the mesh density (coarse, normal, fine), for example for game engines. `soma export` takes them as `--units`, `--up`, `--detail` and `--tolerance`.- Warnings from a mesh export (a mesh that is not closed) now show up in the app's message after the export, not only on the command line.@@ -20,6 +21,7 @@ the version is bumped.### Fixed+- Some STEP files could not be shown in the viewer ("Step file does not contain an assembly"), for example a single body like a logo from another CAD program. They now open with one part per body, keeping names and colors where the file has them. `import_assembly()` reads such files too, and `import_step()` no longer drops all bodies but the first when a file has several side by side.- Saving could crash with "A JavaScript error occurred in the main process: file data stream has unexpected number of bytes" when a file of the model changed while it was being packed, for example by a build or the agent. No build starts while the model is being saved or exported, a file that changes anyway is packed a second time, and if it keeps changing, saving reports it instead of crashing.## [0.10.2] - 2026-10-24diff --git a/CLAUDE.md b/CLAUDE.mdindex d28dfec..553b6bb 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -28,8 +28,8 @@ Details in `app/README.md`.- `electron-builder.config.cjs` installation packages, `build-resources/` large icon for them. CI for all three systems in `.github/workflows/dist.yml`, checks for pull requests and pushes in `checks.yml`.**`python/soma/`** helper library and CLI-- API: `add_part` (with `group=`, `role=`), `param` (`params.py`, E74), `import_step`, `import_assembly`, standard parts in `fasteners.py` (dimension tables from bd_warehouse in `data/fasteners/`). Plain CadQuery scripts (E100): compatibility mode for `show_object`, `ocp_vscode` and `result` in `cqcompat.py`.-- Mesh exports (3MF, AMF, STL, OBJ, GLB, GLTF): `meshexport.py`, one closed mesh per body with shared vertices (slicers need it), options for units, up axis and detail (game engines, glTF defaults to m and Y up).+- API: `add_part` (with `group=`, `role=`), `param` (`params.py`, E74), `import_step`, `import_assembly` (STEP files without an assembly via `stepimport.py`), standard parts in `fasteners.py` (dimension tables from bd_warehouse in `data/fasteners/`). Plain CadQuery scripts (E100): compatibility mode for `show_object`, `ocp_vscode` and `result` in `cqcompat.py`.+- Mesh exports (3MF, AMF, STL, OBJ, GLB, GLTF): `meshexport.py`, one closed mesh per body with shared vertices (slicers need it), options for units, up axis and detail (game engines, glTF defaults to m and Y up). Mesh files from the project in the viewer: `meshview.py` (readers for STL, 3MF, AMF, OBJ, via `soma glb`).- CadQuery in and out (E100): `soma cadquery export|import` (`cqexport.py`), the block in exported scripts comes from `cqruntime.py`. `cqruntime.py` and `fasteners.py` are also under Apache 2.0 (E101), they must run without soma.- CLI: `soma build`, `export`, `glb`, `serve` (measuring service, `measure.py`), `anim` (`anim.py`, `animrun.py`), `analyze` (`analysis.py`, FEM in `fem.py`, CalculiX via `ccx.py`, E84), `drawing` (`drawing.py`, `drawrun.py`, E76), `dxfview` (E80), `render` (only via the app), `env` (`env.py`, `.soma/env` and `requirements.txt`, E67).- `python/scripts/`: `setup_env.ps1` (development environment from `python/requirements-base.txt`), `fetch_ccx.py` (CalculiX), `build_runtime.py` (standalone base environment for the installation packages).