Skip to content

Version 0.22.0 - #196

Merged
mountainarcwelding merged 1 commit into
mainfrom
feat/resin-supports
Nov 17, 2026
Merged

mountainarcwelding merged 1 commit into
mainfrom
feat/resin-supports

Conversation

@mountainarcwelding

Copy link
Copy Markdown
Owner

Resin support generation with a chamfered raft, so a scraper can get under the base to take the part off the plate. Refs only.

campanion supports MODEL.stl -o OUT.stl writes a watertight multi-body STL: the part is lifted off the plate, a raft sits under it, and vertical pillar supports reach downward-facing overhangs. The raft's bottom outline is the footprint plus a user-set margin; the top is inset by thickness / tan(chamfer angle), with the angle measured from the plate, so the edge slopes inward going up. --raft-corner-relief cuts each corner back along both edges (0 keeps sharp corners).

Pillars are a foot, a straight shaft, and a tapered tip. Overhangs are faces whose angle from vertical is at or above --overhang-angle. --points FILE adds explicit x y or x y z contacts; --points-only uses only those points. --preview FILE.png writes a shaded 3/4 view. campanion resin --supports generates the same supports and slices them to .pm7m in one step (--supports-out writes the STL too).

Every support length and angle is required, from a flag or from --support-params FILE.json (flags override it). Nothing is assumed. --part-lift is the gap from the raft top to the lowest point of the part, and is a different flag from resin's --lift-height (the printer's peel move). Units are millimetres.

Not printer-tested and not physically tested. The geometry was checked by unit tests (chamfer inset, watertight solids, overhang coverage, missing-parameter errors, and a slice round-trip) and by previews, and has not been printed. CAMpanion is primarily command-line driven; this is a CLI feature and the GUI is a work in progress. There is no on-screen support editor yet.

Deferred: painted no-support zones, per-region settings, branching tree supports, scaffolding, and GUI editing of supports. Anti-aliasing is still not implemented. PR #182 (FFF plan) is untouched.

Add resin support generation with a chamfered raft and vertical pillar
supports. Every length and angle comes from a flag or a params file.
@mountainarcwelding
mountainarcwelding merged commit 145e948 into main Nov 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant