DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to move an existing CadQuery script into SOMA with SOMA

Open a CadQuery script in SOMA, let the agent extend it, and export it back as a script.

Short answer: Install SOMA and start it; then start your agent with the + above the terminal, then ask it to load your existing CadQuery script into a SOMA model; ask the agent to make the changes you need and check the result in the 3D view. All steps.

Credentials. The agent runs in a terminal on your machine with the login you set up, so review its commands and permission settings before letting it change files.

Who it is forA developer with an existing CadQuery script who wants agent help and a 3D viewer in one place.

The problemCadQuery scripts are hard to review and change visually, and extending them by hand is slow.

The outcomeA SOMA model built from your script, with agent-made changes, that can be exported back as a CadQuery script.

What you need first

  • Windows, Linux, or macOS (Apple Silicon) with a SOMA package downloaded from somacad.app/download or the releases page
  • A CLI agent such as Claude Code, OpenCode, Codex CLI or Gemini CLI, installed and logged in by you
  • About 1 GB of free disk space for the installed app

Steps

  1. Install SOMA and start it.
  2. Start your agent with the + above the terminal, then ask it to load your existing CadQuery script into a SOMA model.
  3. Ask the agent to make the changes you need and check the result in the 3D view.
  4. Export the model from the menu as a script for CQ-editor or VS Code.

Prompt for your agent

In the SOMA model folder for <model name>, import the CadQuery script at <script path> into the model, make the change <change description>, run `soma build`, and report whether the build succeeds. Verify that the exported script still produces the same part geometry.

Caveat. The README says the exported script includes compatibility code under Apache 2.0, so check the license terms before sharing the exported script.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Kai-Jungsthoefel/SOMA and "Move an existing CadQuery script into SOMA"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer