Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…G, extract arcs from strokes
render_preview spread each toolpath centreline into its V-groove using a single grey_dilation with one large conical structuring element, which dominated the preview runtime (~19s of it on the 300mm sample). Because dilating a cone by a cone gives a wider cone of the same slope, iterate a small (r=3px) conical kernel instead: a handful of passes rebuild the identical envelope for a fraction of the cost. Output matches the single big-kernel result to within ~0.07mm (sub-pixel) and the preview renders in about a tenth of the time. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Filled regions are now carved along a medial axis computed directly from the vector outline as the interior of the boundary's Voronoi diagram, replacing the raster-skeletonisation pass. This is robust where the raster skeletoniser failed: clean convex glyphs (a diamond) kept their full cross instead of collapsing to a dot, and tiny dots (a colon) are no longer lost. Fills no longer rasterise, so the Inkscape dependency and the --fill-pitch flag are gone; --medial-step controls the outline sampling density. The --png raster path (with --pitch) is retained as a skeletoniser fallback. Tests cover the diamond-stays-a-cross and tiny-dot-not-dropped cases via the new vector fill path. README and module docstring updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft: collecting the generator work in one place while we decide whether it belongs in this package, a separate one, or another repository.
Contents
rollingmill.tools,~/.rollingmill/tools.json) and--toolsupport in thetext,mazeandspiralemitters (text_to_gcodeis nowrollingmill.text)totem(4-axis turned shapes, donut as G02/G03 arcs),cuthole,vcarve(SVG medial-axis V-carving),pocket,relief3Dreliefandvcarveextras alongsidemaze; README sections for each generator*.binfirmware dumps and the manuals directory are gitignoredruff formatcommit over the generator files only (the NC linter and core modules are untouched)Test plan
pytest -qon Python 3.11: 214 passed, 1 skipped (maze tests need themazeextra)🤖 Generated with Claude Code