cad_reference_calibration
Turn photo pixel measurements into real-world millimeters using a known reference object, and calculate slide-fit and snap-fit clearances for 3D printing.
Instructions
Calculates real-world millimeters from photo pixel measurements using a reference object (US Quarter 24.26mm, Penny 19.05mm, Credit Card, or Ruler). Also calculates 3D printing fit clearances (slide-fit, snap-fit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixelSpan | Yes | Pixel diameter or length of the reference object measured in the photo. | |
| customRefMm | No | Known reference dimension in mm if referenceType is 'custom_mm'. | |
| referenceType | Yes | Known reference object placed beside the part in the photo. | |
| measuredPixels | No | Optional list of features (e.g. cavity length, width, clip) to convert to millimeters. |