Compose a 3MF with negative / modifier parts
bambu_compose_modelBuilds a Bambu project 3MF from a base STL and labeled parts—negative, modifier, support-blocker, and support-enforcer regions—for direct slicing or inspection without boolean geometry.
Instructions
Builds a Bambu project 3MF from a base body STL plus extra parts. A negative part (negative_part) cuts away where it overlaps, a modifier (modifier_part) applies different settings to its region, and support_blocker / support_enforcer control support. In a Bambu model each of these is just one more part with a label, so no geometry (boolean) engine is needed. The output can be read back item by item with bambu_inspect_project, or passed straight to bambu_slice. Writes a file to the output directory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"basePath": "<basePath>",
"parts": "<parts>"
},
"name": "bambu_compose_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Output file name (.3mf is appended automatically) and object name. Must not contain path separators. | |
| parts | Yes | ||
| baseName | No | Display name of the base body part. Defaults to body. | |
| basePath | Yes | Path to the base body STL; it must be inside an allowed model directory. | |
| plateCentre | No | Where the object lands on the plate. Defaults to the centre of a 256×256 plate (128, 128). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | Yes | ||
| nextStep | Yes | ||
| warnings | Yes | ||
| byteLength | Yes | ||
| outputPath | Yes |