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 Export-Optionen und Installer
Kai-Jungsthoefel1693bd2bba45
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3acaa84..4ea2641 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,18 @@ the version is bumped.## [Unreleased]+### Added++- 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.++### Changed++- GLB and GLTF exports are now in meters with Y up, as the glTF format defines it. Before, a part of 100 mm arrived 100 m tall in Blender or a game engine. Each part is one mesh instead of one per CAD face, and the mesh density follows the part size like the other mesh formats instead of a fixed, very fine one.++- The Windows installer is about twice as fast: it unpacks straight into the installation folder instead of extracting to a temporary folder first and copying from there. The installer download is larger in exchange (about 620 instead of 470 MB).+- When a mesh export (3MF, AMF, STL, OBJ) warns that faces could not be meshed, it now names each face with its type, area and location, and marks tiny ones as a probable sliver, for example where two rounds meet.+### Fixed- 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.diff --git a/CLAUDE.md b/CLAUDE.mdindex 6dc2a32..d28dfec 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -29,7 +29,7 @@ Details in `app/README.md`.**`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): `meshexport.py`, one closed mesh per body with shared vertices (slicers need it).+- 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).- 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).