Skip to content

Code2Form 0.6.0

Choose a tag to compare

@enzotripoli enzotripoli released this 27 Oct 15:51
34eb2fc

Manual modelling is here: select, move, turn and scale objects with the mouse, put down shapes, and draw sketches to extrude, each gesture written into the code. It was announced for 0.4.0 but missing from both 0.4.0 and 0.5.0; this release brings it.

What's new

  • Manual modelling (#41, from #26, #27, #28): select objects in the view and drag their handles to move, turn and scale them; put down shapes and holes, combine them, round their edges, and draw constrained sketches to extrude or revolve, on a plane picked in the view. Every gesture is one edit of the code, and one undo step.
  • Handles on real designs (#41): objects inside a part("…") take the handles, and a move keeps a position the code computes: translate([0, 0, base_h]) moved up by 5 becomes translate([0, 0, base_h + 5]), still following the parameter. When a handle cannot act (a turn of a computed placement, an object copied by a loop), the reason shows at the pointer.

Known limitations

  • A turn or a scale needs the object's placement written as numbers: on a computed placement, only the move handles work.
  • The API engine of the agent was tested against a simulated API; Claude Code was tested for real.
  • projection() without cut keeps holes open where the reference implementation fills them, which changes the volume of some models (0.3% on the GEB example).
  • Part annotations are plain numbers: a part's pins do not follow its parameters.
  • Masses and some dimensions of the library's parts are estimated where no source gives them; each file says which.
  • A part in your own library (~/Documents/Code2Form/libraries) is found before the app's part of the same name.

Downloads

File For
Code2Form-0.6.0-macos-universal.zip The app, for every Mac (Apple silicon and Intel), macOS 11 or later
c2f-0.6.0-macos-universal.zip The command line and MCP server, same platforms
SHA256SUMS.txt Checksums of both

The app is not notarized by Apple yet. On first launch, macOS blocks it: open it once, then go to System Settings → Privacy & Security and click Open Anyway. Or run, once:

xattr -dr com.apple.quarantine /Applications/Code2Form.app

The agent needs Claude Code 2.1.300 or later, signed in, or an Anthropic API key (Settings › Agent).

Windows and Linux: build from source with Rust 1.85 or later (cargo build --release); see the README.