--- name: design-printable-parts-with-code-and-cad description: "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. Use for: Design printable parts with code and CAD." --- # 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 you need from the user - A sketch or description of the part - Key sizes, like hole spacing and wall thickness - Your printer and material ## What to give back A script for your part with sizes you can edit, plus a list of sizes to measure before you print. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me design a 3D-printable part as a FreeCAD Python script. What the part is for: [describe] Key sizes in mm: [list, for example hole spacing, wall thickness] Parts it must fit with: [for example, servo model, screw size] Printer and material: [for example, FDM, PLA] Clearance for holes and fits: [for example, 0.2 mm] 1. Write a FreeCAD Part script with every size as a named variable at the top. 2. Add the holes, clearances and mounting points from my list. 3. Export to STEP and STL. 4. List each size I should measure on the model before printing. Change only the sizes or shapes I ask about. I'll check the model, print it and test the fit myself. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - A good render doesn't prove a part is strong. Print one test part before you print a full set. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/iterate-printable-mechanical-parts-through-a-cad-macro-8b107c06fe4c/ Original report: https://hiitzroman.com/blog/robotic-arm-with-claude-code-and-freecad BotCurrent has not tested this skill. Check the result before you use it.