Roadmap 0.13, Python scripting
PY.2 Python in PartCraft adds and edits features
a Discord member Suggested. Built, in the lab (2026-12-03), PartCraft. A Python script, an assistant or the command-line tool can now add and edit features through the same 26 tools (10 read, 16 edit): sketches, extrudes (add, cut, blind, mid, through), revolves, holes, fillets, chamfers, shells, linear and circular patterns, mirrors, reference planes, axes and points, and a sheet-metal base flange; rename, suppress, reorder (refused with the reason when a dependency would break), delete (refused while other features need it, unless cascade), roll the history back and forward; parameters and equations; configurations; rebuild. A change that leaves a feature failing is undone with the reason. One script run is one undo step labelled Python script. In Python: cc.part with a small sketch builder. Not proven: sweep, loft, combine and rib are accepted into the history but the default kernel cannot build them (not tried with Exact Solids on); import, thread, generated, member and the other sheet-metal kinds were not tried with real inputs; the sketch builder has no splines, ellipses or conics. Face and edge picks are found again by name and nearest point, so they survive a change of size but not the removal of the face or of the sketch line the name comes from. Tests: bin/test-partcraft-features.mjs 139/0 (volumes against hand-calculated values), bin/test-partcraft-python.mjs 20/0 on the real Python runtime, lab browser run 25/0 (the five help examples; one Undo removes a whole run). The PartCraft main suite did not finish before or after the change: it stalls in the mesh kernel shell test and was stopped at the server limit. Log docs/0.12-sessions/py-part.md.
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.