Roadmap 0.13, Market watch builds

MW.67 PartCraft: motion studies written and run from a script, with the results read back as numbers

  • Feature
  • Planned
  • PartCraft

From MWClaim #632 (animations driven through a programming interface). A motion study in a PartCraft assembly is set up by hand on the Motion card: the joint, from, to, the time, the law, the points to follow. A script cannot start one or read what it found, so a sweep over many settings, or a check after every change, is clicking. Build: script functions in the three script languages for the open assembly: list the joints and their limits; run a motion study from a settings record (the same settings the card has) and get back the rows (time, value, followed points with position, speed and acceleration, clashes, gaps) and the summary (first clash, smallest gap, peaks); set a joint value and redraw, so a script can step the view; save the result as CSV. A study a script ran can be opened on the Motion card, and the card can copy its settings as script text. The same calls are offered to assistants as tools. A script cannot change the assembly through these calls; a run obeys the script time limit and can be stopped. Not built: a video written by a script, exploded views and drawing animations from a script, running several studies at once. Untested: assemblies of more than 200 parts, closed loops with more than three joints, Studio windows.

Blocked, needs owner (2026-12-04): the script runtime is a synchronous worker (cs-worker.js, cs-vm.js) with no call back to the page; the assembly, its part builds and manifold-3d live on the page. Library calls such as motion_study() or set_joint() need a new bridge (an assembly snapshot sent with csRun and manifold-3d loaded in the worker, or a synchronous channel on shared memory, plus a view-only pose message). That is wider than the brief. Nothing built.

From: a Discord member

Add a comment

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.