The Model window has an AI of its own. Describe how your model moves and what drives it, and the AI rigs it: the bodies, their joints, limits and drives, and any motor axes it needs. It can also change the model (colours, added parts) and make a simple model from scratch. Each result goes straight into the rig, and you can go back to any earlier one.
The AI builds the same rig you would build by hand, so read chapter 20 for what bodies, joints and drives are; you can change anything it makes on the cards. The window itself is chapter 19.
The AI uses your own Anthropic API key, set in Project › Options, on the AI tab (chapter 23). Without one, the card says where to set it. Claude desktop can also rig a model in Contours, on your Claude plan; see chapter 24.
The AI card
Above the card column, beside Properties (the sliders icon), click AI: rig the model (the sparkle icon). The AI card takes the card column; the row you had chosen stays lit in the tree, and Properties brings its card back. The conversation stays as it is while you switch.
Before your first request the card says what the AI can do, with an example. Under the conversation are:
|
Part of the card |
What it does |
|---|---|
|
Request box |
Type your request. Enter sends it; Esc stops a request that is running. |
|
Model chip |
The AI model and effort the next request uses (chapter 15 explains the choices). The Model window's recommended choice is Opus 5.5 at high effort, because rigging is hard work. A change applies to this window from its next request; Options keeps the default. |
|
Add a model file (paperclip) |
Adds a STEP or GLB file to the rig as the request goes (see Adding models with a request, below). |
|
Send (Enter) / Stop (Esc) |
Sends the request; while it runs, stops it. |
|
Send the model files, so the AI can measure any part |
Sends every model file at the start of a conversation (see What is sent, and privacy, below). Off until you tick it; Contours remembers it. |
|
Privacy line |
What is sent to Anthropic, with an (i) for where it goes and how long it is kept. |
|
New conversation (title band) |
Ends the conversation and starts a new one. |
SCREENSHOT Figure 21.1: Model window on a copy of the SR joint project with its rig cleared (its bodies deleted), the AI chosen in the Properties | AI switch over the card column. The AI card shows "As it was", one request ("Motor L and Motor R turn the two arms. A pin on each leg runs in the slot in its arm, so turning an arm slides its leg up and down its guide. The plate sits on a ball on the fixed leg and rests on the two legs.") with its Version 1 chip and "in the model" beside it, the reply with its (i), any warning line, and the model and cost line; the request box, model chip, paperclip and send arrow, the Send the model files tick and the privacy line below. The view shows the rigged model with Colours on Bodies.
Figure 21.1. The AI card. Each request has its version chip, the AI's reply, its warnings and what the request cost.
What you can ask
-
Rig the model: bodies, joints of any type, passive linkages, Follows (gears, belts), limits, and which axes drive what. It makes the motor axes it needs, with their units, and writes a MEANING line for each (chapter 20). With the assembly's mates in use, it links the mates' drives to axes and names them.
-
Cables: cables between the parts they run through.
-
Several models: place, rename and copy the rig's models, such as "copy model 1 and place the copy 200 mm along X". It doesn't merge model files into one.
-
Change the model: a part's colour, colour patterns, and added parts such as a cover, a base plate or a pointer.
-
Make a model from scratch: with no model open, describe a mechanism, such as "a SCARA, arms 250 and 200 mm, 150 mm Z travel". It makes a simple model of boxes, cylinders and tubes that looks and moves like the mechanism, rigged and ready to move. It is for seeing and simulating the motion, not for manufacturing.
-
Questions about the model, its rig or its motion: "What moves the plate?"
The AI turns away anything else, including questions about using Contours itself, with: "The AI only rigs, changes and makes models here, and answers questions about them. For help with Contours itself, see the User Guide." It doesn't switch the assembly's mates off or change their ranges; do that on the Mate card (chapter 20).
Writing a good request
-
Say what each motor is and what it moves: "a rotary motor turns each arm", "a linear actuator with a 20 mm stroke pushes the lid's crank". The AI drives the joint the motor itself moves and makes what it pushes passive, so a show sends the motor what it really does.
-
Name parts as the model does. Click a part in the view and choose To request on the selection bar, or right-click it and choose Add to the AI request, to put its name in the box.
-
Left and right are the model's own: a figure's right arm is on its own right, which is your left when it faces you.
-
Say how cables run: which fittings, holes, guides and drums they pass through, for example "from the motor's drum, through the two guides on the base, to the end of the lever".
-
Describe your axes first. A Description on each axis (chapter 7) tells the AI what the axis is for.
-
In a follow-up, say what is wrong: "the brackets shouldn't turn with the arms". The AI is told what each axis moves in the rig as it is now, so it can find the body that is hung from the wrong parent.
-
Take a big job in steps: the arms and legs first, then the plate, then any cables.
While a request runs
The request appears in the conversation and the box empties. A line under it says what is happening and for how long: preparing the parts list and pictures, thinking, running code, fetching and checking the rig. A conversation's first request takes a few minutes; follow-ups are quicker. You can look around the model meanwhile; the buttons that change the rig, such as New body and Undo, are greyed until the request ends.
To stop a request, click Stop (Esc) or press Esc in the box. "Stopped. Nothing was changed." appears and your request goes back into the box. A request that fails says "Failed. Nothing was changed." with the reason, and also puts your request back.
SCREENSHOT Figure 21.2: the AI card during a request on the copy of the SR joint project: the request shown with "Asking... a conversation's first request takes a few minutes.", the thin progress bar and the line under it (for example "Running code · step 3 · 1:12"), the Stop button where the send arrow was, and the box read-only.
Figure 21.2. A request running. The line says what the AI is doing and for how long; Stop or Esc ends it.
Contours' check
Before a rig goes in, Contours checks it with its own solver, the one that poses the model: it moves every axis to both ends of its range, one at a time and then all together. It finds drives that fight or move nothing, joints that stop a drive at a limit, linkages that lock or run out of travel, cables that would have to stretch or go slack, and parts put in a body that the mates already move. The AI also runs this check itself while it works.
If the check finds a problem, Contours sends it back to the AI once to fix (the progress line says "Fixing what the checks found"). The rig then goes in anyway, and anything still wrong is listed under the reply as "Contours' check: ...". Fix it on the cards, or ask again.
The reply's (i) lists what the AI had to assume. Its warnings, one a line, say what it couldn't do or what you should check.
Versions and going back
Each request that changes the rig or the model makes a version. It goes straight into the rig, and its chip, Version 1, Version 2 and so on, says "in the model" while it is the one shown. The first chip, As it was, is the model and rig as they were when the conversation started.
-
Click a chip to put that version back: its rig, and its model if the request changed the model.
-
Your next request carries on from the version shown, so you can go back and try another way.
-
After you change the rig yourself, no chip is lit. Your next request is told what you changed.
The last 10 versions are kept in the project when you save it, with their requests and the AI's summaries. When you open the project again, the card shows them as "Kept from an earlier session" with their chips, and a new request is told the earlier ones.
A conversation lasts while Contours is open, for each project and model. Closing the card or the window keeps it. New conversation ends it. A new conversation starts by itself when the model's parts change, for example after you export it again, or add a model outside the card.
Changing a model and making one
To change the model, the AI needs the model file. It asks for it, and Contours sends it then, unless you have ticked Send the model files. Contours never changes your model file: the AI's model is a new GLB file, with the script that made it, in a folder beside the project called "project models" (for a project named SR joint, "SR joint models"). The files are named after the model with a version number, such as "sr-joint-demo v1.glb" and "sr-joint-demo v1.py"; the entry says "Saved as" and the file's name. Contours never deletes these files.
The new model replaces the old one in the window, and the rig, its bodies and the assembly's mates carry on with it. As it was or an earlier chip puts the earlier file back.
A model from scratch is made in mm with Z up and saved the same way. With no model open, the request box suggests one.
Note. A model the AI makes or changes is saved beside the project, so save the project first. In an unsaved project the card says so: the AI can still rig the model, but can't change it or make one until you save.
SCREENSHOT Figure 21.3: the copy of the SR joint project (saved), a request "Make the plate blue and the two arms orange" answered: its Version chip, the line "Saved as sr-joint-demo v1.glb" under it, the reply; the view showing the recoloured plate and arms in the model's own colours (Colours on Model).
Figure 21.3. A request that changed the model. The new model is saved beside the project; the original file is never changed.
Adding models with a request
To bring another model into the rig with a request, click Add a model file (the paperclip) or drop STEP or GLB files on the AI card. Each waits as a chip under the box; its × leaves it out. When you send the request, Contours adds each file to the rig, as Add model... does (chapter 20), waits for it to load, and then sends the request with the new parts. The conversation carries on with its versions. With no model open, the first file becomes the rig's first model.
For example, with a second copy of the SR joint's model file added: "Place the new SR joint 200 mm along X from the first, and rig it as the first is, driven by two new axes, Motor L2 and Motor R2."
SCREENSHOT Figure 21.4: the foot of the AI card on the copy of the SR joint project: a typed request, a model file chip (a second copy of sr-joint-demo.glb) waiting under the box, Send the model files ticked, and the privacy line with its (i) open showing where requests go, billing, retention, the key and the files.
Figure 21.4. Model files waiting to go with the next request. The privacy line's (i) says where your requests and files go.
What is sent, and privacy
Each request goes from your PC straight to Anthropic, under your own API key. Myostat never sees your requests, files or key. The first request of a conversation sends:
-
your request, and the project's axes (names, units and descriptions);
-
a list of the model's parts: their names, subassemblies, colours, sizes and places, and the pins and holes Contours finds on them;
-
four pictures of the model: in its own colours, then with each part tinted and numbered, in 3-D, from the front and from the top;
-
the rig as it is, what each axis moves in it, and the assembly's mates when there is a mates file;
-
the model files, only if you ticked Send the model files.
Follow-ups send the new request, and the rig again when it has changed. The model file goes only when a request changes the model, or from the start with the box ticked; ticking it lets the AI measure any part exactly. The privacy line under the box always says what is being sent.
The (i) at the end of the privacy line says the rest: requests are billed to your Anthropic account; what Anthropic keeps, and for how long, is set by your organisation's agreement with Anthropic; your key is stored encrypted for your Windows user; and Contours deletes the files it sent to Anthropic, and the files the AI made there, when the conversation ends (New conversation) or Contours closes. The model files saved beside your project stay.
Costs
The last line of each request's entry names the AI model that answered and what the request cost, worked out from Anthropic's prices. The first request of a conversation costs the most, because it sends the parts list and pictures; follow-ups reuse them. A model with more parts, a higher effort or a larger AI model costs more.
Every request is also written to the cost log, with its description, tokens and cost. Open cost log on the Options AI tab opens it (chapter 23).