Skip to content

armgit / SOMA

Public Imported from GitHub
0

Desktop app for designing parametric 3D models in CadQuery together with the coding agent of your choice

Doku: README mit Installationspaketen, Teststand Linux/macOS und uv in der Entwicklung

Kai-Jungsthoefeld7fb202ee6f6
diff --git a/README.md b/README.md
index a003008..24d93ac 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ Any CLI agent that can read files and run commands works: Claude Code, OpenCode,
- Send a selection, a measurement or a section to the agent with one click
- Draw on the 3D view, or drop in a photo of a hand sketch and draw on that, then hand the image to the agent
- `soma render` lets the agent look at its own work as images or contact sheets
-- Skills: optional rule sets per model (3D printing, CNC, sheet metal, tolerances, joints, FEM …), switched on always or on demand. Edit them or add your own in the settings
+- Skills: optional rule sets per model (3D printing, resin and powder printing, CNC, laser cutting, sheet metal, tolerances, joints, FEM …), switched on always or on demand. Edit them or add your own in the settings
- A short built-in guide with numbered screenshots (F1). The agent gets the same guide as a skill, so you can also just ask it how the app works
**Project**
@@ -94,18 +94,24 @@ add_part("Body", body, color=(0.25, 0.45, 0.75))
`soma build` runs the file and writes `output/model.step` with every part named, plus the data for the viewer. `param()` puts a value into the Parameters panel of the app.
+## Install
+
+Download the package for your system from the [releases](https://github.com/Kai-Jungsthoefel/SOMA/releases): an installer for Windows, an AppImage or tar.gz for Linux, a dmg for macOS (Apple Silicon). Python, CadQuery, Git and CalculiX are included. You only need a CLI agent.
+
+- The packages are not signed yet. On macOS, open the app the first time with right-click > Open
+- Linux needs glibc 2.31 or newer
+
## Status
Early prototype, version 0.6.1. See [CHANGELOG.md](CHANGELOG.md).
-- Developed and tested on Windows only
-- No installer yet. Python, CadQuery and Git are meant to ship with the app, for now you set them up yourself
+- Developed and tested on Windows. Linux and macOS pass the automated smoke tests, but have barely been tried on real machines
> **Note:** SOMA itself is vibe coded. Most of the code was written by coding agents (mainly Claude Code) under human direction and review. It has tests, but expect rough edges.
## Running from source
-Requirements: Windows, Node.js 22, Python 3.12 and [uv](https://github.com/astral-sh/uv).
+For development. The setup script is for Windows only. Requirements: Windows, Node.js 22, Python 3.12 and [uv](https://github.com/astral-sh/uv).
```
powershell -File python/scripts/setup_env.ps1
@@ -123,6 +129,8 @@ More in [app/README.md](app/README.md).
| `app/` | Electron app (TypeScript): terminal, viewer, project format, tests |
| `python/soma/` | Helper library and command line tool used by the agent |
| `design/` | UI drafts |
+| `docs/` | Images for this page, results of the first prototype |
+| `.github/workflows/` | Builds, tests and releases for Windows, Linux and macOS |
## License
diff --git a/app/README.md b/app/README.md
index d446a24..bec7af4 100644
--- a/app/README.md
+++ b/app/README.md
@@ -5,7 +5,7 @@ Electron-App (TypeScript) für 3D-Modelle mit einem Coding-Agenten im Terminal.
## Voraussetzungen
- Node.js 22 oder neuer, Python 3.12 mit CadQuery (Basisumgebung), `soma` darin installiert.
-- Entwicklung: `powershell -File ../python/scripts/setup_env.ps1` baut die Basisumgebung aus `python/requirements-base.txt` (mit pip, E67), installiert `soma` darin editierbar und holt CalculiX mit `python/scripts/fetch_ccx.py` nach `venv\ccx` (E84). Die App findet sie unter `%LOCALAPPDATA%\soma-dev\venv` oder über `SOMA_PYTHON`. Jedes Modell bekommt daneben eine kleine Projektumgebung unter `.soma/env` für Zusatzpakete (E67).
+- Entwicklung: `powershell -File ../python/scripts/setup_env.ps1` baut die Basisumgebung aus `python/requirements-base.txt` (mit uv, braucht uv und Python 3.12, E67), installiert `soma` darin editierbar und holt CalculiX mit `python/scripts/fetch_ccx.py` nach `venv\ccx` (E84). Die App findet sie unter `%LOCALAPPDATA%\soma-dev\venv` oder über `SOMA_PYTHON`. Jedes Modell bekommt daneben eine kleine Projektumgebung unter `.soma/env` für Zusatzpakete (E67).
- Hinter einem Proxy lädt Node den Electron-Download nur mit `NODE_USE_ENV_PROXY=1`:
`NODE_USE_ENV_PROXY=1 node node_modules/electron/install.js` (falls `npm install` das Binary nicht geholt hat).
@@ -83,4 +83,4 @@ SOMA_TEST_EXE="$LOCALAPPDATA/soma-dev/release/win-unpacked/SOMA.exe" node test/s
## Noch nicht enthalten
-Panel „Pakete“, weitere Bereiche der Einstellungen, Varianten und abgeleitete Werte im Parameter-Panel, Auto-Start des Agenten, `soma check`, Bündelung von Python und Installer, macOS und Linux (nur Windows getestet).
+Panel „Pakete“, weitere Bereiche der Einstellungen, Varianten und abgeleitete Werte im Parameter-Panel, Auto-Start des Agenten, `soma check`, Signatur der Installationspakete. Linux und macOS laufen nur in der CI-Smoke-Suite, auf echten Rechnern noch nicht ausprobiert.