/3dp-mcp-server:mechanical-partsfrom 3dp-mcp-server
Generates accurate 3D models of standard mechanical hardware — screw threads, fasteners, bearings, sprockets, flanges, and extrusions — for printing or design reference.
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.
These tools generate accurate models of standard hardware from the bd_warehouse library. They are used in two ways:
Each tool stores the model and exports STL and STEP, like create_model. Check the
result with render_preview and measure_model before building on it.
create_threadcreate_thread(name, thread_type="iso", major_diameter=10, pitch=1.5, length=20,
external=True, solid_body=True)
solid_body=True gives a printable piece: a threaded rod (external=True) or a
threaded sleeve with a 3 mm wall (external=False). Leave it false only when you
want the bare thread ridge to fuse onto your own part; that ridge is a set of loose
helix segments and is not printable alone.root_diameter_mm and apex_diameter_mm. For an internal
thread, cut a bore of the root diameter in your part and union the sleeve or ridge
into it with combine_models.thread_type | Give | Typical use |
|---|---|---|
"iso" | major_diameter, pitch | Metric bolts and nuts (M8 is 8 / 1.25, M10 is 10 / 1.5, M12 is 12 / 1.75) |
"acme" | size such as "3/8", "1/2" | Imperial lead screws, vises, clamps |
"metric_trapezoidal" | size such as "10x2", "8x1.5" | Metric lead screws |
"plastic_bottle" | size such as "L38SP400" | Bottle necks and caps; use manufacturing_compensation=0.2 |
Printing threads: M8 and larger print well at 0.2 mm layers; below M6 use
create_threaded_hole and a real screw or heat-set insert instead. A printed nut on
a printed bolt needs clearance: make the internal thread 0.3–0.4 mm larger in
major_diameter than the external one.
create_fastenercreate_fastener(name, fastener_class="socket_head_cap_screw", size="M3-0.5", length=10)
size is diameter-pitch: "M3-0.5", "M4-0.7", "M5-0.8", "M6-1", "M8-1.25".socket_head_cap_screw, hex_head_screw, button_head_screw,
counter_sunk_screw, pan_head_screw, set_screw, low_profile_screw, hex_nut,
hex_nut_with_flange, square_nut, domed_cap_nut, plain_washer,
chamfered_washer, heat_set_nut.fastener_type empty to get the usual metric standard for that class.simple=True (the default) leaves the thread off, which is right for fit checks
and for subtracting clearance shapes. Use simple=False only for a fastener you
intend to print.To make a pocket for a nut or screw head, position the fastener model with
transform_model, then combine_models(..., "subtract") it from your part. Add
clearance first by scaling the fastener slightly ({"scale": 1.05}) or the pocket
will be a press fit.
create_bearingcreate_bearing(name, bearing_class="deep_groove_ball", size="M8-22-7")
size is bore-OD-width in mm; "M8-22-7" is the common 608 bearing. Classes:
deep_groove_ball, capped_deep_groove_ball, angular_contact_ball,
cylindrical_roller, tapered_roller. Roller and angular-contact bearings start at
larger bores; an unavailable size returns the list of available ones.
Bearings are reference models, not printable parts. For a housing, model the pocket at the bearing's outer diameter plus about 0.1 mm for a press fit in PLA or PETG, and leave a shoulder so only the outer race is supported.
create_sprocketThe defaults are ANSI #40 chain. For other chains set both values:
| Chain | chain_pitch | roller_diameter |
|---|---|---|
| ANSI #25 | 6.35 | 3.30 |
| ANSI #35 | 9.525 | 5.08 |
| ANSI #40 | 12.7 | 7.9375 |
| ANSI #50 | 15.875 | 10.16 |
Add bore_diameter for the shaft and, if needed, num_mount_bolts,
mount_bolt_diameter and bolt_circle_diameter together. Print sprockets flat with
at least four perimeters; use clearance=0.2 so the chain seats.
create_flange, create_pipecreate_flange(name, flange_class, nps, flange_class_rating, face_type) makes ASME
B16.5 flanges: blind, slip_on, weld_neck, lapped, socket_weld. nps is the
nominal pipe size in inches as a string ("1/2", "2", "4"). Even small flanges
are large (a 2-inch class-150 flange is 150 mm across), so check bed fit.
create_pipe(name, outer_diameter, wall_thickness, length) makes a plain tube,
centred on the origin with its axis along Z. Use
transform_model(new_name, name, {"place_on_bed": true}) before printing.
create_openbuilds_partpart_type is "v_slot_rail" (with rail_size "20x20", "20x40", "20x60",
"20x80" or "40x40"), "c_beam_rail", or "lead_screw". These are reference
models of bought parts, for designing brackets, mounts and jigs that bolt onto them.
Run analyze_printability on anything you intend to print, then continue with the
print-prep skill. On threaded parts it reports a thin wall of a few tenths of a
millimetre at the thread crests; that is the thread profile itself and is expected. For joints between your own printed parts (clearances, hinges,
dovetails, threaded holes) see design-mating-parts.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 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./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.npx claudepluginhub brs077/3dp-mcp-server --plugin 3dp-mcp-serverOther plugins' skills for the same job