Plan a multi-part project
plan_projectPlans multi-part 3D print projects from a folder or .zip by finding models, orienting each part, packing them onto plates, and returning time/filament estimates plus blocking questions.
Instructions
Plan a whole multi-part project from a folder or .zip: find every model, lay each in its best orientation and pack them onto plates.
Reads counts from names like clip_x4.stl and from READMEs. Returns plates with rough time and filament, stated assumptions, and questions about anything unclear (duplicate versions, odd scale, parts too big, missing counts, colours, grouping). Put the blocking questions to the user, then call again with plan_id and the answers; part ids are paths relative to the project folder. Slicing happens only in slice_project. Saves the plan, and unpacks zips, under the server's state folder; each call without plan_id starts a new plan.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | 'fewest_plates' or 'by_colour' (one colour per plate). | |
| path | No | Folder, .zip, or single model file of the project. Required unless plan_id is given. | |
| scales | No | Scale per part id, e.g. {'bracket.stl': 25.4} for a part exported in inches. | |
| colours | No | Colour per part id, e.g. {'knob.stl': 'red'}, used by goal='by_colour'. | |
| exclude | No | Part ids to leave out. | |
| include | No | Part ids to put back in, such as test pieces left out by default. | |
| plan_id | No | Re-plan an earlier plan with new answers; earlier answers are kept. | |
| printer | No | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. | |
| process | No | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. | |
| answered | No | Question ids the user settled by keeping the suggested default. | |
| filaments | No | Filament preset names, one per filament slot, e.g. ['Anycubic PLA']. Omit to use the slicer window's selection. | |
| overrides | No | Setting overrides applied to every plate, as for slice_model. | |
| quantities | No | Copies per part id, e.g. {'clip.stl': 4}. | |
| spacing_mm | No | Gap between parts on a plate in mm, 1 to 50. Default 6. | |
| separate_supported | No | True puts parts that need supports on their own plates. | |
| max_hours_per_plate | No | Keep each plate under this many hours (rough estimate), 0.25 to 200. |