make_template
Create a thin fit-test template cut from a 3D part to verify size, hole pattern, and mating clearances before printing the full part.
Instructions
A fit-test template: a quick thin print cut from the real part (same hole compensation and
clearances) to check size, hole pattern and mating fits before printing the whole part. kind:
'slice' (plane XY/XZ/YZ at = Z/Y/X: the part between two planes thickness apart, centered
on at), 'face' (face: an id from list_faces, a side such as 'bottom', or 'x,y,z' on it: that
flat face with its holes as a plate; a side means the largest face facing that way) or 'crop' (center, size: x,y,z in mm: the part inside
that box, with a thin base plate where it needs one; base=False: never). thickness: mm
(default 1.2). label: engrave ' ' (default), your own text, or false; skipped when
there is no room. The template is laid flat (template face down, Z=0) and checked like a
part. Writes template.* in formats (default: the formats setting): 3MF/STL in
parts//out/print/templates/, STEP in out/cad/; with png also out/images/<...>_where.png, the part with the template's source in red (returned
as the image; inline=False: only the file). Confirm the face or region with the user first
(list_faces with highlight).
Remote server (HTTP/SSH): the files stay on the server, as a temporary working copy deleted
when unused; bring the part home with download_part (one zip in the parts// layout).
Never use ssh, scp or a shell on the server: there is none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| base | No | ||
| face | No | ||
| kind | Yes | ||
| name | Yes | ||
| part | No | ||
| size | No | ||
| label | No | ||
| plane | No | ||
| center | No | ||
| inline | No | ||
| formats | No | ||
| variant | No | ||
| thickness | No |