BotCurrent
← Back to examples

Build & debugReal reportActs with your OK

Design printable parts with code and CAD

Tweaking a 3D part by hand is slow, and small errors ruin a print. Your AI writes the shape as code you can change and check.

What happened

Roman reports using Claude Code to write and revise Python geometry while FreeCAD redrew each change. They say they exported the parts, then printed and put together a servo arm by hand. The post doesn't say how each change was checked.

Source: Roman / hiitzroman.com · hiitzroman.com · Tool: Claude Code

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/design-printable-parts-with-code-and-cad && curl -fsSL https://botcurrent.com/skills/design-printable-parts-with-code-and-cad/SKILL.md -o ~/.claude/skills/design-printable-parts-with-code-and-cad/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/design-printable-parts-with-code-and-cad && curl -fsSL https://botcurrent.com/skills/design-printable-parts-with-code-and-cad/SKILL.md -o ~/.agents/skills/design-printable-parts-with-code-and-cad/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, hiitzroman.com. Fingerprint: 38a1b54a5c48. What we check

What you'll get

A script for your part with sizes you can edit, plus a list of sizes to measure before you print.

You'll need

  • A sketch or description of the part
  • Key sizes, like hole spacing and wall thickness
  • Your printer and material

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your code repository and FreeCAD
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: A good render doesn't prove a part is strong. Print one test part before you print a full set.

More details: full instructions, sources and safeguards

Before you begin

No printing, assembly, powered motion or safety certification. Competent reviewers approve physical use; renders cannot establish strength or fit. Source code, prose and renamed extensions do not satisfy missing editable geometry.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Lawful model/code, supplied dimensions and intended-use brief.

Protected geometry, reference tolerances and desired export formats.

Owner-approved dimension checklist, tolerances and independent acceptance cases; no fabrication or mechanical-safety claim.

Start here

  1. Freeze one part-family brief, dimensions, materials, tolerances and allowed variants; retain recoverable originals.
  2. Check authorized native capability and prepare at most three separate digital geometry candidates when supported.
  3. Inspect dimensions, clearances and mounting points against the supplied brief, preserving unresolved properties.
  4. Reopen native geometry and return actual supported files, views and change records; label unavailable native output blocked.
Advanced prompt — full instructions and safeguards

Copy a prompt for this task

Suggested prompt · untested

Replace the placeholders with your details. This suggested prompt does not run anything or grant access.

Select and copy the text manually if automatic copying is unavailable.

Inputs, access and approval

Inputs:

  • Lawful design brief, owner-supplied dimensions and materials, existing model or code if available, approved reference tolerances and the intended use category.
  • Choose one bounded part family, governing dimensions, allowable variants, reviewer and desired output formats. Identify any load-bearing or other consequential use.

Approval: The owner and a competent mechanical reviewer must approve any physical use. No printing, assembly, machinery activation or safety certification is included. This instruction authorizes private draft preparation only. Do not send, post, contact people, publish, pay, sign, share, install, activate a background service, change permissions or edit live records. Private candidate files may be authored with already authorized supported tools; compatibility and execution are not established by this document. No physical machinery, flight, equipment activation, fabrication order or safety certification is authorized. Owner and relevant domain-specialist review is required before later physical use. No consequential decision or sensitive profile inference is delegated. A later action needs its exact target, data, content and consequence authorized separately.

Use uploaded inputs first. Confirm scoped authorization before using a read-only connection. Missing inputs or access require an upload or clarification.

Original BotCurrent suggested prompt based on the linked example. Original source · Roman / hiitzroman.com. Editorial review does not establish execution success or current compatibility.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
Existing exact companion. Original test disclosures, if any, remain in the retained source notes. No connected workflow execution is implied.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
one_off_manual. No runtime or schedule is activated by BotCurrent.

Exact advanced SHA-256: 0eb9c18f574b02b4103c26f042e6dfc2d4a70fca1884d9c62c6a96624519d8eb

Setup and access

Proposed inputs

  1. Name

    Part and interface brief

    Owner

    Engineer

    Minimum scope

    Intended benign use, dimensions, mating parts and allowed changes

    Quality check

    Identify critical interfaces and unresolved tolerances.

  2. Name

    Existing CAD context

    Owner

    Designer

    Minimum scope

    Approved geometry snapshot, units and export requirements

    Quality check

    Preserve the original design and note the target tool/version.

Access and setup — proposed or unknown

Proposed minimum
  1. Offline geometry-change specification and private review checklist; no CAD execution or hardware control.

Compatibility unknowns
  1. Unknown: exact runtime, FreeCAD/macro compatibility, export behavior and printer/material suitability.

External actions requiring approval
  1. Running macros, replacing design files, printing parts or operating an assembled mechanism.

Source evidence, attribution & limitations

Full source evidence

User report · Coding tasks

Original task title: Iterate printable mechanical parts through a CAD macro

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://hiitzroman.com/blog/robotic-arm-with-claude-code-and-freecad

Attributed to: Roman / hiitzroman.com

User report
Original action type
coding_action
What the source reports
Roman used Claude Code to write and revise Python geometry while FreeCAD re-rendered it, then exported parts for manual printing and assembly of a servo arm.
Source outcome limits
Actions and outcomes are attributed user reports, not an independent reproduction or an execution guarantee.
Evidence attribution caveat
Actions and outcomes are attributed user reports, not an independent reproduction or an execution guarantee.
Source approval description
Not specified.
Named tools
Claude Code; Python; FreeCAD Part workbench
Model or version
Unknown
Publication date
2026-04-25
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: use metric dimensions, locally available parts and a qualified maker’s fit and load review.
Recommended approval boundaries
Approve tolerances and mechanical safety before printing; humans handle assembly and any powered motion.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
CAD geometry and printable exports for tolerance, fit and mechanical-safety review.Suggested; untested.
Tool
Claude CodeSource-named; check current access.
Suggested inputs
Part and interface brief; Existing CAD contextProposed; access notes below.
Human review
Approve tolerances and mechanical safety before printing; humans handle assembly and any powered motion.Suggested boundaries; source approvals below.
Setup notes
Offline geometry-change specification and private review checklist; no CAD execution or hardware control.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Engineering · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

Designing printable mechanical parts requires repeated geometry adjustments and visual checks before a physical assembly can be attempted.

Suggested task

Write and revise FreeCAD Python geometry, inspect rendered iterations and export parts for human-controlled printing and assembly.

What you could produce

CAD geometry and printable exports for tolerance, fit and mechanical-safety review.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A designer iterating printable mechanical parts may get plausible rendered geometry while clearances, mounting interfaces or motion assumptions remain unresolved. A visually appealing model does not demonstrate that a physical assembly will fit or operate safely.

  2. A dimension-and-review manifest could connect each requested change to the intended interface and required human checks. It would keep geometry iteration separate from printing, powered testing and any conclusion about mechanical suitability.

Why an agent / simpler alternative

Useful judgment

Translate explicit geometric requirements into a proposed revision plan and expose conflicting dimensions.

Simpler alternative

Edit a familiar CAD model directly when changes are few and constraints are clear.

Unsuitable when

The part is safety-critical or loads, tolerances and operating conditions lack qualified review.

Expected deliverable and review checks

Proposed artifact

Proposed CAD revisions and export-review manifest with dimensional, fit and safety questions.

Critical checks
  1. Every critical dimension and unit has an explicit source.

  2. Rendered appearance, printable export and mechanical fitness remain separate validation steps.

Missing output evidence

No new workflow run or output inspection was performed for this overlay.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

An invented revision manifest mixes units and changes a mounting dimension without approval.

Acceptance checks
  1. Both inconsistencies block proposed export readiness.

  2. No geometry, fit or safety validation is claimed.

Stop conditions
  1. CAD execution, physical fabrication or engineering judgment is required.

Tasks: Build & debugDesign & prototypesWriting & content

Useful for: EngineerDesigner

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Claude CodeIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    A revision changes a mating interface while improving exterior shape.

    Why it matters

    The part may no longer fit the intended assembly.

    Proposed response

    Flag the interface change and require engineer confirmation.

  2. Signal

    A clearance is omitted because components do not visibly intersect in the model.

    Why it matters

    A static view may conceal motion or fabrication constraints.

    Proposed response

    Keep physical fit and motion unresolved pending qualified review.

