get_joint_recommendation
Get recommended clearance settings for a joint type and material pairing. Specify joint type and materials to narrow the range by printer calibration, or omit printer ID for a calibrated fit.
Instructions
Get recommended clearance settings for a joint type and material pairing.
Returns clearance recommendations based on the joint type
and the materials of the two mating parts. When
``printer_id`` is supplied AND kiln-pro is installed, the
response narrows the clearance range by the user's
calibration tier (HIGH halves it, MEDIUM shaves ~10%, LOW
and UNKNOWN leave it unchanged) and attaches a
``calibration_used`` block documenting the source.
Args:
joint_type: Type of joint (e.g. ``"clearance_fit"``,
``"press_fit"``, ``"snap_fit"``).
material_a: Material of the first part (default ``"PLA"``).
material_b: Material of the second part (default ``"PLA"``).
printer_id: Optional printer identifier (e.g.
``"bambu_a1"``). For a joint whose parts MOVE, omitting
it resolves the user's active printer rather than
answering generically — pass it only to ask about a
machine that is not the one they are set up on. For
every other joint type, omitting it keeps the historic
flat-range behaviour.
mating: Optional shape hint for joints whose parts MOVE
against each other (``"clearance_fit"``, ``"loose"``):
``"pin_in_bore"`` for a shaft or pin turning in a hole,
``"slot"`` for a tongue sliding in a groove,
``"planar_face"`` for two flat faces sliding, or
``"gear_flank"`` for meshing teeth. Omit it and the
round-joint case is assumed, which is the erring-loose
reading — a bore is closed on from both sides and needs
about twice the allowance a flat gap does, so assuming
it can only give a joint too much room, never too
little. Ignored for joints that do not move.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mating | No | ||
| joint_type | Yes | ||
| material_a | No | PLA | |
| material_b | No | PLA | |
| printer_id | No |