/3dp-mcp-server:print-prepfrom 3dp-mcp-server
Prepares 3D models for printing using 3dp-mcp-server tools: orients parts, checks bed fit, splits oversized models, packs multiple parts, handles multi-colour, and estimates filament, cost, and time.
Ships in 3dp-mcp-server. 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.
set_printer() with no arguments shows the active profile and the presets
(bambu_x1c, bambu_a1_mini, prusa_mk4, ender3, …). Set a preset with
set_printer("prusa_mk4") or a custom bed with
set_printer(build_volume=[300, 300, 400]).
Then analyze_printability(name). It reports whether the part fits as oriented,
fits only if rotated, or does not fit at all, plus the measured minimum wall.
suggest_orientation(name) scores the six axis-aligned orientations; the lowest
score is best. Apply it with:
transform_model("part_oriented", "part", [{"rotate": [rx, ry, rz]}, {"place_on_bed": true}])
The score only knows about overhang area, bed contact, and height. Override it when:
After orienting, analyze_overhangs("part_oriented") lists what still needs
support. Angles are from vertical: 90° is a flat ceiling. Report the overhang
area so the user knows whether to enable supports in the slicer.
Use split_model(name, source_name, plane, keep="both"), cutting at a flat,
featureless region ({"axis": "X", "offset": 0}). Add alignment between the halves — a pair
of create_dovetail joints, or matching holes for pins made with
create_model and combine_models — so the pieces can be glued squarely. See the
design-mating-parts skill for clearances.
pack_models("plate", ["part_a", "part_b", "part_c"], padding=5) arranges them
and creates one combined model. Orient each part before packing. Check the
packed bounding box against the bed with analyze_printability("plate"); its
"separate solids" warning is expected for a plate.
split_model_by_color(name, source_name, assignments) cuts the model into one STL per
filament. Each directional entry takes a slab depth mm thick from that side of
the bounding box; "rest" must come last and takes what is left:
[{"faces": "top", "filament": 1, "color": "#FF0000", "depth": 0.8},
{"faces": "rest", "filament": 0, "color": "#FFFFFF"}]
A depth of 0.6–1.0 mm (3–5 layers) is enough for an opaque colour change. In Bambu
Studio the user imports all the STLs together as one object with multiple parts
and assigns a filament to each. For coloured lettering, cut the text with
add_text(..., emboss=False) first, model the letter fill separately, and export
the two bodies as separate files instead.
estimate_print(name, infill_percent, layer_height, material, cost_per_kg) gives
filament weight, length, cost, and time. Say plainly that it is a rough estimate
(no supports, fixed two-perimeter shell); the slicer's number is authoritative.
| Material | Density | Shrinkage | Notes |
|---|---|---|---|
| PLA | 1.24 g/cm³ | 0.3% | Default; easiest to print |
| PETG | 1.27 g/cm³ | 0.4% | Tougher and more heat-resistant than PLA |
| ABS | 1.04 g/cm³ | 0.7% | Needs an enclosure |
| ASA | 1.07 g/cm³ | 0.5% | UV-resistant alternative to ABS |
| TPU | 1.21 g/cm³ | 0.5% | Flexible: gaskets, grips |
| Nylon | 1.14 g/cm³ | 1.5% | Strong; high shrinkage |
For ABS, ASA or Nylon parts that must be dimensionally accurate, apply
shrinkage_compensation before exporting.
Export with export_model(name, "3mf") for Bambu Studio / OrcaSlicer /
PrusaSlicer, or "stl" for anything else. Tell the user: the file path, the
orientation it is exported in, whether supports are needed, and the suggested
layer height and infill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3d-printing, slicer-prep, model-orientation, bed-fit, multi-colour
npx claudepluginhub brs077/3dp-mcp-server --plugin 3dp-mcp-server7 skills in this plugin
/design-enclosureDesign a 3D-printable enclosure, case, or project box with a lid for a circuit board or other hardware using the 3dp-mcp-server tools. Use when the user asks for a case, box, housing, or enclosure for electronics such as a Raspberry Pi, Arduino, ESP32, sensor, or PCB./design-mating-partsDesign 3D-printed parts that fit together or move — snap-fits, hinges, dovetails, gears, threaded holes, heat-set inserts, and press or sliding fits — with the right clearances, using the 3dp-mcp-server tools. Use when the user asks for parts that join, clip, slide, rotate, screw together, or mesh./design-modelDesign a new 3D-printable part from a description using the 3dp-mcp-server tools — write build123d code, look at the result, check printability, and iterate before exporting. Use when the user asks to model, design, or CAD a part, bracket, mount, holder, adapter, or any custom object for FDM printing./mechanical-partsCreate standard mechanical hardware with the 3dp-mcp-server tools — real screw threads, screws, nuts, washers, heat-set inserts, bearings, chain sprockets, pipe flanges, pipes, and OpenBuilds rails and lead screws. Use when the user needs a threaded part, a printable nut or bolt, a model of a fastener or bearing to design around, or a sprocket, flange or extrusion./modify-modelImport and modify an existing STL, 3MF, or STEP file with the 3dp-mcp-server tools — resize, cut, hollow, add holes or text, combine with new geometry, or convert formats. Use when the user has a model file, a downloaded design, or wants to find one online and change it./publish-modelPublish a finished model from the 3dp-mcp-server session to GitHub Releases, Thingiverse, MyMiniFactory, or Cults3D, with a preview image and drawing. Use when the user asks to share, release, upload, or publish a model.Other plugins' skills for the same job