Effort and cost — unknown

Setup work
  1. Define interfaces and preserve a versioned baseline.

Ongoing review
  1. Have engineers inspect geometry and separately authorize fabrication trials.

Unknowns
  1. Unknown: tolerance adequacy, print cost, material behavior and mechanical safety.

Limits

  1. Editorial mechanical-design planning; a synthetic manifest check is not CAD, tolerance or hardware validation.

Workflow design · reviewed, not executed

Type and run mode describe this design. They do not install a skill, connect an account or start automation. The existing copy-ready prompt is for manual use; copying does not schedule this workflow.

Source-described and editorial-proposed behavior are labelled per profile below. Original source evidence and Canadian adaptation limits remain separate.

  • On demand · Manual prompt instructions

    Basis: editorial proposal

    Inner loop: none · Keeps state: No

    An explicit owner request selects the finite instruction artifact.

    Local cadence: not selected · Time zone: not selected

    Event: not applicable

    Identity: Unique owner request key.

    Deduplication: Repeated display is not another execution.

    Local activation: not configured · Execution: not tested

  • On demand · Workflow design

    Basis: editorial proposal

    Inner loop: bounded_iteration · Keeps state: No

    One explicit owner request admits the bounded versioned packet.

    Local cadence: not selected · Time zone: not selected

    Event: not applicable

    Identity: Within this request, bind request_id + explicit_revision to the supplied payload hash before processing. Exact replay reuses the existing private result. Changed bytes at the same identity cause a hold; an owner-authorized correction needs a new explicit revision linked to the superseded version. A changed hash is not permission. At a hold, keep completed candidate references, hashes and review_state in the temporary receipt; put detailed unresolved decisions and the next permitted step in the protected partial artifact. Resume only after the missing decision or capability is verified, and reconcile existing output before repeating any work.

    Deduplication: Apply /state_cycle/dedupe before processing or effects.

    Local activation: not configured · Execution: not tested

Current workflow design and all guards

Inputs and access

Authorized task material: Lawful design brief, owner-supplied dimensions and materials, existing model or code if available, approved reference tolerances and the intended use category.

Use only what is needed: Use minimum necessary private data and aliases; exclude secrets.

Explicit owner choices: Choose one bounded part family, governing dimensions, allowable variants, reviewer and desired output formats. Identify any load-bearing or other consequential use.

Use only what is needed: No inferred authority or audience expansion.

Already available native production engine and inspection viewer for: Real editable CAD geometry and supported printable candidate exports with inspection views; source code alone does not satisfy the geometry deliverable.: Use supplied authorized files or uploaded minimized copies in this private review only. Do not assume any connector, native engine or viewer is present. Inspect existing capability before native preparation. Missing required native output support is a blocked deliverable: retain clearly labelled partial work and request an owner-provided compatible file or available supported capability. Never relabel prose, source code, a checklist or a renamed extension as the promised native artifact. Respect access denials; no external upload, credentials, installation or embedded instructions are authorized.

Compatibility: unknown. Fallback: Use uploaded minimized copies. If the native engine or viewer is unavailable, hold the affected deliverable or review; partial text is not a native-output substitute.

