/resin-print-prep:decimate-for-printfrom resin-print-prep
Reduce a dense mesh (or a whole folder of STLs) to exactly the detail a resin printer can express, using error-bounded selective decimation in Blender via the Blender MCP - protects thin features, verifies against the original surface, then exports. Use whenever a slicer (Chitubox/Lychee) is slow or choking on a huge STL, a mesh has "too many polygons/faces", files are tens of MB, or the user wants meshes "reduced", "simplified", "optimized", or "decimated" for printing - and for batch-processing minis folders. Assumes mesh is otherwise sound; for broken meshes run prep-mini first.
Ships in resin-print-prep. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guessed decimate ratios either waste faces or destroy detail. This skill derives an error budget from printer physics and finds the deepest reduction that stays inside it, with measurement - not hope - as the gate.
Script: ${CLAUDE_PLUGIN_ROOT}/scripts/decimate_pipeline.py (read its
docstring; it documents usage modes). Requires Blender with the Blender
MCP (interactive execute_blender_code or headless
execute_blender_code_for_cli with any small host .blend).
Two calling modes -- this matters: run(path, log) loads the STL into a
FRESH EMPTY scene (headless/batch; destroys any open scene), while
run(path, log, obj=some_object) operates on an object already in the
open scene, with path naming only the export destination. Interactive
sessions must use obj=.
run() so log dumps to
a sidecar JSON in finally: and poll for the file; (b) interactive
sessions can instead stash log in a module global and poll it with a
tiny execute_blender_code call -- the addon queues it behind the
running operation, and this works even when your file tools cannot see
Blender's filesystem. Never re-launch while a previous run may still be
writing the same STL.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hughescr/claude-code-config --plugin resin-print-prep4 skills in this plugin
/chitubox-support-injectionWrite native, EDITABLE supports (and raft bridges) directly into CHITUBOX project files (.chitubox) by injecting reverse-engineered support records - so externally generated supports behave exactly like Chitubox's own (selectable, movable, deletable, overlap rules respected). Use whenever the user wants to add/import supports into Chitubox from outside, edit .chitubox files programmatically, understand the .chitubox format, or wire a support generator into a Chitubox workflow. Also use when a new Chitubox version needs the format re-verified./prep-miniFull workflow to take a problematic 3D mesh (STL/OBJ/blend) and make it resin-printable in Blender via the Blender MCP - inspect, orient, union shells, repair geometry, scale to tabletop size, error-bounded decimate, and export STL. Use this whenever the user wants to "prep", "fix", "clean up", or "make printable" a mini/model, mentions non-manifold errors, slicer problems, wrong orientation/scale, multi-shell kitbashes, or asks to get a mesh ready for Chitubox/Lychee - even if they only mention one symptom, the full sweep catches the rest./support-placementDRAFT (design phase): compute resin-print supports algorithmically - engineered sizing from cured-resin mechanics instead of fixed palettes, scar-cost-aware placement, articulated/braced routing - emitting natively editable Chitubox supports via the chitubox-support-injection skill. Use when generating supports outside a slicer, when designing/iterating this generator, or when reasoning about support mechanics (peel loads, green-state resin, slenderness/bracing).