center_model_on_bed
Center a mesh on the build plate and set its lowest point to z=0 so it is positioned correctly for printing.
Instructions
Center a mesh on the build plate and place at z=0.
Translates the model so it sits centered on the bed with its
lowest point touching the build plate.
:param file_path: Path to the STL file.
:param bed_x_mm: Build plate X dimension (default 256).
:param bed_y_mm: Build plate Y dimension (default 256).
:param printer_id: Optional printer: a supported model id, or the
name of a printer set up in Kiln. When provided, its recorded
bed size replaces the explicit dimensions.
:param output_path: Output path (defaults to overwriting input).
:returns: Dict with translation applied.INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
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": {
"file_path": "<file_path>"
},
"name": "center_model_on_bed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bed_x_mm | No | Build plate X dimension (default 256). Default: 256.0. | |
| bed_y_mm | No | Build plate Y dimension (default 256). Default: 256.0. | |
| file_path | Yes | Path to the STL file. | |
| printer_id | No | Optional printer: a supported model id, or the name of a printer set up in Kiln. When provided, its recorded bed size replaces the explicit dimensions. Default: "". | |
| output_path | No | Output path (defaults to overwriting input). Default: "". |