/3dp-mcp-server:design-enclosurefrom 3dp-mcp-server
Designs 3D-printable enclosures for circuit boards (Raspberry Pi, Arduino, ESP32, PCB) with lid, standoffs, connector cutouts, and vent slots using the 3dp-mcp-server.
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.
You need the board's length, width, and tallest component height, the mounting hole positions and size, and where each connector sits (which edge, offset along it, width and height). Ask for measurements or a datasheet; do not guess connector positions.
Interior size = board size plus clearance:
create_enclosure(name, inner_width, inner_depth, inner_height,
wall=2.0, lid_type="snap", features=["vent_slots", "cable_hole"])
This creates two models, <name>_body and <name>_lid.
inner_width is X, inner_depth is Y, inner_height is Z. The body's floor is
at Z=0, its inside floor at Z=wall, and it is centred on X=0, Y=0.lid_type="snap" gives a friction-fit lid with an alignment ridge (0.2 mm
clearance); it holds by friction only. lid_type="screw" gives a flat lid with
four M2.5 clearance holes and adds the corner posts automatically."vent_slots" cut the back wall (+Y), "cable_hole" is a 6 mm hole in
the front wall (−Y), "screw_posts" adds four corner posts that reach the lid,
with pilot holes for self-tapping M2.5 screws (about 8 mm long for a 2 mm lid).Use 2 mm walls for small boxes and 2.5–3 mm above roughly 120 mm on a side.
Connector cutouts, standoffs, and mounting ears are added with ordinary modelling:
create_model, positioned in the body's coordinates and
longer than the wall is thick:
# USB-C opening in the right wall (+X) of a 60 x 40 interior with 2 mm walls
result = Pos(31, 5, 2 + 4 + 1.6) * Box(6, 9.5, 3.6)
combine_models("case_body_v2", "case_body", "usb_cut", "subtract").create_model, combine_models(..., "union"),
then create_threaded_hole at the top of each standoff. Use insert=True for
heat-set inserts when the lid will be opened often.Leave 0.3–0.5 mm around connectors; a tight cutout that looks fine in CAD will bind once printed.
render_preview on the body with ["iso", "iso_back", "top"] — confirm every
cutout goes through the wall and lines up with its connector.section_view through a standoff or cutout if you need to confirm depths.analyze_printability on body and lid.Print orientation: the body prints open side up as modelled. The lid is modelled outer face down with its ridge pointing up, which is also how it prints. Neither needs supports unless you added side cutouts wider than about 20 mm.
To check the fit, flip the lid and place it on the body, then intersect:
transform_model("lid_closed", "<name>_lid", [{"rotate": [180, 0, 0]}, {"translate": [0, 0, H]}])
where H is the body's bounding-box top plus the wall thickness, then
combine_models("fit", "<name>_body", "lid_closed", "intersect") should report a
volume of 0.
Export both parts (export_model on the final body and lid names), give the
interior and exterior dimensions, the screw or insert sizes needed, and suggest
printing the lid first as a quick fit test.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub brs077/3dp-mcp-server --plugin 3dp-mcp-server7 skills in this plugin
/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./print-prepGet a finished model ready for the slicer with the 3dp-mcp-server tools — choose print orientation, check supports and bed fit, split oversized parts, arrange several parts on one plate, split for multi-colour, estimate filament, cost and time, and export. Use when the user asks how to print a model, whether it will fit, how much filament it needs, or wants print-ready files./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