project_transform_write
Apply an affine transform to a build or component in a new 3MF file while preserving the original and painting, then reslice or reopen.
Instructions
Set a build/component affine transform in a NEW 3MF; original and painting survive.
Matrix uses 3MF's 12-number row-vector order: 3x3 linear part then XYZ translation in model units. Component changes affect ALL referencing instances. Read project_geometry_read and source SHA first. Requires reslicing/reopening.
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": {
"source": "<source>",
"destination": "<destination>",
"expected_source_sha256": "<expected_source_sha256>",
"matrix": "<matrix>"
},
"name": "project_transform_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| matrix | Yes | ||
| member | No | 3D/3dmodel.model | |
| source | Yes | ||
| target | No | build | |
| object_id | No | ||
| destination | Yes | ||
| expected_source_sha256 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||