native_section_drawings
Slice a visible model along multiple planes and export PDF/SVG section drawings with black-filled cut surfaces to clearly show cut geometry.
Instructions
Cut the visible model along several planes and write drawings with the cut surfaces filled 100 % black.
One mesh export is shared by all specs (or pass mesh_path of an earlier OBJ export). Spec keys: path (absolute, .pdf or .svg), at (mm, the cut position in the grid), along ("u" or "v": the axis drawn left to right; the plane is perpendicular to the other one), look (1 or -1: viewing direction), rotate_z (grid angle, default 45), include / exclude (name prefixes; spaces count as underscores), scale (default 100), window [x0, x1, z0, z1] in mm, depth (mm behind the plane to draw), context ("line" draws land and water as lines, "none" omits them), levels [[z_mm, "label"]...], title, overwrite, line_width (edges behind, paper mm, default .13), cut_line (outline around every cut surface in paper mm, default 0), cut_fill ("black" by default, "none" for a white cut surface with only an outline of 0.35 mm unless cut_line says otherwise, or a colour such as "#808080"), weights [{"name": prefix, "cut": mm, "edge": mm, "fill": "black" | "none" | "#rrggbb"}] to give single object types other thicknesses (first matching rule wins; thicker outlines make small, dense members read heavier). Beware: visible bodies only; hidden ones are not drawn.
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": {
"specs": "<specs>"
},
"name": "native_section_drawings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specs | Yes | ||
| mesh_path | No |