‹Addon› PrintPal AI CAD

Open
#222 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
tooling

Research direction

Start with package.xml in the linked printpal-freecad repository, then inspect engine/requirements.lock and engine/runner/sandbox.py to understand the packaged dependencies and isolated worker. Review the linked repository against the addon requirements described in the issue. Done means the addon has been reviewed and either accepted for indexing or given actionable changes, with its account, network, sandboxing, and licensing behavior verified.

Written by the indexing model from the issue text.

Description

+ 💿 𝗔𝗱𝗱𝗼𝗻
🔌 𝗥𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝘆

https://github.com/printpal-io/printpal-freecad

📑 𝗡𝗼𝘁𝗲𝘀
PrintPal AI CAD is a workbench from PrintPal (printpal.io), maintained by the PrintPal team ([email protected]). It's a new addon, version 1.0.0, tagged v1.0.0. We're happy to make any changes the review asks for.

What it does: you describe a part (optionally with up to 4 reference images). Our AI CAD agent writes a parametric CadQuery model, checks it for 3D printing and adds it to the active document as an exact solid (a Part::Feature read from STEP). Named parameters stay editable, and rebuilding from them is local and free. Export is STEP, 3MF or STL.

Things to know before reviewing:
- It needs a PrintPal account. Sign-in opens the browser from the task panel. Generating or changing a design with the AI uses account credits.
- Models are built locally, not inside FreeCAD's Python. On first use, the panel shows the download size and waits for the user to click "Install CAD engine". It then downloads uv (checksum verified) and creates a private Python 3.12 venv with the hash-locked packages in engine/requirements.lock (CadQuery, OCP, trimesh and others), installed with --require-hashes. Everything lives in PrintPal's user data folder and is shared with our Fusion 360 and Blender plugins. Nothing is pip-installed into FreeCAD's environment, so nothing needs to go on ALLOWED_PYTHON_PACKAGES.
- The code the agent generates runs in a separate sandboxed worker process with CPU, memory, file and import limits (engine/runner/sandbox.py).
- Network access: printpal.io (API, and browser sign-in that redirects back to a local 127.0.0.1 callback). The one-time engine install also contacts github.com (the uv release) and PyPI.
- License: LGPL-2.1-or-later. package.xml is at the repository root with freecadmin 1.0.0.

It has had internal testing but no public community testing yet. If you'd rather we gather user feedback first (for example on the forum) before it's indexed, let us know and we'll do that.
Dominant language
No language data
Stars
22
Forks
17
Avg merge
1d 23h
Merged PRs (30d)
10

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FreeCAD/Addons

All issues in FreeCAD/Addons

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.