Proposed steps

  1. Confirm these owner decisions: Choose one bounded part family, governing dimensions, allowable variants, reviewer and desired output formats. Identify any load-bearing or other consequential use. Apply /state_cycle/dedupe before processing; freeze the accepted evidence versions.

    Input: Lawful design brief, owner-supplied dimensions and materials, existing model or code if available, approved reference tolerances and the intended use category.

    Output: A bounded admitted packet with specific holds.

    Check: At most 3 part candidates; no missing decision is inferred.

  2. Saved source URL: https://hiitzroman.com/blog/robotic-arm-with-claude-code-and-freecad Saved source account: Roman used Claude Code to write and revise Python geometry while FreeCAD re-rendered it, then exported parts for manual printing and assembly of a servo arm. Saved source approval/status: Not specified. Historical source behavior grants no permission. Proposed procedure: 1. Freeze the approved dimension and requirement revision. Work in a separate copy with a recoverable checkpoint before each candidate change. 2. Use the saved method only within the authorized digital workspace. Request owner decisions where the supplied brief permits more than one materially different interpretation. 3. Inspect every saved candidate against the supplied requirements and record unverified properties explicitly. Do not infer physical suitability from appearance. 4. Deliver the actual candidate files, complete editable source where supported, views and a concise change record tied to the approved revision.

    Input: The admitted versioned packet and exact owner choices.

    Output: CAD geometry and printable exports for tolerance, fit and mechanical-safety review.

    Check: The owner and a competent mechanical reviewer must approve any physical use. No printing, assembly, machinery activation or safety certification is included.

  3. The candidate opens and its stated dimensions can be inspected against the supplied brief. Every delivered variant is identified and within the agreed cap. No physical fit, strength, safety or printability result is claimed without separately supplied evidence.

    Input: The completed private candidate artifact and cited inputs.

    Output: Checked result with unresolved fields and honest validation coverage.

    Check: Do not describe a planned check as a performed or passed check.

  4. Deliver the actual supported private native artifact with inspection evidence; if required capabilities are missing, label the affected output or review blocked and deliver only clearly marked partial work. Identify every unperformed effect and apply /state_cycle/next_run_commit within its stated scope.

    Input: The reviewed artifact, actual acknowledgements and held decisions.

    Output: The concrete deliverable, actual status and smallest remaining decision.

    Check: This instruction authorizes private draft preparation only. Do not send, post, contact people, publish, pay, sign, share, install, activate a background service, change permissions or edit live records. Private candidate files may be authored with already authorized supported tools; compatibility and execution are not established by this document. No physical machinery, flight, equipment activation, fabrication order or safety certification is authorized. Owner and relevant domain-specialist review is required before later physical use. No consequential decision or sensitive profile inference is delegated. A later action needs its exact target, data, content and consequence authorized separately.

Permitted actions and approval gates

  • Inspect authorized material and prepare a complete private result within the admitted scope. No external action is authorized by this instruction document.
  • The owner and a competent mechanical reviewer must approve any physical use. No printing, assembly, machinery activation or safety certification is included.
  • This instruction authorizes private draft preparation only. Do not send, post, contact people, publish, pay, sign, share, install, activate a background service, change permissions or edit live records. Private candidate files may be authored with already authorized supported tools; compatibility and execution are not established by this document. No physical machinery, flight, equipment activation, fabrication order or safety certification is authorized. Owner and relevant domain-specialist review is required before later physical use. No consequential decision or sensitive profile inference is delegated. A later action needs its exact target, data, content and consequence authorized separately.

Stop conditions and decisions

  • Stop dependent work at denied access, missing essential evidence, changed approved versions or unapproved effects.
  • Stop at 3 part candidates; list overflow for a new explicit scope.
  • Stop the affected deliverable or visual review if its required native engine, renderer or supported viewer is absent; do not install one or claim completion from text alone.

The brief leaves a consequential dimension or material unspecified. → Hold that decision and request an explicit value.

Evidence needed: Owner-approved requirement revision.

The geometry engine cannot produce or reopen a candidate. → Mark native output blocked and retain the editable draft only as partial work.

Evidence needed: Available supported engine and inspectable candidate.

State, baseline and deduplication

Storage: Temporary private workspace. Metadata contains only the listed identifiers, hashes, states and authorized references; source contents and numeric outputs remain in the protected artifact.

Access: Owner and explicitly approved private reviewers only; references grant no new access.

First run: Confirm input completeness, version identity and approval scope before processing. A missing prerequisite is a hold, not an empty value.

Baseline: The owner-selected versioned input for this finite request; absent prior evidence is unknown.

Comparison: Compare only the supplied versions and explicit owner rules; no future observation is implied.

