3D-Printed Robot Part Design for build123d CAD

    by Nate Freed

    1

    Rules, templates and checking scripts for designing 3D-printed robot and mechanism parts in build123d. The parts print without support and fit the screws you actually own.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    3D-Printed Robot Part Design for build123d CAD

    Example session with this skill installed

    I'm building a small 4-wheel rover with build123d. Design the printed mount that holds one N20-style gearmotor (gearbox + motor 12 x 10 x 34 mm, 3 mm D shaft about 10 mm long) UNDER my 4 mm printed deck, shaft pointing sideways out to the wheel. I need four of them. Only M3 hardware (I have an M3 assortment box: 6/8/10/12/16/20 socket heads, nuts, and a bag of 20 M3 heat-set inserts). PETG. My printer's bed is 250 x 210 x 220 mm.

    • Read your context and instructions
    • Compiled the 3d-printed robot part

    Read-back: motor 12x10x34 [A], shaft 3x10 [A], DECK_T 4 [CAD], pods at +-70,+-70 [A] (asked for the deck file), bed 250x210x220, M3 only.
    Built drive_mount.py from the template. The first build stopped with 'nut pocket to edge: wall 1.59 mm < 2.0 mm rule', so the flange went from 10 to 12 mm (logged in DECISIONS.md).

    | Part | Qty | Mat | print_rot | On bed | Hang | ~g |
    | motor_mount | 4 | PETG | (180,0,0) deck face down; insert holes and nut pockets open up | 54x16x14 | 0.00 cm2 | 4.3 |
    | motor_strap | 4 | PETG | (0,0,0) flat | 30x16x3 | 0.00 cm2 | 0.9 |

    Fasteners (all from the kit): 8x M3x8 strap screws into heat-set inserts (allowed 6.3-9.3 mm, 4.7 mm engaged), 8x M3x10 deck bolts into nut pockets (allowed 10-13 mm), 8 nuts, 8 inserts. Left: 12 inserts, 92 nuts.
    Checks: lint_module PASS (0 fail, 0 warn); fastener_budget PASS.
    Files: drive_mount.py, iface.py, kit.json, DECISIONS.md, out/parts/01_motor_mount_PETG.stl, out/parts/02_motor_strap_PETG.stl, out/drive_mount_installed.step.
    Still to confirm: caliper the motor; the deck needs two M3 holes 42.4 mm apart per pod; the 10 mm shaft is under the 11 mm engagement that held on earlier builds (print a hub coupon or use a bought hub); count the kit; print the M3 coupon if your printer differs.

    so the flange went from 10 to 12 mm (logged in DECISIONS.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A design playbook and toolkit for the printed parts of a robot or mechanism modelled in build123d. It sets up one interface file for shared dimensions, with evidence labels on each number. It adds envelopes for every bought part and a one-file-per-subsystem module contract (PARTS, BOUGHT, FASTENERS, ALLOW, REPORT) that checks and exports can rely on. The rules come from two rover builds: PETG by default; PETG-CF only where stiffness matters and never on rubbing parts; never PLA; no support. Teardrop horizontal holes and 45-degree nut-pocket roofs are generated from each part's print rotation. Print poses are chosen for strength, and loaded features get 2 mm walls. It includes a fit table for M3 to M5 screws, nuts, heat-set inserts, 8 mm rods and linear bearings. The M3 values were measured on PETG with a 0.4 mm nozzle; confirm them with the included 10-minute coupon. A linter fails PLA, CF bushings, parts that miss the bed or need support, and contract breaks. A fastener budget counts screws against your real kit and flags lengths that are too short or too long for the stack.

    Fit numbers were measured on one printer (PETG/PETG-CF, 0.4 mm nozzle, 0.2 mm layers). M4 values and M5 pocket sizes are extrapolated and labelled [A]; confirm all of them with the coupon on your printer. No strength or FEA, no clash checks across modules, no plate layout or slicing (companion skills cover checks and handoff). The overhang check is a tessellation estimate and counts short bridges toward the 0.5 cm2 budget. lint_module.py and fastener_budget.py import your module files, so they run your code. Tested with build123d 0.12 on Python 3.10.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    Software
    Python 3.10+build123d (in a virtualenv)

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    The
    project
    CAD
    folder
    the
    user
    names:
    reads
    subsystem
    modules
    iface.py
    and
    kit.json
    Writes
    only
    to
    paths
    given
    on
    command
    line:
    --out-dir
    --export
    --json
    targets

    No network access, no package installs, no GUI. lint_module.py and fastener_budget.py import the user's own module files, which runs that code. lint_module.py reads file modification times in the module folder and the current folder to detect writes at import. It only reads them; it changes nothing.

    Listed7 days ago

    What's inside

    Creator

    N

    Nate Freed

    24 skills on Agensi

    Frequently Asked Questions

    Use them as starting values: they were measured on PETG/PETG-CF with a 0.4 mm nozzle on one printer. Print the 10-minute coupon (print_features.py coupon), then put any differences in a small fits JSON. Every helper and module will use your numbers from then on.

    No. The print_features helpers and the rules work in any build123d script. The contract pays off once you have several subsystems, or when you use the linter, the fastener budget or the companion check and handoff skills.

    No, it works on its own. The optional companions add clash, load and stiffness checks (robot-cad-realism-checks), plates and print sheets (robot-cad-print-handoff), and single-part fit coupons (build123d-print-parts).

    On the builds this comes from, PLA crept under bolt load and softened in a hot car. If you knowingly want PLA for a throwaway prototype, record that in DECISIONS.md and expect that failure line.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.