Skip to content

Releases

OpenCAD v0.2.3

Choose a tag to compare

@isayahc isayahc released this 20 Aug 17:49
034820a

Agent compatibility

  • Adds native OpenCode skill discovery.
  • Documents direct OpenClaw workspace discovery and NemoClaw sandbox installation.
  • Makes the create-cad-files skill portable across Claude Code, Codex, OpenCode, OpenClaw, and NemoClaw.

Modelling and export improvements since PyPI 0.2.1

  • Adds fluent revolve, loft, sweep, and sketch-arc modelling operations.
  • Corrects non-XY sketch extrusion and duplicate topology edge identifiers.
  • Adds configurable headless turntable GIF and MP4 export plus animated examples.

Packages

The opencad, opencad-agent, and opencad-backend Python distributions advance from 0.2.1 to 0.2.3 with exact lockstep dependency pins. The pre-existing v0.2.2 tag was GitHub-only.

OpenCAD v0.2.2

Choose a tag to compare

@isayahc isayahc released this 05 Aug 19:41
380498b

Codex and Claude text-to-CAD

  • Adds the validated OpenCAD Codex plugin manifest.
  • Adds the Claude plugin manifest and marketplace metadata.
  • Installs with npx skills add caid-technologies/OpenCAD.
  • Generates validated STEP, STP, and STL files from natural-language requirements.
  • Includes the circular-base spray bottle example.

The public installer now discovers the create-cad-files skill directly from main.

OpenCAD v0.2.1

Choose a tag to compare

@isayahc isayahc released this 05 Aug 16:35
49c7785

Corrected license metadata.

The distributions declared MIT while the repository has been Apache-2.0 since its initial release. All manifests now declare Apache-2.0, and each package ships the LICENSE file.

This corrects misdescribed metadata; it is not a relicense, and no rights granted by the project have changed.

OpenCAD 0.2.0

Choose a tag to compare

@isayahc isayahc released this 01 Aug 22:29
a22388c

First tagged release of the split layout. Four distributions, versioned in lockstep:

Distribution Registry Contents
opencad PyPI kernel, solver, feature tree, fluent API, CLI
opencad-agent PyPI LLM agent on top of the core
opencad-backend PyPI FastAPI transport
opencad-viewport npm React + Three.js components

0.2.0 rather than 0.1.1 because the changelog already recorded 0.1.1 as shipped on 2026-04-24, and everything since is breaking.


Viewport split into a publishable npm package

apps/opencad_viewport was a Vite application — private: true, no entry
point, no types — so nothing in it could be consumed from npm. The components
are now a library:

  • packages/opencad-viewport — npm package opencad-viewport. Ships
    Viewport3D, FeatureTreePanel, SketchEditor, ChatPanel,
    CadFileToolbar, OpenCadApiClient, the feature-tree helpers, the mock
    fixtures, and all view-model types, with generated .d.ts and an ES build.
  • apps/opencad_viewport — reference app, still private, now just
    index.html + App.tsx + main.tsx consuming the library.

react, react-dom, three, @react-three/fiber, and @react-three/drei
are peer dependencies and stay external — bundling them causes
duplicate-instance failures (invalid hook calls, broken instanceof checks).
axios is external too, resolved from the dependency list.

The stylesheet is opt-in rather than a side effect of importing the entry:

import { Viewport3D } from "opencad-viewport";
import "opencad-viewport/styles.css";

Repository-level changes: a pnpm workspace at the root (the lockfile moved
from apps/opencad_viewport/pnpm-lock.yaml), the frontend Docker build now
takes the repository root as its context, and CI builds the library, builds
the app against it, and verifies the publishable tarball.

Release engineering

  • Pinned the cross-package dependencies. opencad-agent and opencad-backend
    previously published Requires-Dist: opencad with no version bound, so pip
    could pair a new agent with a core predating adopt_tree() and the
    opencad.kernel.* layout. They now pin the exact release version.
  • All four distributions version in lockstep: opencad, opencad-agent,
    opencad-backend, and the npm package opencad-viewport.

Core modules nested under opencad (breaking)

The opencad_ prefix restated the distribution name on every import, so the
three sibling packages became subpackages of opencad instead:

Before After
opencad_kernel opencad.kernel
opencad_solver opencad.solver
opencad_tree opencad.tree
from opencad_kernel.client import KernelClient   # before
from opencad.kernel.client import KernelClient   # after

from opencad import Part, Sketch is unchanged. The distribution now ships a
single top-level name, opencad, so it claims nothing generic in
site-packages.

opencad_agent and opencad_server are unchanged; they belong to separate
distributions where the prefix identifies the project.

Core split out of the backend (breaking)

The repository is now a uv workspace of three independently installable
distributions. The core no longer lives inside the backend application.

  • opencad (packages/opencad) — kernel, solver, feature tree, fluent API, and
    CLI. Depends on pydantic and numpy only.
  • opencad-agent (packages/opencad-agent) — the LLM agent. Depends on
    opencad; LiteLLM moved behind an [llm] extra.
  • opencad-backend (apps/backend) — FastAPI transport, importable as
    opencad_server. The only distribution that depends on a web framework.

Migration:

  • uvicorn api:app --app-dir apps/backend → uvicorn opencad_server.app:app
    (the api:app shim is gone).
  • uv sync --extra test --extra server → uv sync --all-packages --group test.
  • pip install opencad no longer installs FastAPI, httpx, python-dotenv, or the
    agent. Install opencad-agent[llm] or opencad-backend for those.
  • RuntimeContext.chat(message) → opencad_agent.run_chat(context, message),
    so the core no longer imports the agent.
  • RuntimeContext._sync_counters() is now the public sync_counters(), and
    adopt_tree() replaces the tree plus its ID counters and cursors.
  • CI runs a job per package with only that package's dependencies installed.

HTTP layer separation

  • All FastAPI routing moved out of the core packages; they no longer import
    FastAPI, Starlette, httpx, or python-dotenv.
  • Added opencad.kernel.client.KernelClient, a transport-agnostic protocol with
    an in-process LocalKernelClient. The HTTP implementation
    (opencad_server.http_kernel_client.HttpKernelClient) is wired in at the
    composition root, replacing the ad-hoc httpx calls that lived in
    opencad_agent.tools and the feature-tree API.
  • RuntimeContext, OpenCadAgentService, and ToolRuntime now take a
    kernel_client instead of kernel_call/kernel_topology_call callables.
  • Moved fastapi, httpx, python-dotenv, and uvicorn into the backend
    distribution; they are no longer dependencies of the core.
  • Added apps/backend/tests/test_core_boundary.py, which fails if any core
    module imports the web layer or a web/network library.