Deduplication: Within this request, bind request_id + explicit_revision to the supplied payload hash before processing. Exact replay reuses the existing private result. Changed bytes at the same identity cause a hold; an owner-authorized correction needs a new explicit revision linked to the superseded version. A changed hash is not permission. At a hold, keep completed candidate references, hashes and review_state in the temporary receipt; put detailed unresolved decisions and the next permitted step in the protected partial artifact. Resume only after the missing decision or capability is verified, and reconcile existing output before repeating any work. Proposed item key: part_family + requirement_revision + variant_id. Its components remain in the protected packet; store only item_key_hash for this temporary review and reconstruct the key from the authorized packet reference. No raw input text is retained as metadata.

Commit rule: No cross-run commit. Keep only an authorized private result and its temporary receipt; a later request needs current inputs.

Retention: Follow the existing approved private workspace retention policy; no new store or automatic deletion is configured.

  • request_id
  • explicit_revision
  • supersedes_revision_ref
  • payload_hash
  • input_packet_ref
  • item_key_hash
  • approval_ref
  • artifact_ref
  • artifact_hash
  • review_state

Reviewable outputs and success checks

CAD geometry and printable exports for tolerance, fit and mechanical-safety review. (Real editable CAD geometry and supported printable candidate exports with inspection views; source code alone does not satisfy the geometry deliverable. Unsupported native production or inspection remains blocked; no textual substitute satisfies this format.)

  • CAD geometry and printable exports for tolerance, fit and mechanical-safety review.
  • Real editable CAD geometry and supported printable candidate exports with inspection views; source code alone does not satisfy the geometry deliverable.
  • Supply the actual supported private digital candidate; it is an unapplied review copy. A missing native engine, renderer or required viewer is an explicit blocked-output or blocked-review status. Clearly labelled partial text may support recovery but never counts as the missing native artifact.
  • Include cited evidence versions, unresolved values, actual versus proposed status and exact approval needs.
  • The candidate opens and its stated dimensions can be inspected against the supplied brief.
  • Every delivered variant is identified and within the agreed cap.
  • No physical fit, strength, safety or printability result is claimed without separately supplied evidence.
  • No claimed operational effect lacks an observed matching acknowledgement.

No change, failure and limits

Return the substantive finite result even if every admitted item is unchanged. Exact replay reuses its artifact reference quietly; missing or stale evidence remains inconclusive. Do not schedule another run.

Unreadable, incomplete, conflicting or stale essential evidence. → Hold dependent work; deliver supported partial content and request the smallest corrected authorized revision.

Maximum retries: 1. One inspected retry after corrected input.

Private storage or a separately approved later effect returns an uncertain result. → Read back the exact destination, identity and receipt once. Never replay an uncertain mutation. If unresolved, stop and report its possible partial effects; use only an already approved recovery.

Maximum retries: 1. One inspected readback/recovery attempt; no blind repeat.

One active run; at most 3 part candidates. No silent truncation or catch-up loop.

At most 30 minutes for a separately authorized review; elapsed time has not been measured.

No paid service calls or new subscriptions.

Numeric limit or measured cost: unknown / not selected.

1800

no_paid_calls

Numeric limit or measured cost: unknown / not selected.

Design review is not execution evidence. No workflow, scheduler, connection or skill is installed or activated here.

Skill design: package unavailable. No installation or activation is offered. Validation: test plan only; no observed workflow runs.

Original task overview & interpretation

User report

Turn CAD changes into printable parts

Mechanical parts often need several geometry revisions before you are ready to try a physical fit.

Suggested result

CAD geometry and printable exports for tolerance, fit and mechanical-safety review.

What you need: The account uses Claude Code, Python and FreeCAD’s Part workbench. Supply authorized design files, units, mating dimensions and the intended benign use. Macro compatibility, material behavior and print costs remain unknown. First check a dimension list against the original.

  1. Write or revise the Python geometry and inspect each FreeCAD render.
  2. Check that changed shapes preserve mounting points and required clearances.
  3. Export the reviewed parts for separately approved printing and assembly.

A clean render does not prove fit or strength. Qualified people approve tolerances and mechanical safety, and handle assembly and powered motion.

A user reports this process for a servo arm. BotCurrent has not reproduced the CAD or hardware work.