Dovetail layout
dovetail_layoutExact layout of a through dovetail joint, for hand-cut joints and router templates. Hand mode: give the board width, the thicknesses of both boards, the number of tails, the pin width at its narrow end and the angle (degrees per side, 1:N slope ratio, included angle or degrees from horizontal), in mm or inches; the tail width is computed. Router mode: give the tail width instead; the pins are spaced evenly and the router template is sized. Returns every tail and pin position and width on both faces (they sum exactly to the board width), tail and pin lengths, the angle in all four conventions, and warnings. Given measured socket dimensions, also recommends tail widths that fit them. Deterministic: use this instead of computing dovetail geometry yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hand: give pinWidth, the tail width is computed. router: give tailWidth, the pins are spaced evenly. | hand |
| unit | No | Unit of every length in the request and in the response. | mm |
| angle | Yes | Dovetail angle, read according to angleFormat. It must give a per-side angle from 1° to under 45°. | |
| pinWidth | No | Required in hand mode: pin width at its narrow end (the outside face of the pin board). Edge pins get the same narrow width. Between 0.5 and 5000 mm (0.02 to 196.85 in). | |
| tailWidth | No | Required in router mode: tail width at its wide end. Between 0.5 and 5000 mm (0.02 to 196.85 in). | |
| boardWidth | Yes | Width of both boards across the joint. Between 0.5 and 5000 mm (0.02 to 196.85 in). | |
| angleFormat | No | How to read angle: degrees per side from vertical (router bits: 7, 8, 14), slope ratio N for 1:N (6 for 1:6), included angle in degrees, or degrees from horizontal. | per_side_from_vertical |
| numberOfTails | Yes | Number of tails. | |
| measuredSockets | No | Socket dimensions as actually cut, measured on both sides. When given, the response recommends tail widths that fit them. | |
| pinBoardThickness | Yes | Thickness of the board the pins are cut on. Between 0.5 and 5000 mm (0.02 to 196.85 in). | |
| routerBitDiameter | No | Router mode: dovetail bit diameter, at most the tail width. Default: 8 mm, or the smallest bit that cuts the depth of the tails if larger. Between 0.5 and 5000 mm (0.02 to 196.85 in). | |
| tailBoardThickness | Yes | Thickness of the board the tails are cut on. Between 0.5 and 5000 mm (0.02 to 196.85 in). | |
| guideBushingDiameter | No | Router mode: guide bushing diameter, larger than the bit. Default: the bit diameter plus 7 mm. Between 0.5 and 5000 mm (0.02 to 196.85 in). |