How to Use FreeCAD with Claude Computer Use
In this article
Yes, you can use FreeCAD alongside Claude with computer use capabilities by enabling Claude's desktop interaction to control FreeCAD for automated modeling tasks. This setup allows Claude to open files, create sketches, modify parts, and run macros through direct desktop access. You must have FreeCAD installed, Claude's desktop app with computer use enabled, and provide explicit instructions for each action.
What You'll Need
- FreeCAD installed on your computer (Windows, macOS, or Linux)
- Claude desktop application with computer use permissions enabled
- Administrator or user-level access to run both applications
- A clear modeling objective or task list for Claude to follow
- Basic familiarity with FreeCAD's interface and workflow
Step-by-Step
- Install FreeCAD from the official website if not already installed. Confirm it launches correctly by opening the application manually and checking the startup module loads without errors.
- Download and install the official Claude desktop app from the provider's website. Do not use browser-based versions, as computer use requires desktop integration.
- Launch the Claude desktop app and go to Settings > Privacy & Permissions. Enable computer use access, granting permission for screen recording, keyboard, and mouse control. On macOS, this may require adding the app to Accessibility settings in System Settings.
- Start a new conversation in Claude and type: "I need you to help me use FreeCAD. Please open FreeCAD and create a new document." Wait for confirmation that FreeCAD has launched.
- Once FreeCAD is open, instruct Claude to switch to the Part Design workbench. Say: "Switch to the Part Design workbench in FreeCAD." Verify the toolbar changes to include 'Create Sketch', 'Pad', and 'Pocket'.
- Direct Claude to create a new sketch on the XY plane. Use the command: "Create a new sketch on the XY plane." Wait for the sketch editor to open.
- Specify a shape to draw. For example: "Draw a rectangle centered at the origin with width 50 mm and height 30 mm." Claude should generate the sketch using the rectangle tool.
- Exit the sketch and pad it into a 3D object. Say: "Close the sketch and create a pad with 10 mm height." Confirm a solid block appears in the 3D view.
- To modify the part, instruct: "Add a pocket in the center, 20 mm wide, 15 mm deep." Ensure the pocket feature is added to the model tree.
- Save the file by telling Claude: "Save the document as 'test_part.FCStd' on the desktop." Verify the file appears in the correct location.
- For repetitive tasks, write a macro in FreeCAD's Python console, save it as a .FCMacro file, and instruct Claude to run it using: "Open the macro menu and run 'create_bracket.FCMacro'."
- To close FreeCAD, say: "Close FreeCAD and save any changes if prompted." Monitor that the app exits cleanly.