Skip to content

cadloop 0.3.0

Latest

Choose a tag to compare

@richardofortune richardofortune released this 04 Aug 10:27

The package no longer carries one project's model checks. render can keep a picture instead of only handing it back.

Changed — affects callers written against 0.2.0

  • cadloop-verify has been removed. It ran the spirograph example's own checks, and the gear half ran off constants compiled into the package — so on an install with no model on disk it printed 14/14 parts mesh cleanly about parts the caller did not have. Those checks now live in the repository beside the model they describe:
    git clone https://github.com/richardofortune/cadloop && cd cadloop
    pip install -e ".[verify]"
    python models/verify_spirograph.py
    
    The command still exists in this release as a stub that explains the move and exits 2, so a Makefile or CI step calling it stops rather than appearing to pass. The stub goes away in 0.4.0.
  • cadloop no longer pulls in shapely. pip install cadloop now installs mcp and nothing else. The verify extra remains, for the worked example.

Added

  • render writes images. A .png output is kept in the workspace rather than returned, taking the same camera, imgsize, projection, colorscheme and full_render options preview has. Use preview to look at a model, render when the image is the artefact. Since render already accepted source as text, the older half of a before-and-after is git show <rev>:model.scad piped in — no checkout, no temp file.

Fixed

  • docs/known-issues.md described the Creality Print CLI crash as specific to macOS and 7.1.1. It is neither — it reproduces on 7.2.0 under Windows 11, and does not depend on 3MF input the way the upstream issue title suggests.

Full changelog: https://github.com/richardofortune/cadloop/blob/main/CHANGELOG.md