# CAD Oracle

Deterministic 3D parametric CAD, printability, assembly fit, and 2D sheet layout checks. Units: mm, deg, +Z up. Every geometric claim is independently verified; incomplete checks return verified false.

## Tools

- [Compile parametric part](/docs/compile_parametric_part)
- [Verify printability](/docs/verify_printability)
- [Check assembly fit](/docs/check_assembly_fit)
- [Optimize sheet layout](/docs/optimize_sheet_layout)

## Examples

- [Enclosure base](/examples/enclosure-base)
- [Mounting bracket](/examples/mounting-bracket)
- [Printable stand](/examples/printability-pass)
- [Thin wall and overhang](/examples/printability-thin-wall-overhang)
- [Enclosure assembly fit](/examples/assembly-fit-ok)
- [Assembly collision](/examples/assembly-fit-collision)
- [Packed cut sheet](/examples/sheet-layout-packed)
- [Oversized part](/examples/sheet-layout-infeasible)

## Endpoints

- [Reference](/docs)
- [OpenAPI](/openapi.json)
- [MCP server card](/.well-known/mcp/server-card.json)
- [Agent card](/.well-known/agent-card.json)
- [Full reference](/llms-full.txt)

# Documentation

Repeated content. See CAD Oracle in /index.md.

Repeated content. See Tools in /index.md.

- [Resources and prompts](/docs/resources-and-prompts)
- [Feedback](/docs/submit_feedback)

## Transport

Use POST /mcp for stateless tool calls. Use typed JSON for REST calls.

Enabled payment requirements are returned with the call. Unverified results are not charged.

# Compile parametric part

Compile a declarative CSG tree into a verified manifold mesh with exact metrics, orthographic blueprint SVG, optional section, and optional 3MF/STL base64 export. Units: mm, deg, +Z up. Minimal example: \{"model":\{"type":"box","size":\[20,10,5\]\}\}

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"model":{"type":"box","size":[20,10,5]}}' https://cad.burgeonads.com/v1/compile/parametric
```

## Input schema

```json
{
  "$defs": {
    "CsgNode": {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "box"
              }
            }
          },
          "then": {
            "required": [
              "size"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "cylinder"
              }
            }
          },
          "then": {
            "required": [
              "radius",
              "height"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "sphere"
              }
            }
          },
          "then": {
            "required": [
              "radius"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "extrude"
              }
            }
          },
          "then": {
            "required": [
              "polygon",
              "height"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "revolve"
              }
            }
          },
          "then": {
            "required": [
              "profile"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "translate"
              }
            }
          },
          "then": {
            "required": [
              "vector",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "rotate"
              }
            }
          },
          "then": {
            "required": [
              "angles_deg",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "scale"
              }
            }
          },
          "then": {
            "required": [
              "factor",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "mirror"
              }
            }
          },
          "then": {
            "required": [
              "normal",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "enum": [
                  "union",
                  "difference",
                  "intersection"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "children": {
                "minItems": 2
              }
            },
            "required": [
              "children"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "hull"
              }
            }
          },
          "then": {
            "required": [
              "children"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "offset_2d"
              }
            }
          },
          "then": {
            "required": [
              "delta_mm",
              "child"
            ]
          }
        }
      ],
      "properties": {
        "angle_deg": {
          "default": 360,
          "maximum": 360,
          "minimum": 0.001,
          "type": "number"
        },
        "angles_deg": {
          "$ref": "#/$defs/Vec3"
        },
        "center": {
          "type": "boolean"
        },
        "child": {
          "$ref": "#/$defs/CsgNode"
        },
        "children": {
          "items": {
            "$ref": "#/$defs/CsgNode"
          },
          "minItems": 1,
          "type": "array"
        },
        "delta_mm": {
          "$ref": "#/$defs/Num"
        },
        "factor": {
          "items": {
            "maximum": 1000,
            "minimum": -1000,
            "type": "number"
          },
          "maxItems": 3,
          "minItems": 3,
          "type": "array"
        },
        "fillet_mm": {
          "maximum": 10000,
          "minimum": 0,
          "type": "number"
        },
        "height": {
          "$ref": "#/$defs/Pos"
        },
        "holes": {
          "items": {
            "$ref": "#/$defs/Ring"
          },
          "type": "array"
        },
        "join": {
          "default": "round",
          "enum": [
            "round",
            "miter",
            "square"
          ]
        },
        "normal": {
          "$ref": "#/$defs/Vec3"
        },
        "polygon": {
          "$ref": "#/$defs/Ring"
        },
        "profile": {
          "$ref": "#/$defs/Ring"
        },
        "radius": {
          "anyOf": [
            {
              "$ref": "#/$defs/Pos"
            },
            {
              "items": {
                "maximum": 10000,
                "minimum": 0,
                "type": "number"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": "array"
            }
          ]
        },
        "scale_top": {
          "default": [
            1,
            1
          ],
          "items": {
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "maxItems": 2,
          "minItems": 2,
          "type": "array"
        },
        "segments": {
          "$ref": "#/$defs/Seg"
        },
        "size": {
          "items": {
            "$ref": "#/$defs/Pos"
          },
          "maxItems": 3,
          "minItems": 3,
          "type": "array"
        },
        "twist_deg": {
          "maximum": 360,
          "minimum": -360,
          "type": "number"
        },
        "type": {
          "enum": [
            "box",
            "cylinder",
            "sphere",
            "extrude",
            "revolve",
            "translate",
            "rotate",
            "scale",
            "mirror",
            "union",
            "difference",
            "intersection",
            "hull",
            "offset_2d"
          ]
        },
        "vector": {
          "$ref": "#/$defs/Vec3"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "Num": {
      "maximum": 10000,
      "minimum": -10000,
      "type": "number"
    },
    "Pos": {
      "maximum": 10000,
      "minimum": 0.001,
      "type": "number"
    },
    "Ring": {
      "items": {
        "items": {
          "$ref": "#/$defs/Num"
        },
        "maxItems": 2,
        "minItems": 2,
        "type": "array"
      },
      "maxItems": 256,
      "minItems": 3,
      "type": "array"
    },
    "Seg": {
      "default": 32,
      "maximum": 96,
      "minimum": 3,
      "type": "integer"
    },
    "Vec3": {
      "items": {
        "$ref": "#/$defs/Num"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    }
  },
  "additionalProperties": false,
  "properties": {
    "export_format": {
      "default": "none",
      "enum": [
        "none",
        "3mf_base64",
        "stl_base64"
      ]
    },
    "include_svg_views": {
      "default": true,
      "type": "boolean"
    },
    "model": {
      "$ref": "#/$defs/CsgNode"
    },
    "section_y_mm": {
      "$ref": "#/$defs/Num"
    },
    "section_z_mm": {
      "$ref": "#/$defs/Num"
    },
    "timeout_ms": {
      "default": 5000,
      "maximum": 8000,
      "minimum": 100,
      "type": "integer"
    }
  },
  "required": [
    "model"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$defs": {
    "Metrics": {
      "properties": {
        "bbox_max_mm": {
          "$ref": "#/$defs/V3"
        },
        "bbox_min_mm": {
          "$ref": "#/$defs/V3"
        },
        "center_of_mass_mm": {
          "$ref": "#/$defs/V3"
        },
        "component_count": {
          "minimum": 1,
          "type": "integer"
        },
        "euler_characteristic": {
          "type": "integer"
        },
        "genus": {
          "$ref": "#/$defs/UInt"
        },
        "is_manifold": {
          "const": true,
          "type": "boolean"
        },
        "is_watertight": {
          "const": true,
          "type": "boolean"
        },
        "size_mm": {
          "$ref": "#/$defs/V3"
        },
        "surface_area_mm2": {
          "exclusiveMinimum": 0,
          "type": "number"
        },
        "triangle_count": {
          "minimum": 4,
          "type": "integer"
        },
        "vertex_count": {
          "minimum": 4,
          "type": "integer"
        },
        "volume_mm3": {
          "exclusiveMinimum": 0,
          "type": "number"
        }
      },
      "required": [
        "bbox_min_mm",
        "bbox_max_mm",
        "size_mm",
        "volume_mm3",
        "surface_area_mm2",
        "center_of_mass_mm",
        "triangle_count",
        "vertex_count",
        "component_count",
        "is_watertight",
        "is_manifold",
        "euler_characteristic",
        "genus"
      ],
      "type": "object"
    },
    "Section": {
      "properties": {
        "area_mm2": {
          "minimum": 0,
          "type": "number"
        },
        "axis": {
          "enum": [
            "z",
            "y"
          ]
        },
        "contour_count": {
          "$ref": "#/$defs/UInt"
        },
        "offset_mm": {
          "type": "number"
        }
      },
      "required": [
        "axis",
        "offset_mm",
        "area_mm2",
        "contour_count"
      ],
      "type": "object"
    },
    "UInt": {
      "minimum": 0,
      "type": "integer"
    },
    "V3": {
      "items": {
        "type": "number"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    }
  },
  "properties": {
    "artifact_base64": {
      "maxLength": 524288,
      "type": [
        "string",
        "null"
      ]
    },
    "artifact_bytes": {
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "artifact_format": {
      "anyOf": [
        {
          "enum": [
            "3mf",
            "stl"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "artifact_sha256": {
      "pattern": "^[0-9a-f]{64}$",
      "type": [
        "string",
        "null"
      ]
    },
    "blueprint_svg": {
      "maxLength": 131072,
      "type": [
        "string",
        "null"
      ]
    },
    "metrics": {
      "anyOf": [
        {
          "$ref": "#/$defs/Metrics"
        },
        {
          "type": "null"
        }
      ]
    },
    "section": {
      "anyOf": [
        {
          "$ref": "#/$defs/Section"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "enum": [
        "ok",
        "empty",
        "timeout",
        "unknown"
      ]
    },
    "verified": {
      "type": "boolean"
    }
  },
  "required": [
    "status",
    "verified",
    "metrics",
    "section",
    "blueprint_svg",
    "artifact_format",
    "artifact_base64",
    "artifact_sha256",
    "artifact_bytes"
  ],
  "type": "object"
}
```

## Limits

Default timeout: 5000 ms. Maximum timeout: 8000 ms.

```json
{
  "annotations": {
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false,
    "readOnlyHint": true,
    "title": "Compile parametric part"
  },
  "price_micro_usdc": 10000,
  "timeout_result": {
    "artifact_base64": null,
    "artifact_bytes": null,
    "artifact_format": null,
    "artifact_sha256": null,
    "blueprint_svg": null,
    "metrics": null,
    "section": null,
    "status": "timeout",
    "verified": false
  }
}
```

## Examples

- [Enclosure base](/examples/enclosure-base)
- [Mounting bracket](/examples/mounting-bracket)

# Verify printability

Verify a CSG part or inline mesh against bed size, topology, wall thickness, overhang, and stability tolerances with exact (x,y,z) failure witnesses. STL/3MF/OBJ files up to 4 MiB: POST /v1/verify/mesh. Minimal example: \{"model":\{"type":"box","size":\[20,20,10\]\}\}

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"model":{"type":"box","size":[20,20,10]}}' https://cad.burgeonads.com/v1/verify/printability
```

## Input schema

```json
{
  "$defs": {
    "CsgNode": {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "box"
              }
            }
          },
          "then": {
            "required": [
              "size"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "cylinder"
              }
            }
          },
          "then": {
            "required": [
              "radius",
              "height"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "sphere"
              }
            }
          },
          "then": {
            "required": [
              "radius"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "extrude"
              }
            }
          },
          "then": {
            "required": [
              "polygon",
              "height"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "revolve"
              }
            }
          },
          "then": {
            "required": [
              "profile"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "translate"
              }
            }
          },
          "then": {
            "required": [
              "vector",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "rotate"
              }
            }
          },
          "then": {
            "required": [
              "angles_deg",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "scale"
              }
            }
          },
          "then": {
            "required": [
              "factor",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "mirror"
              }
            }
          },
          "then": {
            "required": [
              "normal",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "enum": [
                  "union",
                  "difference",
                  "intersection"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "children": {
                "minItems": 2
              }
            },
            "required": [
              "children"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "hull"
              }
            }
          },
          "then": {
            "required": [
              "children"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "offset_2d"
              }
            }
          },
          "then": {
            "required": [
              "delta_mm",
              "child"
            ]
          }
        }
      ],
      "properties": {
        "angle_deg": {
          "default": 360,
          "maximum": 360,
          "minimum": 0.001,
          "type": "number"
        },
        "angles_deg": {
          "$ref": "#/$defs/Vec3"
        },
        "center": {
          "type": "boolean"
        },
        "child": {
          "$ref": "#/$defs/CsgNode"
        },
        "children": {
          "items": {
            "$ref": "#/$defs/CsgNode"
          },
          "minItems": 1,
          "type": "array"
        },
        "delta_mm": {
          "$ref": "#/$defs/Num"
        },
        "factor": {
          "items": {
            "maximum": 1000,
            "minimum": -1000,
            "type": "number"
          },
          "maxItems": 3,
          "minItems": 3,
          "type": "array"
        },
        "fillet_mm": {
          "maximum": 10000,
          "minimum": 0,
          "type": "number"
        },
        "height": {
          "$ref": "#/$defs/Pos"
        },
        "holes": {
          "items": {
            "$ref": "#/$defs/Ring"
          },
          "type": "array"
        },
        "join": {
          "default": "round",
          "enum": [
            "round",
            "miter",
            "square"
          ]
        },
        "normal": {
          "$ref": "#/$defs/Vec3"
        },
        "polygon": {
          "$ref": "#/$defs/Ring"
        },
        "profile": {
          "$ref": "#/$defs/Ring"
        },
        "radius": {
          "anyOf": [
            {
              "$ref": "#/$defs/Pos"
            },
            {
              "items": {
                "maximum": 10000,
                "minimum": 0,
                "type": "number"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": "array"
            }
          ]
        },
        "scale_top": {
          "default": [
            1,
            1
          ],
          "items": {
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "maxItems": 2,
          "minItems": 2,
          "type": "array"
        },
        "segments": {
          "$ref": "#/$defs/Seg"
        },
        "size": {
          "items": {
            "$ref": "#/$defs/Pos"
          },
          "maxItems": 3,
          "minItems": 3,
          "type": "array"
        },
        "twist_deg": {
          "maximum": 360,
          "minimum": -360,
          "type": "number"
        },
        "type": {
          "enum": [
            "box",
            "cylinder",
            "sphere",
            "extrude",
            "revolve",
            "translate",
            "rotate",
            "scale",
            "mirror",
            "union",
            "difference",
            "intersection",
            "hull",
            "offset_2d"
          ]
        },
        "vector": {
          "$ref": "#/$defs/Vec3"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "Num": {
      "maximum": 10000,
      "minimum": -10000,
      "type": "number"
    },
    "Pos": {
      "maximum": 10000,
      "minimum": 0.001,
      "type": "number"
    },
    "Ring": {
      "items": {
        "items": {
          "$ref": "#/$defs/Num"
        },
        "maxItems": 2,
        "minItems": 2,
        "type": "array"
      },
      "maxItems": 256,
      "minItems": 3,
      "type": "array"
    },
    "Seg": {
      "default": 32,
      "maximum": 96,
      "minimum": 3,
      "type": "integer"
    },
    "Vec3": {
      "items": {
        "$ref": "#/$defs/Num"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    }
  },
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "model"
      ]
    },
    {
      "required": [
        "mesh"
      ]
    }
  ],
  "properties": {
    "auto_drop_to_bed": {
      "default": true,
      "type": "boolean"
    },
    "bed_mm": {
      "default": [
        220,
        220,
        220
      ],
      "items": {
        "maximum": 10000,
        "minimum": 1,
        "type": "number"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    },
    "check_orientations": {
      "default": false,
      "type": "boolean"
    },
    "max_overhang_deg": {
      "default": 45,
      "maximum": 85,
      "minimum": 5,
      "type": "number"
    },
    "mesh": {
      "additionalProperties": false,
      "properties": {
        "faces": {
          "items": {
            "items": {
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 3,
            "minItems": 3,
            "type": "array"
          },
          "maxItems": 25000,
          "minItems": 4,
          "type": "array"
        },
        "vertices": {
          "items": {
            "$ref": "#/$defs/Vec3"
          },
          "maxItems": 75000,
          "minItems": 4,
          "type": "array"
        }
      },
      "required": [
        "vertices",
        "faces"
      ],
      "type": "object"
    },
    "min_wall_mm": {
      "default": 1.2,
      "maximum": 50,
      "minimum": 0.1,
      "type": "number"
    },
    "model": {
      "$ref": "#/$defs/CsgNode"
    },
    "timeout_ms": {
      "default": 5000,
      "maximum": 8000,
      "minimum": 100,
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}
```

## Output schema

```json
{
  "$defs": {
    "BedFitCheck": {
      "properties": {
        "bed_mm": {
          "$ref": "#/$defs/V3"
        },
        "below_bed_mm": {
          "minimum": 0,
          "type": "number"
        },
        "excess_mm": {
          "$ref": "#/$defs/V3"
        },
        "size_mm": {
          "$ref": "#/$defs/V3"
        },
        "status": {
          "enum": [
            "pass",
            "fail"
          ]
        }
      },
      "required": [
        "status",
        "size_mm",
        "bed_mm",
        "excess_mm",
        "below_bed_mm"
      ],
      "type": "object"
    },
    "BestOrientation": {
      "properties": {
        "candidates": {
          "items": {
            "$ref": "#/$defs/OrientationCandidate"
          },
          "maxItems": 6,
          "minItems": 6,
          "type": "array"
        },
        "rotate_deg": {
          "$ref": "#/$defs/V3N"
        },
        "up_axis": {
          "anyOf": [
            {
              "enum": [
                "+X",
                "-X",
                "+Y",
                "-Y",
                "+Z",
                "-Z"
              ]
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "up_axis",
        "rotate_deg",
        "candidates"
      ],
      "type": "object"
    },
    "BoxMm": {
      "properties": {
        "max_mm": {
          "$ref": "#/$defs/V3"
        },
        "min_mm": {
          "$ref": "#/$defs/V3"
        }
      },
      "required": [
        "min_mm",
        "max_mm"
      ],
      "type": "object"
    },
    "OrientationCandidate": {
      "properties": {
        "fits_bed": {
          "type": "boolean"
        },
        "margin_mm": {
          "type": [
            "number",
            "null"
          ]
        },
        "overhang_area_mm2": {
          "minimum": 0,
          "type": "number"
        },
        "rotate_deg": {
          "$ref": "#/$defs/V3"
        },
        "stable": {
          "type": "boolean"
        },
        "unsupported_minima_count": {
          "$ref": "#/$defs/UInt"
        },
        "up_axis": {
          "enum": [
            "+X",
            "-X",
            "+Y",
            "-Y",
            "+Z",
            "-Z"
          ]
        }
      },
      "required": [
        "up_axis",
        "rotate_deg",
        "fits_bed",
        "overhang_area_mm2",
        "unsupported_minima_count",
        "stable",
        "margin_mm"
      ],
      "type": "object"
    },
    "OverhangCheck": {
      "properties": {
        "max_observed_deg": {
          "maximum": 90,
          "minimum": 0,
          "type": "number"
        },
        "max_overhang_deg": {
          "type": "number"
        },
        "overhang_area_mm2": {
          "minimum": 0,
          "type": "number"
        },
        "overhang_face_count": {
          "$ref": "#/$defs/UInt"
        },
        "region_count": {
          "$ref": "#/$defs/UInt"
        },
        "regions": {
          "items": {
            "$ref": "#/$defs/OverhangRegion"
          },
          "maxItems": 5,
          "type": "array"
        },
        "status": {
          "enum": [
            "pass",
            "fail"
          ]
        },
        "unsupported_minima_count": {
          "$ref": "#/$defs/UInt"
        },
        "unsupported_minima_mm": {
          "items": {
            "$ref": "#/$defs/V3"
          },
          "maxItems": 5,
          "type": "array"
        }
      },
      "required": [
        "status",
        "max_overhang_deg",
        "overhang_area_mm2",
        "overhang_face_count",
        "max_observed_deg",
        "region_count",
        "regions",
        "unsupported_minima_count",
        "unsupported_minima_mm"
      ],
      "type": "object"
    },
    "OverhangRegion": {
      "properties": {
        "area_mm2": {
          "exclusiveMinimum": 0,
          "type": "number"
        },
        "bbox": {
          "$ref": "#/$defs/BoxMm"
        },
        "face_count": {
          "minimum": 1,
          "type": "integer"
        },
        "max_angle_deg": {
          "type": "number"
        },
        "point_mm": {
          "$ref": "#/$defs/V3"
        }
      },
      "required": [
        "area_mm2",
        "face_count",
        "max_angle_deg",
        "point_mm",
        "bbox"
      ],
      "type": "object"
    },
    "PrintChecks": {
      "properties": {
        "bed_fit": {
          "$ref": "#/$defs/BedFitCheck"
        },
        "overhangs": {
          "$ref": "#/$defs/OverhangCheck"
        },
        "standing_stability": {
          "$ref": "#/$defs/StabilityCheck"
        },
        "topology": {
          "$ref": "#/$defs/TopologyCheck"
        },
        "wall_thickness": {
          "$ref": "#/$defs/WallCheck"
        }
      },
      "required": [
        "topology",
        "bed_fit",
        "wall_thickness",
        "overhangs",
        "standing_stability"
      ],
      "type": "object"
    },
    "PrintMetrics": {
      "properties": {
        "bbox_max_mm": {
          "$ref": "#/$defs/V3"
        },
        "bbox_min_mm": {
          "$ref": "#/$defs/V3"
        },
        "drop_z_mm": {
          "type": "number"
        },
        "input_kind": {
          "enum": [
            "model",
            "mesh",
            "mesh_file"
          ]
        },
        "size_mm": {
          "$ref": "#/$defs/V3"
        },
        "triangle_count": {
          "minimum": 1,
          "type": "integer"
        },
        "vertex_count": {
          "minimum": 3,
          "type": "integer"
        },
        "volume_mm3": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "input_kind",
        "triangle_count",
        "vertex_count",
        "bbox_min_mm",
        "bbox_max_mm",
        "size_mm",
        "drop_z_mm",
        "volume_mm3"
      ],
      "type": "object"
    },
    "StabilityCheck": {
      "properties": {
        "center_of_mass_mm": {
          "$ref": "#/$defs/V3N"
        },
        "margin_mm": {
          "type": [
            "number",
            "null"
          ]
        },
        "status": {
          "enum": [
            "pass",
            "fail",
            "skipped"
          ]
        },
        "support_hull_mm": {
          "items": {
            "$ref": "#/$defs/V2"
          },
          "maxItems": 256,
          "type": [
            "array",
            "null"
          ]
        },
        "support_hull_vertex_count": {
          "$ref": "#/$defs/UInt"
        },
        "support_vertex_count": {
          "$ref": "#/$defs/UInt"
        },
        "tipping_direction": {
          "items": {
            "type": "number"
          },
          "maxItems": 2,
          "minItems": 2,
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "status",
        "support_vertex_count",
        "support_hull_vertex_count",
        "support_hull_mm",
        "center_of_mass_mm",
        "margin_mm",
        "tipping_direction"
      ],
      "type": "object"
    },
    "TopologyCheck": {
      "properties": {
        "component_count": {
          "minimum": 1,
          "type": "integer"
        },
        "consistent_winding": {
          "type": "boolean"
        },
        "degenerate_face_count": {
          "$ref": "#/$defs/UInt"
        },
        "floating_island_count": {
          "$ref": "#/$defs/UInt"
        },
        "floating_islands": {
          "items": {
            "$ref": "#/$defs/BoxMm"
          },
          "maxItems": 5,
          "type": "array"
        },
        "inverted": {
          "type": "boolean"
        },
        "is_manifold": {
          "type": "boolean"
        },
        "is_watertight": {
          "type": "boolean"
        },
        "non_manifold_edge_count": {
          "$ref": "#/$defs/UInt"
        },
        "non_manifold_vertex_count": {
          "$ref": "#/$defs/UInt"
        },
        "open_edge_count": {
          "$ref": "#/$defs/UInt"
        },
        "self_intersection_count": {
          "$ref": "#/$defs/UInt"
        },
        "status": {
          "enum": [
            "pass",
            "fail"
          ]
        },
        "void_count": {
          "$ref": "#/$defs/UInt"
        },
        "witnesses_mm": {
          "items": {
            "$ref": "#/$defs/V3"
          },
          "maxItems": 5,
          "type": "array"
        }
      },
      "required": [
        "status",
        "is_watertight",
        "is_manifold",
        "consistent_winding",
        "inverted",
        "open_edge_count",
        "non_manifold_edge_count",
        "non_manifold_vertex_count",
        "degenerate_face_count",
        "self_intersection_count",
        "component_count",
        "void_count",
        "floating_island_count",
        "floating_islands",
        "witnesses_mm"
      ],
      "type": "object"
    },
    "UInt": {
      "minimum": 0,
      "type": "integer"
    },
    "V2": {
      "items": {
        "type": "number"
      },
      "maxItems": 2,
      "minItems": 2,
      "type": "array"
    },
    "V3": {
      "items": {
        "type": "number"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    },
    "V3N": {
      "items": {
        "type": "number"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": [
        "array",
        "null"
      ]
    },
    "WallCheck": {
      "properties": {
        "below_min_area_fraction": {
          "maximum": 1,
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "min_observed_mm": {
          "type": [
            "number",
            "null"
          ]
        },
        "min_wall_mm": {
          "type": "number"
        },
        "rechecked_ray_count": {
          "$ref": "#/$defs/UInt"
        },
        "sampled_face_count": {
          "$ref": "#/$defs/UInt"
        },
        "status": {
          "enum": [
            "pass",
            "fail",
            "skipped"
          ]
        },
        "witnesses": {
          "items": {
            "$ref": "#/$defs/WallWitness"
          },
          "maxItems": 5,
          "type": "array"
        }
      },
      "required": [
        "status",
        "min_wall_mm",
        "min_observed_mm",
        "below_min_area_fraction",
        "sampled_face_count",
        "rechecked_ray_count",
        "witnesses"
      ],
      "type": "object"
    },
    "WallWitness": {
      "properties": {
        "exit_point_mm": {
          "$ref": "#/$defs/V3"
        },
        "point_mm": {
          "$ref": "#/$defs/V3"
        },
        "thickness_mm": {
          "exclusiveMinimum": 0,
          "type": "number"
        }
      },
      "required": [
        "point_mm",
        "exit_point_mm",
        "thickness_mm"
      ],
      "type": "object"
    }
  },
  "properties": {
    "best_orientation": {
      "anyOf": [
        {
          "$ref": "#/$defs/BestOrientation"
        },
        {
          "type": "null"
        }
      ]
    },
    "checks": {
      "anyOf": [
        {
          "$ref": "#/$defs/PrintChecks"
        },
        {
          "type": "null"
        }
      ]
    },
    "metrics": {
      "anyOf": [
        {
          "$ref": "#/$defs/PrintMetrics"
        },
        {
          "type": "null"
        }
      ]
    },
    "printable": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "status": {
      "enum": [
        "ok",
        "timeout",
        "unknown"
      ]
    },
    "verified": {
      "type": "boolean"
    }
  },
  "required": [
    "status",
    "verified",
    "printable",
    "metrics",
    "checks",
    "best_orientation"
  ],
  "type": "object"
}
```

## Limits

Default timeout: 5000 ms. Maximum timeout: 8000 ms.

```json
{
  "annotations": {
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false,
    "readOnlyHint": true,
    "title": "Verify printability"
  },
  "price_micro_usdc": 10000,
  "timeout_result": {
    "best_orientation": null,
    "checks": null,
    "metrics": null,
    "printable": null,
    "status": "timeout",
    "verified": false
  }
}
```

## Examples

- [Printable stand](/examples/printability-pass)
- [Thin wall and overhang](/examples/printability-thin-wall-overhang)

## Upload

Verify a binary or ASCII STL, OBJ, or 3MF body (max 4 MiB, 100000 triangles) against printability tolerances given as query parameters.

```
POST /v1/verify/mesh
Maximum bytes: 4194304
Media types: application/octet-stream, model/stl, model/obj, model/3mf
```

## Upload query

```json
{
  "additionalProperties": false,
  "properties": {
    "auto_drop_to_bed": {
      "type": "boolean"
    },
    "bed_mm": {
      "description": "Comma-separated x,y,z in mm.",
      "items": {
        "maximum": 10000,
        "minimum": 1,
        "type": "number"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    },
    "check_orientations": {
      "type": "boolean"
    },
    "max_overhang_deg": {
      "maximum": 85,
      "minimum": 5,
      "type": "number"
    },
    "min_wall_mm": {
      "maximum": 50,
      "minimum": 0.1,
      "type": "number"
    },
    "timeout_ms": {
      "maximum": 8000,
      "minimum": 100,
      "type": "integer"
    }
  },
  "type": "object"
}
```

# Check assembly fit

Verify CSG assembly interference, pairwise clearances with closest-point witnesses, and axis-aligned insertion sweeps. Minimal example: \{"parts":\[\{"name":"a","model":\{"type":"box","size":\[10,10,10\]\}\},\{"name":"b","model":\{"type":"translate","vector":\[12,0,0\],"child":\{"type":"box","size":\[10,10,10\]\}\}\}\]\}

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"parts":[{"name":"a","model":{"type":"box","size":[10,10,10]}},{"name":"b","model":{"type":"translate","vector":[12,0,0],"child":{"type":"box","size":[10,10,10]}}}]}' https://cad.burgeonads.com/v1/check/assembly-fit
```

## Input schema

```json
{
  "$defs": {
    "CsgNode": {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "box"
              }
            }
          },
          "then": {
            "required": [
              "size"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "cylinder"
              }
            }
          },
          "then": {
            "required": [
              "radius",
              "height"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "sphere"
              }
            }
          },
          "then": {
            "required": [
              "radius"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "extrude"
              }
            }
          },
          "then": {
            "required": [
              "polygon",
              "height"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "revolve"
              }
            }
          },
          "then": {
            "required": [
              "profile"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "translate"
              }
            }
          },
          "then": {
            "required": [
              "vector",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "rotate"
              }
            }
          },
          "then": {
            "required": [
              "angles_deg",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "scale"
              }
            }
          },
          "then": {
            "required": [
              "factor",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "mirror"
              }
            }
          },
          "then": {
            "required": [
              "normal",
              "child"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "enum": [
                  "union",
                  "difference",
                  "intersection"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "children": {
                "minItems": 2
              }
            },
            "required": [
              "children"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "hull"
              }
            }
          },
          "then": {
            "required": [
              "children"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "offset_2d"
              }
            }
          },
          "then": {
            "required": [
              "delta_mm",
              "child"
            ]
          }
        }
      ],
      "properties": {
        "angle_deg": {
          "default": 360,
          "maximum": 360,
          "minimum": 0.001,
          "type": "number"
        },
        "angles_deg": {
          "$ref": "#/$defs/Vec3"
        },
        "center": {
          "type": "boolean"
        },
        "child": {
          "$ref": "#/$defs/CsgNode"
        },
        "children": {
          "items": {
            "$ref": "#/$defs/CsgNode"
          },
          "minItems": 1,
          "type": "array"
        },
        "delta_mm": {
          "$ref": "#/$defs/Num"
        },
        "factor": {
          "items": {
            "maximum": 1000,
            "minimum": -1000,
            "type": "number"
          },
          "maxItems": 3,
          "minItems": 3,
          "type": "array"
        },
        "fillet_mm": {
          "maximum": 10000,
          "minimum": 0,
          "type": "number"
        },
        "height": {
          "$ref": "#/$defs/Pos"
        },
        "holes": {
          "items": {
            "$ref": "#/$defs/Ring"
          },
          "type": "array"
        },
        "join": {
          "default": "round",
          "enum": [
            "round",
            "miter",
            "square"
          ]
        },
        "normal": {
          "$ref": "#/$defs/Vec3"
        },
        "polygon": {
          "$ref": "#/$defs/Ring"
        },
        "profile": {
          "$ref": "#/$defs/Ring"
        },
        "radius": {
          "anyOf": [
            {
              "$ref": "#/$defs/Pos"
            },
            {
              "items": {
                "maximum": 10000,
                "minimum": 0,
                "type": "number"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": "array"
            }
          ]
        },
        "scale_top": {
          "default": [
            1,
            1
          ],
          "items": {
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "maxItems": 2,
          "minItems": 2,
          "type": "array"
        },
        "segments": {
          "$ref": "#/$defs/Seg"
        },
        "size": {
          "items": {
            "$ref": "#/$defs/Pos"
          },
          "maxItems": 3,
          "minItems": 3,
          "type": "array"
        },
        "twist_deg": {
          "maximum": 360,
          "minimum": -360,
          "type": "number"
        },
        "type": {
          "enum": [
            "box",
            "cylinder",
            "sphere",
            "extrude",
            "revolve",
            "translate",
            "rotate",
            "scale",
            "mirror",
            "union",
            "difference",
            "intersection",
            "hull",
            "offset_2d"
          ]
        },
        "vector": {
          "$ref": "#/$defs/Vec3"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "Mm50": {
      "maximum": 50,
      "minimum": 0,
      "type": "number"
    },
    "Name": {
      "pattern": "^[A-Za-z0-9_.-]{1,64}$",
      "type": "string"
    },
    "Num": {
      "maximum": 10000,
      "minimum": -10000,
      "type": "number"
    },
    "Pos": {
      "maximum": 10000,
      "minimum": 0.001,
      "type": "number"
    },
    "Ring": {
      "items": {
        "items": {
          "$ref": "#/$defs/Num"
        },
        "maxItems": 2,
        "minItems": 2,
        "type": "array"
      },
      "maxItems": 256,
      "minItems": 3,
      "type": "array"
    },
    "Seg": {
      "default": 32,
      "maximum": 96,
      "minimum": 3,
      "type": "integer"
    },
    "Vec3": {
      "items": {
        "$ref": "#/$defs/Num"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    }
  },
  "additionalProperties": false,
  "properties": {
    "insertion_checks": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "direction": {
            "$ref": "#/$defs/Vec3"
          },
          "part": {
            "$ref": "#/$defs/Name"
          }
        },
        "required": [
          "part",
          "direction"
        ],
        "type": "object"
      },
      "maxItems": 16,
      "type": "array"
    },
    "min_clearance_mm": {
      "default": 0.2,
      "maximum": 50,
      "minimum": 0,
      "type": "number"
    },
    "pair_rules": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "allow_contact": {
            "default": false,
            "type": "boolean"
          },
          "max_gap_mm": {
            "$ref": "#/$defs/Mm50"
          },
          "min_clearance_mm": {
            "$ref": "#/$defs/Mm50"
          },
          "part_a": {
            "$ref": "#/$defs/Name"
          },
          "part_b": {
            "$ref": "#/$defs/Name"
          }
        },
        "required": [
          "part_a",
          "part_b"
        ],
        "type": "object"
      },
      "maxItems": 120,
      "type": "array"
    },
    "parts": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "model": {
            "$ref": "#/$defs/CsgNode"
          },
          "name": {
            "$ref": "#/$defs/Name"
          },
          "role": {
            "default": "solid",
            "enum": [
              "solid",
              "keepout"
            ]
          }
        },
        "required": [
          "name",
          "model"
        ],
        "type": "object"
      },
      "maxItems": 16,
      "minItems": 2,
      "type": "array"
    },
    "timeout_ms": {
      "default": 5000,
      "maximum": 8000,
      "minimum": 100,
      "type": "integer"
    }
  },
  "required": [
    "parts"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$defs": {
    "BoxMm": {
      "properties": {
        "max_mm": {
          "$ref": "#/$defs/V3"
        },
        "min_mm": {
          "$ref": "#/$defs/V3"
        }
      },
      "required": [
        "min_mm",
        "max_mm"
      ],
      "type": "object"
    },
    "Collision": {
      "properties": {
        "part": {
          "type": "string"
        },
        "point_mm": {
          "$ref": "#/$defs/V3"
        }
      },
      "required": [
        "part",
        "point_mm"
      ],
      "type": "object"
    },
    "InsertionResult": {
      "properties": {
        "blocking_parts": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "clear": {
          "type": "boolean"
        },
        "collisions": {
          "items": {
            "$ref": "#/$defs/Collision"
          },
          "type": "array"
        },
        "direction": {
          "$ref": "#/$defs/V3"
        },
        "part": {
          "type": "string"
        }
      },
      "required": [
        "part",
        "direction",
        "clear",
        "blocking_parts",
        "collisions"
      ],
      "type": "object"
    },
    "PairResult": {
      "properties": {
        "allow_contact": {
          "type": "boolean"
        },
        "clearance_ok": {
          "type": "boolean"
        },
        "closest_points_mm": {
          "items": {
            "$ref": "#/$defs/V3"
          },
          "maxItems": 2,
          "minItems": 2,
          "type": [
            "array",
            "null"
          ]
        },
        "gap_ok": {
          "type": "boolean"
        },
        "intersection_bbox": {
          "anyOf": [
            {
              "$ref": "#/$defs/BoxMm"
            },
            {
              "type": "null"
            }
          ]
        },
        "intersection_volume_mm3": {
          "minimum": 0,
          "type": "number"
        },
        "intersects": {
          "type": "boolean"
        },
        "max_gap_mm": {
          "type": [
            "number",
            "null"
          ]
        },
        "min_distance_mm": {
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "part_a": {
          "type": "string"
        },
        "part_b": {
          "type": "string"
        },
        "required_clearance_mm": {
          "minimum": 0,
          "type": "number"
        },
        "witness_point_mm": {
          "$ref": "#/$defs/V3N"
        }
      },
      "required": [
        "part_a",
        "part_b",
        "required_clearance_mm",
        "max_gap_mm",
        "allow_contact",
        "intersects",
        "intersection_volume_mm3",
        "intersection_bbox",
        "witness_point_mm",
        "min_distance_mm",
        "closest_points_mm",
        "clearance_ok",
        "gap_ok"
      ],
      "type": "object"
    },
    "V3": {
      "items": {
        "type": "number"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": "array"
    },
    "V3N": {
      "items": {
        "type": "number"
      },
      "maxItems": 3,
      "minItems": 3,
      "type": [
        "array",
        "null"
      ]
    }
  },
  "properties": {
    "distance_search_mm": {
      "type": "number"
    },
    "fit_ok": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "insertion_results": {
      "items": {
        "$ref": "#/$defs/InsertionResult"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "pair_results": {
      "items": {
        "$ref": "#/$defs/PairResult"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "status": {
      "enum": [
        "ok",
        "timeout",
        "unknown"
      ]
    },
    "verified": {
      "type": "boolean"
    }
  },
  "required": [
    "status",
    "verified",
    "fit_ok",
    "distance_search_mm",
    "pair_results",
    "insertion_results"
  ],
  "type": "object"
}
```

## Limits

Default timeout: 5000 ms. Maximum timeout: 8000 ms.

```json
{
  "annotations": {
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false,
    "readOnlyHint": true,
    "title": "Check assembly fit"
  },
  "price_micro_usdc": 20000,
  "timeout_result": {
    "distance_search_mm": 60.0,
    "fit_ok": null,
    "insertion_results": null,
    "pair_results": null,
    "status": "timeout",
    "verified": false
  }
}
```

## Examples

- [Enclosure assembly fit](/examples/assembly-fit-ok)
- [Assembly collision](/examples/assembly-fit-collision)

# Optimize sheet layout

Nest 2D polygons with holes onto cut sheets with margin, kerf, and rotation step; returns verified placements and a 1:1 mm SVG cut sheet. Minimal example: \{"sheet\_mm":\[100,100\],"parts":\[\{"id":"p","polygon":\[\[0,0\],\[20,0\],\[20,10\],\[0,10\]\],"quantity":2\}\]\}

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"sheet_mm":[100,100],"parts":[{"id":"p","polygon":[[0,0],[20,0],[20,10],[0,10]],"quantity":2}]}' https://cad.burgeonads.com/v1/optimize/sheet-layout
```

## Input schema

```json
{
  "$defs": {
    "Name": {
      "pattern": "^[A-Za-z0-9_.-]{1,64}$",
      "type": "string"
    },
    "Num": {
      "maximum": 10000,
      "minimum": -10000,
      "type": "number"
    },
    "Ring": {
      "items": {
        "items": {
          "$ref": "#/$defs/Num"
        },
        "maxItems": 2,
        "minItems": 2,
        "type": "array"
      },
      "maxItems": 256,
      "minItems": 3,
      "type": "array"
    }
  },
  "additionalProperties": false,
  "properties": {
    "include_svg": {
      "default": true,
      "type": "boolean"
    },
    "kerf_mm": {
      "default": 0.2,
      "maximum": 20,
      "minimum": 0,
      "type": "number"
    },
    "margin_mm": {
      "default": 2,
      "maximum": 100,
      "minimum": 0,
      "type": "number"
    },
    "max_sheets": {
      "default": 1,
      "maximum": 8,
      "minimum": 1,
      "type": "integer"
    },
    "parts": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "holes": {
            "items": {
              "$ref": "#/$defs/Ring"
            },
            "type": "array"
          },
          "id": {
            "$ref": "#/$defs/Name"
          },
          "polygon": {
            "$ref": "#/$defs/Ring"
          },
          "quantity": {
            "default": 1,
            "maximum": 128,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "polygon"
        ],
        "type": "object"
      },
      "maxItems": 32,
      "minItems": 1,
      "type": "array"
    },
    "rotation_step_deg": {
      "default": 90,
      "enum": [
        0,
        90,
        45,
        15
      ]
    },
    "sheet_mm": {
      "items": {
        "maximum": 5000,
        "minimum": 10,
        "type": "number"
      },
      "maxItems": 2,
      "minItems": 2,
      "type": "array"
    },
    "timeout_ms": {
      "default": 5000,
      "maximum": 8000,
      "minimum": 100,
      "type": "integer"
    }
  },
  "required": [
    "sheet_mm",
    "parts"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$defs": {
    "Placement": {
      "properties": {
        "bbox_mm": {
          "items": {
            "type": "number"
          },
          "maxItems": 4,
          "minItems": 4,
          "type": "array"
        },
        "instance_index": {
          "$ref": "#/$defs/UInt"
        },
        "part_id": {
          "type": "string"
        },
        "rotate_deg": {
          "exclusiveMaximum": 360,
          "minimum": 0,
          "type": "number"
        },
        "sheet_index": {
          "maximum": 7,
          "minimum": 0,
          "type": "integer"
        },
        "translate_mm": {
          "$ref": "#/$defs/V2"
        }
      },
      "required": [
        "part_id",
        "instance_index",
        "sheet_index",
        "translate_mm",
        "rotate_deg",
        "bbox_mm"
      ],
      "type": "object"
    },
    "UInt": {
      "minimum": 0,
      "type": "integer"
    },
    "Unplaced": {
      "properties": {
        "instance_index": {
          "$ref": "#/$defs/UInt"
        },
        "part_id": {
          "type": "string"
        }
      },
      "required": [
        "part_id",
        "instance_index"
      ],
      "type": "object"
    },
    "V2": {
      "items": {
        "type": "number"
      },
      "maxItems": 2,
      "minItems": 2,
      "type": "array"
    }
  },
  "properties": {
    "layout_svg": {
      "maxLength": 131072,
      "type": [
        "string",
        "null"
      ]
    },
    "min_spacing_mm": {
      "minimum": 0,
      "type": [
        "number",
        "null"
      ]
    },
    "oversized_part_ids": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "placements": {
      "items": {
        "$ref": "#/$defs/Placement"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "sheet_area_mm2": {
      "exclusiveMinimum": 0,
      "type": [
        "number",
        "null"
      ]
    },
    "sheets_used": {
      "maximum": 8,
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "status": {
      "enum": [
        "placed_all",
        "partial",
        "infeasible",
        "timeout",
        "unknown"
      ]
    },
    "total_part_area_mm2": {
      "minimum": 0,
      "type": [
        "number",
        "null"
      ]
    },
    "unplaced": {
      "items": {
        "$ref": "#/$defs/Unplaced"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "unplaced_count": {
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "utilization_ratio": {
      "maximum": 1,
      "minimum": 0,
      "type": [
        "number",
        "null"
      ]
    },
    "verified": {
      "type": "boolean"
    }
  },
  "required": [
    "status",
    "verified",
    "placements",
    "unplaced",
    "unplaced_count",
    "oversized_part_ids",
    "sheets_used",
    "utilization_ratio",
    "total_part_area_mm2",
    "sheet_area_mm2",
    "min_spacing_mm",
    "layout_svg"
  ],
  "type": "object"
}
```

## Limits

Default timeout: 5000 ms. Maximum timeout: 8000 ms.

```json
{
  "annotations": {
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false,
    "readOnlyHint": true,
    "title": "Optimize sheet layout"
  },
  "price_micro_usdc": 20000,
  "timeout_result": {
    "layout_svg": null,
    "min_spacing_mm": null,
    "oversized_part_ids": null,
    "placements": null,
    "sheet_area_mm2": null,
    "sheets_used": null,
    "status": "timeout",
    "total_part_area_mm2": null,
    "unplaced": null,
    "unplaced_count": null,
    "utilization_ratio": null,
    "verified": false
  }
}
```

## Examples

- [Packed cut sheet](/examples/sheet-layout-packed)
- [Oversized part](/examples/sheet-layout-infeasible)

# Submit Feedback

Opt-in: send a bug report, schema friction note, feature request or praise about this service. Call only when you or your user explicitly choose to send feedback. Not read-only: each call stores one entry. message: 1..1000 characters of plain text. no\_sensitive\_data must be true. Do not include personal data, secrets, credentials or proprietary inputs. Global limits: 10 per UTC hour, 50 per UTC day; RATE\_LIMITED otherwise.

```
POST /v1/feedback
```

```json
{
  "additionalProperties": false,
  "properties": {
    "category": {
      "enum": [
        "bug",
        "schema",
        "geometry",
        "performance",
        "feature",
        "other"
      ],
      "type": "string"
    },
    "message": {
      "maxLength": 1000,
      "minLength": 1,
      "type": "string"
    },
    "no_sensitive_data": {
      "const": true,
      "type": "boolean"
    },
    "tool": {
      "enum": [
        "compile_parametric_part",
        "verify_printability",
        "check_assembly_fit",
        "optimize_sheet_layout"
      ],
      "type": "string"
    }
  },
  "required": [
    "category",
    "message",
    "no_sensitive_data"
  ],
  "type": "object"
}
```

# Resources and prompts

## CAD Oracle overview

Reference for overview.

```
cad://docs/overview
# CAD Oracle

## Units and coordinates
- Millimeters (`mm`), degrees (`deg`), right-handed Cartesian `(x, y, z)`, `+Z` up, build plate at `Z = 0`.
- Every verified claim sets `verified: true`. Timeouts or incomplete checks return `verified: false`.

## Endpoints
- MCP Streamable HTTP: `POST /mcp`
- REST JSON: `/v1/compile/parametric`, `/v1/verify/printability`, `/v1/check/assembly-fit`, `/v1/optimize/sheet-layout`, `/v1/feedback`
- REST binary mesh upload (`<= 4 MiB` STL/3MF/OBJ): `POST /v1/verify/mesh`

## Privacy
Zero visitor data and zero payload logging. Inputs live in memory only.

Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

## compile\_parametric\_part reference

Reference for parametric.

```
cad://docs/parametric
# compile_parametric_part

POST `/v1/compile/parametric` or MCP tool `compile_parametric_part`.

## CSG nodes
- Primitives: `box`, `cylinder`, `sphere`, `extrude`, `revolve`
- Transforms: `translate` (`vector`), `rotate` (`angles_deg`, XYZ extrinsic), `scale` (`factor`), `mirror` (`normal`); each takes one `child`
- Booleans and modifiers: `union`, `difference`, `intersection`, `hull`, `offset_2d`
- Limits: 128 nodes, depth 16, 96 segments, 256 points per profile, coordinates in `-10000..10000`.

## Outputs
Verified metrics (`bbox_min_mm`, `bbox_max_mm`, `size_mm`, `volume_mm3`, `surface_area_mm2`, `center_of_mass_mm`, topology counts), optional 3-view orthographic SVG (`<= 128 KiB`), optional cross-section (`section_z_mm` or `section_y_mm`), optional `3mf_base64`/`stl_base64` (`<= 512 KiB`).

Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

## verify\_printability reference

Reference for printability.

```
cad://docs/printability
# verify_printability

POST `/v1/verify/printability` (CSG or inline mesh `<= 25000` faces), POST `/v1/verify/mesh` (raw binary STL/3MF/OBJ `<= 4 MiB`, `<= 100000` faces), or MCP tool `verify_printability`.

## Parameters
- `bed_mm`: `[x, y, z]` (default `[220, 220, 220]`; query form `bed_mm=220,220,220`)
- `min_wall_mm`: `0.1..50` (default `1.2`)
- `max_overhang_deg`: `5..85` from vertical `+Z` (default `45`)
- `auto_drop_to_bed`: boolean (default `true`)
- `check_orientations`: boolean (default `false`; evaluates 6 axis-aligned orientations)
- `timeout_ms`: `100..8000` (default `5000`)

## Checks
`topology`, `bed_fit`, `wall_thickness`, `overhangs`, `standing_stability`.

## Mesh upload
`curl --data-binary @part.stl -H 'Content-Type: application/octet-stream' 'https://cad.burgeonads.com/v1/verify/mesh?min_wall_mm=1.2&bed_mm=220,220,220'`

Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

## check\_assembly\_fit reference

Reference for assembly-fit.

```
cad://docs/assembly-fit
# check_assembly_fit

POST `/v1/check/assembly-fit` or MCP tool `check_assembly_fit`.

## Parameters
- `parts`: `2..16` items `{name, model, role}` (`role`: `solid` or `keepout`)
- `min_clearance_mm`: `0..50` (default `0.2`)
- `pair_rules`: optional overrides `{part_a, part_b, min_clearance_mm, max_gap_mm, allow_contact}`
- `insertion_checks`: optional axis-aligned extraction sweeps `{part, direction}`

## Outputs
Per-pair collision volume, witness point, minimum distance with closest points, and sweep clearance.

Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

## optimize\_sheet\_layout reference

Reference for sheet-layout.

```
cad://docs/sheet-layout
# optimize_sheet_layout

POST `/v1/optimize/sheet-layout` or MCP tool `optimize_sheet_layout`.

## Parameters
- `sheet_mm`: `[width, height]` (`10..5000`)
- `kerf_mm`: `0..20` (default `0.2`)
- `margin_mm`: `0..100` (default `2.0`)
- `rotation_step_deg`: `0`, `90`, `45`, or `15` (default `90`)
- `parts`: `1..32` items `{id, polygon, holes, quantity}` (max 128 total instances)
- `max_sheets`: `1..8` (default `1`), `include_svg`: boolean (default `true`)

Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

## Example enclosure-base

Worked example request for compile\_parametric\_part.

```
cad://examples/enclosure-base
{"slug":"enclosure-base","tool":"compile_parametric_part","request":{"model":{"type":"difference","children":[{"type":"union","children":[{"type":"difference","children":[{"type":"box","size":[80,60,30]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[76,56,30]}}]},{"type":"translate","vector":[10,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[10,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}}]},{"type":"translate","vector":[34,-1,12],"child":{"type":"box","size":[12,4,6]}},{"type":"translate","vector":[10,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[10,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}}]},"section_z_mm":6}}
```

## Example mounting-bracket

Worked example request for compile\_parametric\_part.

```
cad://examples/mounting-bracket
{"slug":"mounting-bracket","tool":"compile_parametric_part","request":{"model":{"type":"difference","children":[{"type":"translate","vector":[0,30,0],"child":{"type":"rotate","angles_deg":[90,0,0],"child":{"type":"extrude","polygon":[[0,0],[50,0],[50,5],[5,5],[5,40],[0,40]],"height":30,"fillet_mm":1.5,"segments":24}}},{"type":"translate","vector":[32,8,-1],"child":{"type":"cylinder","radius":2.25,"height":7,"segments":24}},{"type":"translate","vector":[32,22,-1],"child":{"type":"cylinder","radius":2.25,"height":7,"segments":24}},{"type":"translate","vector":[32,8,2.5],"child":{"type":"cylinder","radius":4.0,"height":3,"segments":32}},{"type":"translate","vector":[32,22,2.5],"child":{"type":"cylinder","radius":4.0,"height":3,"segments":32}},{"type":"translate","vector":[-1,15,28],"child":{"type":"rotate","angles_deg":[0,90,0],"child":{"type":"cylinder","radius":2.5,"height":7,"segments":24}}}]},"section_y_mm":8,"export_format":"3mf_base64"}}
```

## Example printability-pass

Worked example request for verify\_printability.

```
cad://examples/printability-pass
{"slug":"printability-pass","tool":"verify_printability","request":{"model":{"type":"union","children":[{"type":"hull","children":[{"type":"box","size":[40,40,2]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[36,36,2]}}]},{"type":"translate","vector":[15,15,4],"child":{"type":"box","size":[10,10,26]}}]},"check_orientations":true}}
```

## Example printability-thin-wall-overhang

Worked example request for verify\_printability.

```
cad://examples/printability-thin-wall-overhang
{"slug":"printability-thin-wall-overhang","tool":"verify_printability","request":{"model":{"type":"union","children":[{"type":"box","size":[12,12,4]},{"type":"translate","vector":[3,3,4],"child":{"type":"box","size":[6,6,40]}},{"type":"translate","vector":[6,3,40],"child":{"type":"box","size":[60,6,4]}},{"type":"translate","vector":[0,5.6,4],"child":{"type":"box","size":[12,0.8,15]}}]}}}
```

## Example assembly-fit-ok

Worked example request for check\_assembly\_fit.

```
cad://examples/assembly-fit-ok
{"slug":"assembly-fit-ok","tool":"check_assembly_fit","request":{"parts":[{"name":"base","model":{"type":"difference","children":[{"type":"union","children":[{"type":"difference","children":[{"type":"box","size":[80,60,30]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[76,56,30]}}]},{"type":"translate","vector":[10,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[10,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}}]},{"type":"translate","vector":[34,-1,12],"child":{"type":"box","size":[12,4,6]}},{"type":"translate","vector":[10,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[10,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}}]},"role":"solid"},{"name":"lid","model":{"type":"union","children":[{"type":"translate","vector":[0,0,30],"child":{"type":"box","size":[80,60,2]}},{"type":"translate","vector":[2.25,2.25,27],"child":{"type":"box","size":[75.5,55.5,3]}}]},"role":"solid"},{"name":"pcb_keepout","model":{"type":"translate","vector":[6,6,10.25],"child":{"type":"box","size":[68,48,13.75]}},"role":"keepout"}],"min_clearance_mm":0.25,"pair_rules":[{"part_a":"base","part_b":"lid","allow_contact":true}],"insertion_checks":[{"part":"lid","direction":[0,0,1]}]}}
```

## Example assembly-fit-collision

Worked example request for check\_assembly\_fit.

```
cad://examples/assembly-fit-collision
{"slug":"assembly-fit-collision","tool":"check_assembly_fit","request":{"parts":[{"name":"base","model":{"type":"union","children":[{"type":"difference","children":[{"type":"union","children":[{"type":"difference","children":[{"type":"box","size":[80,60,30]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[76,56,30]}}]},{"type":"translate","vector":[10,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[10,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}}]},{"type":"translate","vector":[34,-1,12],"child":{"type":"box","size":[12,4,6]}},{"type":"translate","vector":[10,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[10,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}}]},{"type":"translate","vector":[40,30,1],"child":{"type":"cylinder","radius":3.5,"height":13,"segments":32}}]},"role":"solid"},{"name":"lid","model":{"type":"union","children":[{"type":"translate","vector":[0,0,30],"child":{"type":"box","size":[80,60,2]}},{"type":"translate","vector":[2.25,2.25,27],"child":{"type":"box","size":[75.5,55.5,3]}}]},"role":"solid"},{"name":"pcb_keepout","model":{"type":"translate","vector":[6,6,10.25],"child":{"type":"box","size":[68,48,13.75]}},"role":"keepout"}],"min_clearance_mm":0.25,"pair_rules":[{"part_a":"base","part_b":"lid","allow_contact":true}],"insertion_checks":[{"part":"lid","direction":[0,0,1]},{"part":"lid","direction":[0,0,-1]}]}}
```

## Example sheet-layout-packed

Worked example request for optimize\_sheet\_layout.

```
cad://examples/sheet-layout-packed
{"slug":"sheet-layout-packed","tool":"optimize_sheet_layout","request":{"sheet_mm":[300,200],"kerf_mm":0.2,"margin_mm":2,"rotation_step_deg":90,"parts":[{"id":"l_bracket","polygon":[[0,0],[60,0],[60,10],[10,10],[10,40],[0,40]],"quantity":4},{"id":"ring","polygon":[[20.0,0.0],[19.318517,5.176381],[17.320508,10.0],[14.142136,14.142136],[10.0,17.320508],[5.176381,19.318517],[0.0,20.0],[-5.176381,19.318517],[-10.0,17.320508],[-14.142136,14.142136],[-17.320508,10.0],[-19.318517,5.176381],[-20.0,0.0],[-19.318517,-5.176381],[-17.320508,-10.0],[-14.142136,-14.142136],[-10.0,-17.320508],[-5.176381,-19.318517],[-0.0,-20.0],[5.176381,-19.318517],[10.0,-17.320508],[14.142136,-14.142136],[17.320508,-10.0],[19.318517,-5.176381]],"holes":[[[10.0,0.0],[9.659258,2.58819],[8.660254,5.0],[7.071068,7.071068],[5.0,8.660254],[2.58819,9.659258],[0.0,10.0],[-2.58819,9.659258],[-5.0,8.660254],[-7.071068,7.071068],[-8.660254,5.0],[-9.659258,2.58819],[-10.0,0.0],[-9.659258,-2.58819],[-8.660254,-5.0],[-7.071068,-7.071068],[-5.0,-8.660254],[-2.58819,-9.659258],[-0.0,-10.0],[2.58819,-9.659258],[5.0,-8.660254],[7.071068,-7.071068],[8.660254,-5.0],[9.659258,-2.58819]]],"quantity":3},{"id":"plate","polygon":[[0,0],[50,0],[50,30],[0,30]],"quantity":4}]}}
```

## Example sheet-layout-infeasible

Worked example request for optimize\_sheet\_layout.

```
cad://examples/sheet-layout-infeasible
{"slug":"sheet-layout-infeasible","tool":"optimize_sheet_layout","request":{"sheet_mm":[300,200],"kerf_mm":0.2,"margin_mm":2,"parts":[{"id":"beam","polygon":[[0,0],[400,0],[400,50],[0,50]],"quantity":1},{"id":"plate","polygon":[[0,0],[50,0],[50,30],[0,30]],"quantity":2}]}}
```

## design\_printable\_part

Design, compile, and verify a printable parametric part.

```
Design a declarative CSG model in mm (+Z up) for the requested part. 1. Call compile_parametric_part to confirm manifold geometry and review the orthographic SVG. 2. Call verify_printability with bed_mm={bed_mm} and min_wall_mm={min_wall_mm}. 3. Fix any reported (x,y,z) wall, overhang, or stability witnesses until verified=true and printable=true. Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

```json
[
  {
    "choices": [
      "[220,220,220]",
      "[180,180,180]",
      "[256,256,256]",
      "[300,300,400]"
    ],
    "description": "Build volume [x,y,z] in mm.",
    "name": "bed_mm",
    "required": false
  },
  {
    "choices": [
      "1.2",
      "0.8",
      "1.6",
      "2.0"
    ],
    "description": "Minimum wall thickness in mm.",
    "name": "min_wall_mm",
    "required": false
  }
]
```

## audit\_assembly\_clearance

Audit mating clearances, collisions, and extraction paths.

```
Construct CSG models for each part and keepout of the assembly. Call check_assembly_fit with min_clearance_mm={min_clearance_mm}, explicit pair_rules for mating faces, and axis-aligned insertion_checks for removable parts. Report verified collisions, closest-point distances, and blocking parts. Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

```json
[
  {
    "choices": [
      "0.2",
      "0.1",
      "0.3",
      "0.5"
    ],
    "description": "Global clearance in mm.",
    "name": "min_clearance_mm",
    "required": false
  }
]
```

## nest\_cut\_sheet

Nest 2D parts on a cut sheet with verified kerf spacing.

```
Convert the 2D parts into simple [x,y] polygon rings in mm. Call optimize_sheet_layout with sheet_mm={sheet_mm}, kerf_mm={kerf_mm}, and include_svg=true. Confirm verified=true and report utilization_ratio and any unplaced or oversized parts. Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
```

```json
[
  {
    "choices": [
      "[300,200]",
      "[600,400]",
      "[1220,610]",
      "[1000,500]"
    ],
    "description": "Sheet [width,height] in mm.",
    "name": "sheet_mm",
    "required": false
  },
  {
    "choices": [
      "0.2",
      "0.1",
      "0.15",
      "0.3"
    ],
    "description": "Cutting kerf in mm.",
    "name": "kerf_mm",
    "required": false
  }
]
```

# Examples

Repeated content. See Examples in /index.md.

# Enclosure base

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"model":{"type":"difference","children":[{"type":"union","children":[{"type":"difference","children":[{"type":"box","size":[80,60,30]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[76,56,30]}}]},{"type":"translate","vector":[10,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[10,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}}]},{"type":"translate","vector":[34,-1,12],"child":{"type":"box","size":[12,4,6]}},{"type":"translate","vector":[10,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[10,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}}]},"section_z_mm":6}' https://cad.burgeonads.com/v1/compile/parametric
```

## Input

```json
{
  "model": {
    "children": [
      {
        "children": [
          {
            "children": [
              {
                "size": [
                  80,
                  60,
                  30
                ],
                "type": "box"
              },
              {
                "child": {
                  "size": [
                    76,
                    56,
                    30
                  ],
                  "type": "box"
                },
                "type": "translate",
                "vector": [
                  2,
                  2,
                  2
                ]
              }
            ],
            "type": "difference"
          },
          {
            "child": {
              "height": 9,
              "radius": 3.5,
              "segments": 32,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              10,
              10,
              1
            ]
          },
          {
            "child": {
              "height": 9,
              "radius": 3.5,
              "segments": 32,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              70,
              10,
              1
            ]
          },
          {
            "child": {
              "height": 9,
              "radius": 3.5,
              "segments": 32,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              10,
              50,
              1
            ]
          },
          {
            "child": {
              "height": 9,
              "radius": 3.5,
              "segments": 32,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              70,
              50,
              1
            ]
          }
        ],
        "type": "union"
      },
      {
        "child": {
          "size": [
            12,
            4,
            6
          ],
          "type": "box"
        },
        "type": "translate",
        "vector": [
          34,
          -1,
          12
        ]
      },
      {
        "child": {
          "height": 7,
          "radius": 1.25,
          "segments": 24,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          10,
          10,
          4
        ]
      },
      {
        "child": {
          "height": 7,
          "radius": 1.25,
          "segments": 24,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          70,
          10,
          4
        ]
      },
      {
        "child": {
          "height": 7,
          "radius": 1.25,
          "segments": 24,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          10,
          50,
          4
        ]
      },
      {
        "child": {
          "height": 7,
          "radius": 1.25,
          "segments": 24,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          70,
          50,
          4
        ]
      }
    ],
    "type": "difference"
  },
  "section_z_mm": 6
}
```

## Output

```json
{
  "artifact_base64": null,
  "artifact_bytes": null,
  "artifact_format": null,
  "artifact_sha256": null,
  "blueprint_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 215.08 156.96\" width=\"800\" height=\"584\" font-family=\"monospace\" font-size=\"3.6\" fill=\"#1d2b3a\"><rect width=\"215.08\" height=\"156.96\" fill=\"#ffffff\"/><path fill=\"#e9eff5\" fill-rule=\"evenodd\" d=\"M95.12 14.4 L15.12 14.4 L15.12 74.4 L95.12 74.4Z\"/><path fill=\"none\" stroke=\"#6b7c8e\" stroke-width=\"0.192\" stroke-dasharray=\"0.96 0.72\" d=\"M49.12 74.4L49.12 72.4M49.12 74.4L61.12 74.4M49.12 72.4L61.12 72.4M61.12 74.4L61.12 72.4\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" stroke-linecap=\"round\" d=\"M15.12 74.4L15.12 14.4M15.12 74.4L95.12 74.4M15.12 14.4L95.12 14.4M17.12 72.4L17.12 16.4M17.12 72.4L93.12 72.4M17.12 16.4L93.12 16.4M21.62 64.4L21.687 63.717M21.62 24.4L21.687 23.717M21.687 65.083L21.62 64.4M21.687 63.717L21.886 63.061M21.687 25.083L21.62 24.4M21.687 23.717L21.886 23.061M21.886 65.739L21.687 65.083M21.886 63.061L22.21 62.456M21.886 25.739L21.687 25.083M21.886 25.739L22.21 26.344M21.886 23.061L22.21 22.456M22.21 66.344L21.886 65.739M22.21 66.344L22.645 66.875M22.21 62.456L22.645 61.925M22.21 26.344L22.645 26.875M22.21 22.456L22.645 21.925M22.645 61.925L23.176 61.49M22.645 21.925L23.176 21.49M23.176 67.31L22.645 66.875M23.176 67.31L23.781 67.634M23.176 61.49L23.781 61.166M23.176 27.31L22.645 26.875M23.176 21.49L23.781 21.166M23.781 67.634L24.437 67.833M23.781 61.166L24.437 60.967M23.781 27.634L23.176 27.31M23.781 27.634L24.437 27.833M23.781 21.166L24.437 20.967M23.87 64.4L23.913 64.076M23.87 24.4L23.913 24.076M23.913 64.724L23.87 64.4M23.913 64.076L24.037 63.775M23.913 24.724L23.87 24.4M23.913 24.076L24.037 23.775M24.037 65.025L23.913 64.724M24.037 63.775L24.236 63.516M24.037 25.025L23.913 24.724M24.037 23.775L24.236 23.516M24.236 65.284L24.037 65.025M24.236 65.284L24.495 65.483M24.236 63.516L24.495 63.317M24.236 25.284L24.037 25.025M24.236 25.284L24.495 25.483M24.236 23.516L24.495 23.317M24.437 67.833L25.12 67.9M24.437 60.967L25.12 60.9M24.437 27.833L25.12 27.9M24.437 20.967L25.12 20.9M24.495 63.317L24.796 63.193M24.495 25.483L24.796 25.607M24.495 23.317L24.796 23.193M24.796 65.607L24.495 65.483M24.796 65.607L25.12 65.65M24.796 63.193L25.12 63.15M24.796 25.607L25.12 25.65M24.796 23.193L25.12 23.15M25.12 67.9L25.803 67.833M25.12 65.65L25.444 65.607M25.12 60.9L25.803 60.967M25.12 27.9L25.803 27.833M25.12 25.65L25.444 25.607M25.12 23.15L25.444 23.193M25.444 65.607L25.745 65.483M25.444 63.193L25.12 63.15M25.444 63.193L25.745 63.317M25.444 25.607L25.745 25.483M25.444 23.193L25.745 23.317M25.745 65.483L26.004 65.284M25.745 25.483L26.004 25.284M25.745 23.317L26.004 23.516M25.803 67.833L26.459 67.634M25.803 60.967L26.459 61.166M25.803 27.833L26.459 27.634M25.803 20.967L25.12 20.9M25.803 20.967L26.459 21.166M26.004 65.284L26.203 65.025M26.004 63.516L25.745 63.317M26.004 25.284L26.203 25.025M26.004 23.516L26.203 23.775M26.203 65.025L26.327 64.724M26.203 63.775L26.004 63.516M26.203 25.025L26.327 24.724M26.327 64.724L26.37 64.4M26.327 64.076L26.203 63.775M26.327 64.076L26.37 64.4M26.327 24.724L26.37 24.4M26.327 24.076L26.203 23.775M26.327 24.076L26.37 24.4M26.459 67.634L27.064 67.31M26.459 27.634L27.064 27.31M26.459 21.166L27.064 21.49M27.064 67.31L27.595 66.875M27.064 61.49L26.459 61.166M27.064 27.31L27.595 26.875M27.595 66.875L28.03 66.344M27.595 61.925L27.064 61.49M27.595 61.925L28.03 62.456M27.595 26.875L28.03 26.344M27.595 21.925L27.064 21.49M27.595 21.925L28.03 22.456M28.03 66.344L28.354 65.739M28.03 62.456L28.354 63.061M28.03 26.344L28.354 25.739M28.354 65.739L28.553 65.083M28.354 25.739L28.553 25.083M28.354 23.061L28.03 22.456M28.553 65.083L28.62 64.4M28.553 63.717L28.354 63.061M28.553 25.083L28.62 24.4M28.553 23.717L28.354 23.061M28.62 64.4L28.553 63.717M28.62 24.4L28.553 23.717M81.62 64.4L81.687 63.717M81.62 24.4L81.687 23.717M81.687 65.083L81.62 64.4M81.687 63.717L81.886 63.061M81.687 25.083L81.62 24.4M81.687 23.717L81.886 23.061M81.886 65.739L81.687 65.083M81.886 63.061L82.21 62.456M81.886 25.739L81.687 25.083M81.886 25.739L82.21 26.344M81.886 23.061L82.21 22.456M82.21 66.344L81.886 65.739M82.21 66.344L82.645 66.875M82.21 62.456L82.645 61.925M82.21 26.344L82.645 26.875M82.21 22.456L82.645 21.925M82.645 61.925L83.176 61.49M82.645 21.925L83.176 21.49M83.176 67.31L82.645 66.875M83.176 67.31L83.781 67.634M83.176 61.49L83.781 61.166M83.176 27.31L82.645 26.875M83.176 21.49L83.781 21.166M83.781 67.634L84.437 67.833M83.781 61.166L84.437 60.967M83.781 27.634L83.176 27.31M83.781 27.634L84.437 27.833M83.781 21.166L84.437 20.967M83.87 64.4L83.913 64.076M83.87 24.4L83.913 24.076M83.913 64.724L83.87 64.4M83.913 64.076L84.037 63.775M83.913 24.724L83.87 24.4M83.913 24.076L84.037 23.775M84.037 65.025L83.913 64.724M84.037 63.775L84.236 63.516M84.037 25.025L83.913 24.724M84.037 23.775L84.236 23.516M84.236 65.284L84.037 65.025M84.236 65.284L84.495 65.483M84.236 63.516L84.495 63.317M84.236 25.284L84.037 25.025M84.236 25.284L84.495 25.483M84.236 23.516L84.495 23.317M84.437 67.833L85.12 67.9M84.437 60.967L85.12 60.9M84.437 27.833L85.12 27.9M84.437 20.967L85.12 20.9M84.495 63.317L84.796 63.193M84.495 25.483L84.796 25.607M84.495 23.317L84.796 23.193M84.796 65.607L84.495 65.483M84.796 65.607L85.12 65.65M84.796 63.193L85.12 63.15M84.796 25.607L85.12 25.65M84.796 23.193L85.12 23.15M85.12 67.9L85.803 67.833M85.12 65.65L85.444 65.607M85.12 60.9L85.803 60.967M85.12 27.9L85.803 27.833M85.12 25.65L85.444 25.607M85.12 23.15L85.444 23.193M85.444 65.607L85.745 65.483M85.444 63.193L85.12 63.15M85.444 63.193L85.745 63.317M85.444 25.607L85.745 25.483M85.444 23.193L85.745 23.317M85.745 65.483L86.004 65.284M85.745 25.483L86.004 25.284M85.745 23.317L86.004 23.516M85.803 67.833L86.459 67.634M85.803 60.967L86.459 61.166M85.803 27.833L86.459 27.634M85.803 20.967L85.12 20.9M85.803 20.967L86.459 21.166M86.004 65.284L86.203 65.025M86.004 63.516L85.745 63.317M86.004 25.284L86.203 25.025M86.004 23.516L86.203 23.775M86.203 65.025L86.327 64.724M86.203 63.775L86.004 63.516M86.203 25.025L86.327 24.724M86.327 64.724L86.37 64.4M86.327 64.076L86.203 63.775M86.327 64.076L86.37 64.4M86.327 24.724L86.37 24.4M86.327 24.076L86.203 23.775M86.327 24.076L86.37 24.4M86.459 67.634L87.064 67.31M86.459 27.634L87.064 27.31M86.459 21.166L87.064 21.49M87.064 67.31L87.595 66.875M87.064 61.49L86.459 61.166M87.064 27.31L87.595 26.875M87.595 66.875L88.03 66.344M87.595 61.925L87.064 61.49M87.595 61.925L88.03 62.456M87.595 26.875L88.03 26.344M87.595 21.925L87.064 21.49M87.595 21.925L88.03 22.456M88.03 66.344L88.354 65.739M88.03 62.456L88.354 63.061M88.03 26.344L88.354 25.739M88.354 65.739L88.553 65.083M88.354 25.739L88.553 25.083M88.354 23.061L88.03 22.456M88.553 65.083L88.62 64.4M88.553 63.717L88.354 63.061M88.553 25.083L88.62 24.4M88.553 23.717L88.354 23.061M88.62 64.4L88.553 63.717M88.62 24.4L88.553 23.717M93.12 72.4L93.12 16.4M95.12 74.4L95.12 14.4\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.384\" stroke-linejoin=\"round\" d=\"M95.12 14.4 L15.12 14.4 L15.12 74.4 L95.12 74.4Z\"/><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M15.12 75.36V82.572M95.12 75.36V82.572M15.12 81.312H95.12\"/><path fill=\"#3a5a7a\" d=\"M15.12 81.312l2.52 -0.63v1.26ZM95.12 81.312l-2.52 -0.63v1.26Z\"/><text x=\"55.12\" y=\"85.632\" text-anchor=\"middle\">80.00</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M14.16 74.4H6.948M14.16 14.4H6.948M8.208 74.4V14.4\"/><path fill=\"#3a5a7a\" d=\"M8.208 74.4l-0.63 2.52h1.26ZM8.208 14.4l-0.63 -2.52h1.26Z\"/><text x=\"6.408\" y=\"44.4\" text-anchor=\"middle\" transform=\"rotate(-90 6.408 44.4)\">60.00</text><text x=\"15.12\" y=\"11.52\">Top XY</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M97.28 12.24h4.32M97.28 12.24v-4.32\"/><path fill=\"#3a5a7a\" d=\"M101.6 12.24l-2.016 -0.504v1.008ZM97.28 7.92l-0.504 2.016h1.008Z\"/><text x=\"102.464\" y=\"13.248\">X</text><text x=\"96.272\" y=\"7.056\">Y</text><path fill=\"#e9eff5\" fill-rule=\"evenodd\" d=\"M95.12 102.84 L15.12 102.84 L15.12 132.84 L95.12 132.84Z\"/><path fill=\"none\" stroke=\"#6b7c8e\" stroke-width=\"0.192\" stroke-dasharray=\"0.96 0.72\" d=\"M17.12 130.84L17.12 102.84M17.12 130.84L93.12 130.84M17.12 102.84L93.12 102.84M21.62 130.84L21.62 122.84M21.687 130.84L21.62 130.84M21.687 122.84L21.62 122.84M21.886 130.84L21.687 130.84M21.886 122.84L21.687 122.84M22.21 130.84L21.886 130.84M22.21 130.84L22.645 130.84M22.21 122.84L21.886 122.84M22.21 122.84L22.645 122.84M23.176 130.84L22.645 130.84M23.176 130.84L23.781 130.84M23.176 122.84L22.645 122.84M23.176 122.84L23.781 122.84M23.781 130.84L24.437 130.84M23.781 122.84L24.437 122.84M23.87 128.84L23.87 122.84M23.913 128.84L23.87 128.84M23.913 122.84L23.87 122.84M24.037 128.84L23.913 128.84M24.037 122.84L23.913 122.84M24.236 128.84L24.037 128.84M24.236 128.84L24.495 128.84M24.236 122.84L24.037 122.84M24.236 122.84L24.495 122.84M24.437 130.84L25.12 130.84M24.437 122.84L25.12 122.84M24.796 128.84L24.495 128.84M24.796 128.84L25.12 128.84M24.796 122.84L24.495 122.84M24.796 122.84L25.12 122.84M25.12 130.84L25.803 130.84M25.12 128.84L25.444 128.84M25.12 122.84L25.444 122.84M25.12 122.84L25.803 122.84M25.444 128.84L25.745 128.84M25.444 122.84L25.745 122.84M25.745 128.84L26.004 128.84M25.745 122.84L26.004 122.84M25.803 130.84L26.459 130.84M25.803 122.84L26.459 122.84M26.004 128.84L26.203 128.84M26.004 122.84L26.203 122.84M26.203 128.84L26.327 128.84M26.203 122.84L26.327 122.84M26.327 128.84L26.37 128.84M26.327 122.84L26.37 122.84M26.37 128.84L26.37 122.84M26.459 130.84L27.064 130.84M26.459 122.84L27.064 122.84M27.064 130.84L27.595 130.84M27.064 122.84L27.595 122.84M27.595 130.84L28.03 130.84M27.595 122.84L28.03 122.84M28.03 130.84L28.354 130.84M28.03 122.84L28.354 122.84M28.354 130.84L28.553 130.84M28.354 122.84L28.553 122.84M28.553 130.84L28.62 130.84M28.553 122.84L28.62 122.84M28.62 130.84L28.62 122.84M81.62 130.84L81.62 122.84M81.687 130.84L81.62 130.84M81.687 122.84L81.62 122.84M81.886 130.84L81.687 130.84M81.886 122.84L81.687 122.84M82.21 130.84L81.886 130.84M82.21 130.84L82.645 130.84M82.21 122.84L81.886 122.84M82.21 122.84L82.645 122.84M83.176 130.84L82.645 130.84M83.176 130.84L83.781 130.84M83.176 122.84L82.645 122.84M83.176 122.84L83.781 122.84M83.781 130.84L84.437 130.84M83.781 122.84L84.437 122.84M83.87 128.84L83.87 122.84M83.913 128.84L83.87 128.84M83.913 122.84L83.87 122.84M84.037 128.84L83.913 128.84M84.037 122.84L83.913 122.84M84.236 128.84L84.037 128.84M84.236 128.84L84.495 128.84M84.236 122.84L84.037 122.84M84.236 122.84L84.495 122.84M84.437 130.84L85.12 130.84M84.437 122.84L85.12 122.84M84.796 128.84L84.495 128.84M84.796 128.84L85.12 128.84M84.796 122.84L84.495 122.84M84.796 122.84L85.12 122.84M85.12 130.84L85.803 130.84M85.12 128.84L85.444 128.84M85.12 122.84L85.444 122.84M85.12 122.84L85.803 122.84M85.444 128.84L85.745 128.84M85.444 122.84L85.745 122.84M85.745 128.84L86.004 128.84M85.745 122.84L86.004 122.84M85.803 130.84L86.459 130.84M85.803 122.84L86.459 122.84M86.004 128.84L86.203 128.84M86.004 122.84L86.203 122.84M86.203 128.84L86.327 128.84M86.203 122.84L86.327 122.84M86.327 128.84L86.37 128.84M86.327 122.84L86.37 122.84M86.37 128.84L86.37 122.84M86.459 130.84L87.064 130.84M86.459 122.84L87.064 122.84M87.064 130.84L87.595 130.84M87.064 122.84L87.595 122.84M87.595 130.84L88.03 130.84M87.595 122.84L88.03 122.84M88.03 130.84L88.354 130.84M88.03 122.84L88.354 122.84M88.354 130.84L88.553 130.84M88.354 122.84L88.553 122.84M88.553 130.84L88.62 130.84M88.553 122.84L88.62 122.84M88.62 130.84L88.62 122.84M93.12 130.84L93.12 102.84\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" stroke-linecap=\"round\" d=\"M15.12 132.84L15.12 102.84M15.12 132.84L95.12 132.84M15.12 102.84L95.12 102.84M49.12 120.84L49.12 114.84M49.12 120.84L61.12 120.84M49.12 114.84L61.12 114.84M61.12 120.84L61.12 114.84M95.12 132.84L95.12 102.84\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.384\" stroke-linejoin=\"round\" d=\"M95.12 102.84 L15.12 102.84 L15.12 132.84 L95.12 132.84Z\"/><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M15.12 133.8V141.012M95.12 133.8V141.012M15.12 139.752H95.12\"/><path fill=\"#3a5a7a\" d=\"M15.12 139.752l2.52 -0.63v1.26ZM95.12 139.752l-2.52 -0.63v1.26Z\"/><text x=\"55.12\" y=\"144.072\" text-anchor=\"middle\">80.00</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M14.16 132.84H6.948M14.16 102.84H6.948M8.208 132.84V102.84\"/><path fill=\"#3a5a7a\" d=\"M8.208 132.84l-0.63 2.52h1.26ZM8.208 102.84l-0.63 -2.52h1.26Z\"/><text x=\"6.408\" y=\"117.84\" text-anchor=\"middle\" transform=\"rotate(-90 6.408 117.84)\">30.00</text><text x=\"15.12\" y=\"99.96\">Front XZ</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M97.28 100.68h4.32M97.28 100.68v-4.32\"/><path fill=\"#3a5a7a\" d=\"M101.6 100.68l-2.016 -0.504v1.008ZM97.28 96.36l-0.504 2.016h1.008Z\"/><text x=\"102.464\" y=\"101.688\">X</text><text x=\"96.272\" y=\"95.496\">Z</text><path fill=\"#e9eff5\" fill-rule=\"evenodd\" d=\"M183.56 102.84 L123.56 102.84 L123.56 132.84 L183.56 132.84Z\"/><path fill=\"none\" stroke=\"#6b7c8e\" stroke-width=\"0.192\" stroke-dasharray=\"0.96 0.72\" d=\"M123.56 120.84L123.56 114.84M123.56 120.84L125.56 120.84M123.56 114.84L125.56 114.84M125.56 130.84L125.56 102.84M125.56 130.84L181.56 130.84M125.56 120.84L125.56 114.84M125.56 102.84L181.56 102.84M130.06 130.84L130.06 122.84M130.127 130.84L130.06 130.84M130.127 122.84L130.06 122.84M130.326 130.84L130.127 130.84M130.326 122.84L130.127 122.84M130.65 130.84L130.326 130.84M130.65 130.84L131.085 130.84M130.65 122.84L130.326 122.84M130.65 122.84L131.085 122.84M131.616 130.84L131.085 130.84M131.616 130.84L132.221 130.84M131.616 122.84L131.085 122.84M131.616 122.84L132.221 122.84M132.221 130.84L132.877 130.84M132.221 122.84L132.877 122.84M132.31 128.84L132.31 122.84M132.353 128.84L132.31 128.84M132.353 128.84L132.477 128.84M132.353 122.84L132.31 122.84M132.353 122.84L132.477 122.84M132.676 128.84L132.477 128.84M132.676 128.84L132.935 128.84M132.676 122.84L132.477 122.84M132.676 122.84L132.935 122.84M132.877 130.84L133.56 130.84M132.877 122.84L133.56 122.84M132.935 128.84L133.236 128.84M132.935 122.84L133.236 122.84M133.236 128.84L133.56 128.84M133.236 122.84L133.56 122.84M133.56 130.84L134.243 130.84M133.56 128.84L133.884 128.84M133.56 122.84L133.884 122.84M133.56 122.84L134.243 122.84M133.884 128.84L134.185 128.84M133.884 122.84L134.185 122.84M134.185 128.84L134.444 128.84M134.185 122.84L134.444 122.84M134.243 130.84L134.899 130.84M134.243 122.84L134.899 122.84M134.444 128.84L134.643 128.84M134.444 122.84L134.643 122.84M134.643 128.84L134.767 128.84M134.643 122.84L134.767 122.84M134.767 128.84L134.81 128.84M134.767 122.84L134.81 122.84M134.81 128.84L134.81 122.84M134.899 130.84L135.504 130.84M134.899 122.84L135.504 122.84M135.504 130.84L136.035 130.84M135.504 122.84L136.035 122.84M136.035 130.84L136.47 130.84M136.035 122.84L136.47 122.84M136.47 130.84L136.794 130.84M136.47 122.84L136.794 122.84M136.794 130.84L136.993 130.84M136.794 122.84L136.993 122.84M136.993 130.84L137.06 130.84M136.993 122.84L137.06 122.84M137.06 130.84L137.06 122.84M170.06 130.84L170.06 122.84M170.127 130.84L170.06 130.84M170.127 122.84L170.06 122.84M170.326 130.84L170.127 130.84M170.326 130.84L170.65 130.84M170.326 122.84L170.127 122.84M170.326 122.84L170.65 122.84M170.65 130.84L171.085 130.84M170.65 122.84L171.085 122.84M171.616 130.84L171.085 130.84M171.616 122.84L171.085 122.84M172.221 130.84L171.616 130.84M172.221 130.84L172.877 130.84M172.221 122.84L171.616 122.84M172.221 122.84L172.877 122.84M172.31 128.84L172.31 122.84M172.353 128.84L172.31 128.84M172.353 122.84L172.31 122.84M172.477 128.84L172.353 128.84M172.477 122.84L172.353 122.84M172.676 128.84L172.477 128.84M172.676 128.84L172.935 128.84M172.676 122.84L172.477 122.84M172.676 122.84L172.935 122.84M172.877 130.84L173.56 130.84M172.877 122.84L173.56 122.84M172.935 128.84L173.236 128.84M172.935 122.84L173.236 122.84M173.236 128.84L173.56 128.84M173.236 122.84L173.56 122.84M173.56 130.84L174.243 130.84M173.56 128.84L173.884 128.84M173.56 122.84L173.884 122.84M173.56 122.84L174.243 122.84M173.884 128.84L174.185 128.84M173.884 122.84L174.185 122.84M174.185 128.84L174.444 128.84M174.185 122.84L174.444 122.84M174.243 130.84L174.899 130.84M174.243 122.84L174.899 122.84M174.444 128.84L174.643 128.84M174.444 122.84L174.643 122.84M174.643 128.84L174.767 128.84M174.643 122.84L174.767 122.84M174.767 128.84L174.81 128.84M174.767 122.84L174.81 122.84M174.81 128.84L174.81 122.84M174.899 130.84L175.504 130.84M174.899 122.84L175.504 122.84M175.504 130.84L176.035 130.84M175.504 122.84L176.035 122.84M176.035 130.84L176.47 130.84M176.035 122.84L176.47 122.84M176.47 130.84L176.794 130.84M176.47 122.84L176.794 122.84M176.794 130.84L176.993 130.84M176.794 122.84L176.993 122.84M176.993 130.84L177.06 130.84M176.993 122.84L177.06 122.84M177.06 130.84L177.06 122.84M181.56 130.84L181.56 102.84\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" stroke-linecap=\"round\" d=\"M123.56 132.84L123.56 102.84M123.56 132.84L183.56 132.84M123.56 102.84L183.56 102.84M183.56 132.84L183.56 102.84\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.384\" stroke-linejoin=\"round\" d=\"M183.56 102.84 L123.56 102.84 L123.56 132.84 L183.56 132.84Z\"/><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M123.56 133.8V141.012M183.56 133.8V141.012M123.56 139.752H183.56\"/><path fill=\"#3a5a7a\" d=\"M123.56 139.752l2.52 -0.63v1.26ZM183.56 139.752l-2.52 -0.63v1.26Z\"/><text x=\"153.56\" y=\"144.072\" text-anchor=\"middle\">60.00</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M122.6 132.84H115.388M122.6 102.84H115.388M116.648 132.84V102.84\"/><path fill=\"#3a5a7a\" d=\"M116.648 132.84l-0.63 2.52h1.26ZM116.648 102.84l-0.63 -2.52h1.26Z\"/><text x=\"114.848\" y=\"117.84\" text-anchor=\"middle\" transform=\"rotate(-90 114.848 117.84)\">30.00</text><text x=\"123.56\" y=\"99.96\">Right YZ</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.168\" d=\"M185.72 100.68h4.32M185.72 100.68v-4.32\"/><path fill=\"#3a5a7a\" d=\"M190.04 100.68l-2.016 -0.504v1.008ZM185.72 96.36l-0.504 2.016h1.008Z\"/><text x=\"190.904\" y=\"101.688\">Y</text><text x=\"184.712\" y=\"95.496\">Z</text><path fill=\"#c7d3df\" stroke=\"#1d2b3a\" stroke-width=\"0.384\" fill-rule=\"evenodd\" d=\"M203.56 26.4 L203.56 14.4 L139.56 14.4 L123.56 14.4 L123.56 62.4 L123.56 74.4 L134.893 74.4 L140.56 74.4 L146.56 74.4 L186.56 74.4 L203.56 74.4ZM125.56 64.4 L125.56 16.4 L136.417 16.4 L201.56 16.4 L201.56 24.4 L201.56 72.4 L193.56 72.4 L188.76 72.4 L143.16 72.4 L138.36 72.4 L133.56 72.4 L125.56 72.4ZM133.901 27.866 L134.243 27.833 L134.571 27.733 L134.899 27.634 L135.202 27.472 L135.504 27.31 L135.77 27.093 L136.035 26.875 L136.253 26.61 L136.47 26.344 L136.632 26.042 L136.794 25.739 L136.893 25.411 L136.993 25.083 L137.026 24.741 L137.06 24.4 L137.026 24.059 L136.993 23.717 L136.893 23.389 L136.794 23.061 L136.632 22.758 L136.47 22.456 L136.253 22.19 L136.035 21.925 L135.77 21.707 L135.504 21.49 L135.202 21.328 L134.899 21.166 L134.571 21.067 L134.243 20.967 L133.901 20.934 L133.56 20.9 L133.219 20.934 L132.877 20.967 L132.549 21.067 L132.221 21.166 L131.918 21.328 L131.616 21.49 L131.35 21.707 L131.085 21.925 L130.867 22.19 L130.65 22.456 L130.488 22.758 L130.326 23.061 L130.227 23.389 L130.127 23.717 L130.094 24.059 L130.06 24.4 L130.094 24.741 L130.127 25.083 L130.227 25.411 L130.326 25.739 L130.488 26.042 L130.65 26.344 L130.867 26.61 L131.085 26.875 L131.35 27.093 L131.616 27.31 L131.918 27.472 L132.221 27.634 L132.549 27.733 L132.877 27.833 L133.219 27.866 L133.56 27.9ZM193.901 27.866 L194.243 27.833 L194.571 27.733 L194.899 27.634 L195.202 27.472 L195.504 27.31 L195.77 27.093 L196.035 26.875 L196.253 26.61 L196.47 26.344 L196.632 26.042 L196.794 25.739 L196.893 25.411 L196.993 25.083 L197.026 24.741 L197.06 24.4 L197.026 24.059 L196.993 23.717 L196.893 23.389 L196.794 23.061 L196.632 22.758 L196.47 22.456 L196.253 22.19 L196.035 21.925 L195.77 21.707 L195.504 21.49 L195.202 21.328 L194.899 21.166 L194.571 21.067 L194.243 20.967 L193.901 20.934 L193.56 20.9 L193.219 20.934 L192.877 20.967 L192.549 21.067 L192.221 21.166 L191.918 21.328 L191.616 21.49 L191.35 21.707 L191.085 21.925 L190.867 22.19 L190.65 22.456 L190.488 22.758 L190.326 23.061 L190.227 23.389 L190.127 23.717 L190.094 24.059 L190.06 24.4 L190.094 24.741 L190.127 25.083 L190.227 25.411 L190.326 25.739 L190.488 26.042 L190.65 26.344 L190.867 26.61 L191.085 26.875 L191.35 27.093 L191.616 27.31 L191.918 27.472 L192.221 27.634 L192.549 27.733 L192.877 27.833 L193.219 27.866 L193.56 27.9ZM133.452 25.636 L133.236 25.607 L133.136 25.566 L132.935 25.483 L132.849 25.416 L132.676 25.284 L132.61 25.198 L132.477 25.025 L132.436 24.925 L132.353 24.724 L132.338 24.616 L132.31 24.4 L132.324 24.292 L132.353 24.076 L132.394 23.976 L132.477 23.775 L132.544 23.689 L132.676 23.516 L132.762 23.45 L132.935 23.317 L133.035 23.276 L133.236 23.193 L133.344 23.178 L133.56 23.15 L133.668 23.164 L133.884 23.193 L133.984 23.234 L134.185 23.317 L134.271 23.384 L134.444 23.516 L134.51 23.602 L134.643 23.775 L134.684 23.875 L134.767 24.076 L134.782 24.184 L134.81 24.4 L134.796 24.508 L134.767 24.724 L134.726 24.824 L134.643 25.025 L134.576 25.111 L134.444 25.284 L134.358 25.35 L134.185 25.483 L134.085 25.524 L133.884 25.607 L133.776 25.622 L133.56 25.65ZM193.452 25.636 L193.236 25.607 L193.136 25.566 L192.935 25.483 L192.849 25.416 L192.676 25.284 L192.61 25.198 L192.477 25.025 L192.436 24.925 L192.353 24.724 L192.338 24.616 L192.31 24.4 L192.324 24.292 L192.353 24.076 L192.394 23.976 L192.477 23.775 L192.544 23.689 L192.676 23.516 L192.762 23.45 L192.935 23.317 L193.035 23.276 L193.236 23.193 L193.344 23.178 L193.56 23.15 L193.668 23.164 L193.884 23.193 L193.984 23.234 L194.185 23.317 L194.271 23.384 L194.444 23.516 L194.51 23.602 L194.643 23.775 L194.684 23.875 L194.767 24.076 L194.782 24.184 L194.81 24.4 L194.796 24.508 L194.767 24.724 L194.726 24.824 L194.643 25.025 L194.576 25.111 L194.444 25.284 L194.358 25.35 L194.185 25.483 L194.085 25.524 L193.884 25.607 L193.776 25.622 L193.56 25.65ZM133.901 67.866 L134.243 67.833 L134.571 67.733 L134.899 67.634 L135.202 67.472 L135.504 67.31 L135.77 67.093 L136.035 66.875 L136.253 66.61 L136.47 66.344 L136.632 66.042 L136.794 65.739 L136.893 65.411 L136.993 65.083 L137.026 64.741 L137.06 64.4 L137.026 64.059 L136.993 63.717 L136.893 63.389 L136.794 63.061 L136.632 62.758 L136.47 62.456 L136.253 62.19 L136.035 61.925 L135.77 61.707 L135.504 61.49 L135.202 61.328 L134.899 61.166 L134.571 61.067 L134.243 60.967 L133.901 60.934 L133.56 60.9 L133.219 60.934 L132.877 60.967 L132.549 61.067 L132.221 61.166 L131.918 61.328 L131.616 61.49 L131.35 61.707 L131.085 61.925 L130.867 62.19 L130.65 62.456 L130.488 62.758 L130.326 63.061 L130.227 63.389 L130.127 63.717 L130.094 64.059 L130.06 64.4 L130.094 64.741 L130.127 65.083 L130.227 65.411 L130.326 65.739 L130.488 66.042 L130.65 66.344 L130.867 66.61 L131.085 66.875 L131.35 67.093 L131.616 67.31 L131.918 67.472 L132.221 67.634 L132.549 67.733 L132.877 67.833 L133.219 67.866 L133.56 67.9ZM193.901 67.866 L194.243 67.833 L194.571 67.733 L194.899 67.634 L195.202 67.472 L195.504 67.31 L195.77 67.093 L196.035 66.875 L196.253 66.61 L196.47 66.344 L196.632 66.042 L196.794 65.739 L196.893 65.411 L196.993 65.083 L197.026 64.741 L197.06 64.4 L197.026 64.059 L196.993 63.717 L196.893 63.389 L196.794 63.061 L196.632 62.758 L196.47 62.456 L196.253 62.19 L196.035 61.925 L195.77 61.707 L195.504 61.49 L195.202 61.328 L194.899 61.166 L194.571 61.067 L194.243 60.967 L193.901 60.934 L193.56 60.9 L193.219 60.934 L192.877 60.967 L192.549 61.067 L192.221 61.166 L191.918 61.328 L191.616 61.49 L191.35 61.707 L191.085 61.925 L190.867 62.19 L190.65 62.456 L190.488 62.758 L190.326 63.061 L190.227 63.389 L190.127 63.717 L190.094 64.059 L190.06 64.4 L190.094 64.741 L190.127 65.083 L190.227 65.411 L190.326 65.739 L190.488 66.042 L190.65 66.344 L190.867 66.61 L191.085 66.875 L191.35 67.093 L191.616 67.31 L191.918 67.472 L192.221 67.634 L192.549 67.733 L192.877 67.833 L193.219 67.866 L193.56 67.9ZM133.452 65.636 L133.236 65.607 L133.136 65.566 L132.935 65.483 L132.849 65.416 L132.676 65.284 L132.61 65.198 L132.477 65.025 L132.436 64.925 L132.353 64.724 L132.338 64.616 L132.31 64.4 L132.324 64.292 L132.353 64.076 L132.394 63.976 L132.477 63.775 L132.544 63.689 L132.676 63.516 L132.762 63.45 L132.935 63.317 L133.035 63.276 L133.236 63.193 L133.344 63.178 L133.56 63.15 L133.668 63.164 L133.884 63.193 L133.984 63.234 L134.185 63.317 L134.271 63.384 L134.444 63.516 L134.51 63.602 L134.643 63.775 L134.684 63.875 L134.767 64.076 L134.782 64.184 L134.81 64.4 L134.796 64.508 L134.767 64.724 L134.726 64.824 L134.643 65.025 L134.576 65.111 L134.444 65.284 L134.358 65.35 L134.185 65.483 L134.085 65.524 L133.884 65.607 L133.776 65.622 L133.56 65.65ZM193.452 65.636 L193.236 65.607 L193.136 65.566 L192.935 65.483 L192.849 65.416 L192.676 65.284 L192.61 65.198 L192.477 65.025 L192.436 64.925 L192.353 64.724 L192.338 64.616 L192.31 64.4 L192.324 64.292 L192.353 64.076 L192.394 63.976 L192.477 63.775 L192.544 63.689 L192.676 63.516 L192.762 63.45 L192.935 63.317 L193.035 63.276 L193.236 63.193 L193.344 63.178 L193.56 63.15 L193.668 63.164 L193.884 63.193 L193.984 63.234 L194.185 63.317 L194.271 63.384 L194.444 63.516 L194.51 63.602 L194.643 63.775 L194.684 63.875 L194.767 64.076 L194.782 64.184 L194.81 64.4 L194.796 64.508 L194.767 64.724 L194.726 64.824 L194.643 65.025 L194.576 65.111 L194.444 65.284 L194.358 65.35 L194.185 65.483 L194.085 65.524 L193.884 65.607 L193.776 65.622 L193.56 65.65Z\"/><text x=\"123.56\" y=\"11.52\">Section Z 6</text><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" stroke-linecap=\"round\" d=\"M15.12 152.64h20M15.12 151.38v2.52M35.12 151.38v2.52\"/><text x=\"36.92\" y=\"153.9\">20 mm</text></svg>",
  "metrics": {
    "bbox_max_mm": [
      80.0,
      60.0,
      30.0
    ],
    "bbox_min_mm": [
      0.0,
      0.0,
      0.0
    ],
    "center_of_mass_mm": [
      39.99999999999997,
      30.16189097385062,
      9.989415823687407
    ],
    "component_count": 1,
    "euler_characteristic": 0,
    "genus": 1,
    "is_manifold": true,
    "is_watertight": true,
    "size_mm": [
      80.0,
      60.0,
      30.0
    ],
    "surface_area_mm2": 26210.544578679164,
    "triangle_count": 944,
    "vertex_count": 472,
    "volume_mm3": 25795.13792938902
  },
  "section": {
    "area_mm2": 677.5393841390662,
    "axis": "z",
    "contour_count": 10,
    "offset_mm": 6.0
  },
  "status": "ok",
  "verified": true
}
```

![Orthographic blueprint](/examples/enclosure-base/blueprint.svg)

# Mounting bracket

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"model":{"type":"difference","children":[{"type":"translate","vector":[0,30,0],"child":{"type":"rotate","angles_deg":[90,0,0],"child":{"type":"extrude","polygon":[[0,0],[50,0],[50,5],[5,5],[5,40],[0,40]],"height":30,"fillet_mm":1.5,"segments":24}}},{"type":"translate","vector":[32,8,-1],"child":{"type":"cylinder","radius":2.25,"height":7,"segments":24}},{"type":"translate","vector":[32,22,-1],"child":{"type":"cylinder","radius":2.25,"height":7,"segments":24}},{"type":"translate","vector":[32,8,2.5],"child":{"type":"cylinder","radius":4.0,"height":3,"segments":32}},{"type":"translate","vector":[32,22,2.5],"child":{"type":"cylinder","radius":4.0,"height":3,"segments":32}},{"type":"translate","vector":[-1,15,28],"child":{"type":"rotate","angles_deg":[0,90,0],"child":{"type":"cylinder","radius":2.5,"height":7,"segments":24}}}]},"section_y_mm":8,"export_format":"3mf_base64"}' https://cad.burgeonads.com/v1/compile/parametric
```

## Input

```json
{
  "export_format": "3mf_base64",
  "model": {
    "children": [
      {
        "child": {
          "angles_deg": [
            90,
            0,
            0
          ],
          "child": {
            "fillet_mm": 1.5,
            "height": 30,
            "polygon": [
              [
                0,
                0
              ],
              [
                50,
                0
              ],
              [
                50,
                5
              ],
              [
                5,
                5
              ],
              [
                5,
                40
              ],
              [
                0,
                40
              ]
            ],
            "segments": 24,
            "type": "extrude"
          },
          "type": "rotate"
        },
        "type": "translate",
        "vector": [
          0,
          30,
          0
        ]
      },
      {
        "child": {
          "height": 7,
          "radius": 2.25,
          "segments": 24,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          32,
          8,
          -1
        ]
      },
      {
        "child": {
          "height": 7,
          "radius": 2.25,
          "segments": 24,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          32,
          22,
          -1
        ]
      },
      {
        "child": {
          "height": 3,
          "radius": 4.0,
          "segments": 32,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          32,
          8,
          2.5
        ]
      },
      {
        "child": {
          "height": 3,
          "radius": 4.0,
          "segments": 32,
          "type": "cylinder"
        },
        "type": "translate",
        "vector": [
          32,
          22,
          2.5
        ]
      },
      {
        "child": {
          "angles_deg": [
            0,
            90,
            0
          ],
          "child": {
            "height": 7,
            "radius": 2.5,
            "segments": 24,
            "type": "cylinder"
          },
          "type": "rotate"
        },
        "type": "translate",
        "vector": [
          -1,
          15,
          28
        ]
      }
    ],
    "type": "difference"
  },
  "section_y_mm": 8
}
```

## Output

```json
{
  "artifact_base64": "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",
  "artifact_bytes": 8446,
  "artifact_format": "3mf",
  "artifact_sha256": "f8d86a9cdc44a382f7e2aa6890519fca13d1c06f1e925450fa4381507df97cc4",
  "blueprint_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 134.425 121.85\" width=\"800\" height=\"725\" font-family=\"monospace\" font-size=\"2.25\" fill=\"#1d2b3a\"><rect width=\"134.425\" height=\"121.85\" fill=\"#ffffff\"/><path fill=\"#e9eff5\" fill-rule=\"evenodd\" d=\"M59.45 19 L9.45 19 L9.45 49 L59.45 49ZM40.868 29.173 L40.325 28.949 L39.859 28.591 L39.501 28.125 L39.277 27.582 L39.2 27 L39.277 26.418 L39.501 25.875 L39.859 25.409 L40.325 25.051 L40.868 24.827 L41.45 24.75 L42.032 24.827 L42.575 25.051 L43.041 25.409 L43.399 25.875 L43.623 26.418 L43.7 27 L43.623 27.582 L43.399 28.125 L43.041 28.591 L42.575 28.949 L42.032 29.173 L41.45 29.25ZM40.868 43.173 L40.325 42.949 L39.859 42.591 L39.501 42.125 L39.277 41.582 L39.2 41 L39.277 40.418 L39.501 39.875 L39.859 39.409 L40.325 39.051 L40.868 38.827 L41.45 38.75 L42.032 38.827 L42.575 39.051 L43.041 39.409 L43.399 39.875 L43.623 40.418 L43.7 41 L43.623 41.582 L43.399 42.125 L43.041 42.591 L42.575 42.949 L42.032 43.173 L41.45 43.25Z\"/><path fill=\"none\" stroke=\"#6b7c8e\" stroke-width=\"0.12\" stroke-dasharray=\"0.6 0.45\" d=\"M9.45 36.5L14.45 36.5M9.45 36.415L9.45 36.5M9.45 36.415L9.45 36.165M9.45 36.165L9.45 35.768M9.45 35.768L9.45 35.25M9.45 35.25L9.45 34.647M9.45 34.647L9.45 34M9.45 34L9.45 33.353M9.45 33.353L9.45 32.75M9.45 32.75L9.45 32.232M9.45 32.232L9.45 31.835M9.45 31.835L9.45 31.585M9.45 31.585L9.45 31.5M9.45 31.5L14.45 31.5M10.999 49L57.901 49M10.999 19L57.901 19M14.45 36.415L14.45 36.5M14.45 36.415L14.45 36.165M14.45 36.165L14.45 35.768M14.45 35.768L14.45 35.25M14.45 35.25L14.45 34.647M14.45 34.647L14.45 34M14.45 34L14.45 33.353M14.45 33.353L14.45 32.75M14.45 32.75L14.45 32.232M14.45 32.232L14.45 31.835M14.45 31.835L14.45 31.585M14.45 31.585L14.45 31.5\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.15\" stroke-linecap=\"round\" d=\"M9.45 49L9.45 19M9.45 49L9.456 49M9.45 19L9.456 19M9.456 49L9.488 49M9.456 19L9.488 19M9.488 49L9.539 49M9.488 19L9.539 19M9.539 49L9.613 49M9.539 19L9.613 19M9.613 49L9.711 49M9.613 19L9.711 19M9.711 49L9.829 49M9.711 19L9.829 19M9.829 49L9.967 49M9.829 19L9.967 19M9.967 49L10.122 49M9.967 19L10.122 19M10.122 49L10.291 49M10.122 19L10.291 19M10.291 49L10.471 49M10.291 19L10.471 19M10.471 49L10.659 49M10.471 19L10.659 19M10.659 49L10.901 49M10.659 19L10.901 19M10.901 49L10.999 49M10.901 19L10.999 19M10.999 49L12.901 49M10.999 19L12.901 19M12.901 49L12.999 49M12.901 19L12.999 19M12.999 49L13.241 49M12.999 19L13.241 19M13.241 49L13.429 49M13.241 19L13.429 19M13.429 49L13.609 49M13.429 19L13.609 19M13.609 49L13.778 49M13.609 19L13.778 19M13.933 49L13.778 49M13.933 49L14.071 49M13.933 19L13.778 19M13.933 19L14.071 19M14.071 49L14.189 49M14.071 19L14.189 19M14.287 49L14.189 49M14.287 19L14.189 19M14.361 49L14.287 49M14.361 19L14.287 19M14.412 49L14.361 49M14.412 19L14.361 19M14.444 49L14.412 49M14.444 19L14.412 19M14.45 49L14.444 49M14.45 49L14.45 19M14.45 19L14.444 19M14.501 49L14.45 49M14.501 49L14.651 49M14.501 19L14.45 19M14.501 19L14.651 19M14.889 49L14.651 49M14.889 49L15.2 49M14.889 19L14.651 19M14.889 19L15.2 19M15.2 49L15.562 49M15.2 19L15.562 19M15.562 49L15.95 49M15.562 19L15.95 19M15.95 49L57.901 49M15.95 19L57.901 19M37.45 41L37.527 40.22M37.45 27L37.527 26.22M37.527 41.78L37.45 41M37.527 41.78L37.754 42.531M37.527 40.22L37.754 39.469M37.527 27.78L37.45 27M37.527 27.78L37.754 28.531M37.527 26.22L37.754 25.469M37.754 39.469L38.124 38.778M37.754 25.469L38.124 24.778M38.124 43.222L37.754 42.531M38.124 38.778L38.622 38.172M38.124 29.222L37.754 28.531M38.124 24.778L38.622 24.172M38.622 43.828L38.124 43.222M38.622 43.828L39.228 44.326M38.622 38.172L39.228 37.674M38.622 29.828L38.124 29.222M38.622 24.172L39.228 23.674M39.2 41L39.277 40.418M39.2 27L39.277 26.418M39.228 44.326L39.919 44.696M39.228 37.674L39.919 37.304M39.228 30.326L38.622 29.828M39.228 30.326L39.919 30.696M39.228 23.674L39.919 23.304M39.277 41.582L39.2 41M39.277 40.418L39.501 39.875M39.277 27.582L39.2 27M39.277 26.418L39.501 25.875M39.501 42.125L39.277 41.582M39.501 39.875L39.859 39.409M39.501 28.125L39.277 27.582M39.501 25.875L39.859 25.409M39.859 42.591L39.501 42.125M39.859 42.591L40.325 42.949M39.859 39.409L40.325 39.051M39.859 28.591L39.501 28.125M39.859 28.591L40.325 28.949M39.859 25.409L40.325 25.051M39.919 37.304L40.67 37.077M39.919 23.304L40.67 23.077M40.325 42.949L40.868 43.173M40.325 39.051L40.868 38.827M40.325 28.949L40.868 29.173M40.325 25.051L40.868 24.827M40.67 44.923L39.919 44.696M40.67 44.923L41.45 45M40.67 37.077L41.45 37M40.67 30.923L39.919 30.696M40.67 30.923L41.45 31M40.67 23.077L41.45 23M40.868 43.173L41.45 43.25M40.868 38.827L41.45 38.75M40.868 29.173L41.45 29.25M40.868 24.827L41.45 24.75M41.45 45L42.23 44.923M41.45 43.25L42.032 43.173M41.45 38.75L42.032 38.827M41.45 37L42.23 37.077M41.45 31L42.23 30.923M41.45 29.25L42.032 29.173M41.45 24.75L42.032 24.827M41.45 23L42.23 23.077M42.032 43.173L42.575 42.949M42.032 38.827L42.575 39.051M42.032 29.173L42.575 28.949M42.032 24.827L42.575 25.051M42.23 44.923L42.981 44.696M42.23 37.077L42.981 37.304M42.23 30.923L42.981 30.696M42.23 23.077L42.981 23.304M42.575 42.949L43.041 42.591M42.575 28.949L43.041 28.591M42.981 44.696L43.672 44.326M42.981 37.304L43.672 37.674M42.981 30.696L43.672 30.326M42.981 23.304L43.672 23.674M43.041 42.591L43.399 42.125M43.041 39.409L42.575 39.051M43.041 28.591L43.399 28.125M43.041 25.409L42.575 25.051M43.399 42.125L43.623 41.582M43.399 39.875L43.041 39.409M43.399 28.125L43.623 27.582M43.399 25.875L43.041 25.409M43.623 41.582L43.7 41M43.623 40.418L43.399 39.875M43.623 27.582L43.7 27M43.623 26.418L43.399 25.875M43.672 44.326L44.278 43.828M43.672 30.326L44.278 29.828M43.672 23.674L44.278 24.172M43.7 41L43.623 40.418M43.7 27L43.623 26.418M44.278 43.828L44.776 43.222M44.278 38.172L43.672 37.674M44.278 29.828L44.776 29.222M44.776 43.222L45.146 42.531M44.776 38.778L44.278 38.172M44.776 29.222L45.146 28.531M44.776 24.778L44.278 24.172M45.146 42.531L45.373 41.78M45.146 39.469L44.776 38.778M45.146 28.531L45.373 27.78M45.146 25.469L44.776 24.778M45.373 41.78L45.45 41M45.373 40.22L45.146 39.469M45.373 40.22L45.45 41M45.373 27.78L45.45 27M45.373 26.22L45.146 25.469M45.45 27L45.373 26.22M57.999 49L57.901 49M57.999 49L58.241 49M57.999 19L57.901 19M57.999 19L58.241 19M58.241 49L58.429 49M58.241 19L58.429 19M58.429 49L58.609 49M58.429 19L58.609 19M58.609 49L58.778 49M58.609 19L58.778 19M58.933 49L58.778 49M58.933 49L59.071 49M58.933 19L58.778 19M58.933 19L59.071 19M59.189 49L59.071 49M59.189 49L59.287 49M59.189 19L59.071 19M59.189 19L59.287 19M59.361 49L59.287 49M59.361 19L59.287 19M59.412 49L59.361 49M59.412 19L59.361 19M59.444 49L59.412 49M59.444 19L59.412 19M59.45 49L59.444 49M59.45 49L59.45 19M59.45 19L59.444 19\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" stroke-linejoin=\"round\" d=\"M59.45 19 L9.45 19 L9.45 49 L59.45 49ZM40.868 29.173 L40.325 28.949 L39.859 28.591 L39.501 28.125 L39.277 27.582 L39.2 27 L39.277 26.418 L39.501 25.875 L39.859 25.409 L40.325 25.051 L40.868 24.827 L41.45 24.75 L42.032 24.827 L42.575 25.051 L43.041 25.409 L43.399 25.875 L43.623 26.418 L43.7 27 L43.623 27.582 L43.399 28.125 L43.041 28.591 L42.575 28.949 L42.032 29.173 L41.45 29.25ZM40.868 43.173 L40.325 42.949 L39.859 42.591 L39.501 42.125 L39.277 41.582 L39.2 41 L39.277 40.418 L39.501 39.875 L39.859 39.409 L40.325 39.051 L40.868 38.827 L41.45 38.75 L42.032 38.827 L42.575 39.051 L43.041 39.409 L43.399 39.875 L43.623 40.418 L43.7 41 L43.623 41.582 L43.399 42.125 L43.041 42.591 L42.575 42.949 L42.032 43.173 L41.45 43.25Z\"/><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M9.45 49.6V54.107M59.45 49.6V54.107M9.45 53.32H59.45\"/><path fill=\"#3a5a7a\" d=\"M9.45 53.32l1.575 -0.394v0.787ZM59.45 53.32l-1.575 -0.394v0.787Z\"/><text x=\"34.45\" y=\"56.02\" text-anchor=\"middle\">50.00</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M8.85 49H4.342M8.85 19H4.342M5.13 49V19\"/><path fill=\"#3a5a7a\" d=\"M5.13 49l-0.394 1.575h0.787ZM5.13 19l-0.394 -1.575h0.787Z\"/><text x=\"4.005\" y=\"34\" text-anchor=\"middle\" transform=\"rotate(-90 4.005 34)\">30.00</text><text x=\"9.45\" y=\"17.2\">Top XY</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M60.8 17.65h2.7M60.8 17.65v-2.7\"/><path fill=\"#3a5a7a\" d=\"M63.5 17.65l-1.26 -0.315v0.63ZM60.8 14.95l-0.315 1.26h0.63Z\"/><text x=\"64.04\" y=\"18.28\">X</text><text x=\"60.17\" y=\"14.41\">Y</text><path fill=\"#e9eff5\" fill-rule=\"evenodd\" d=\"M57.999 106.769 L58.241 106.737 L58.429 106.686 L58.609 106.612 L58.778 106.514 L58.933 106.396 L59.071 106.258 L59.189 106.103 L59.287 105.934 L59.361 105.754 L59.412 105.566 L59.444 105.324 L59.45 105.226 L59.45 103.324 L59.444 103.226 L59.412 102.984 L59.361 102.796 L59.287 102.616 L59.189 102.447 L59.071 102.292 L58.933 102.154 L58.778 102.036 L58.609 101.938 L58.429 101.864 L58.241 101.813 L57.999 101.781 L57.901 101.775 L15.95 101.775 L15.562 101.724 L15.2 101.574 L14.889 101.336 L14.651 101.025 L14.501 100.663 L14.45 100.275 L14.45 68.324 L14.444 68.226 L14.412 67.984 L14.361 67.796 L14.287 67.616 L14.189 67.447 L14.071 67.292 L13.933 67.154 L13.778 67.036 L13.609 66.938 L13.429 66.864 L13.241 66.813 L12.999 66.781 L12.901 66.775 L10.999 66.775 L10.901 66.781 L10.659 66.813 L10.471 66.864 L10.291 66.938 L10.122 67.036 L9.967 67.154 L9.829 67.292 L9.711 67.447 L9.613 67.616 L9.539 67.796 L9.488 67.984 L9.456 68.226 L9.45 68.324 L9.45 105.226 L9.456 105.324 L9.488 105.566 L9.539 105.754 L9.613 105.934 L9.711 106.103 L9.829 106.258 L9.967 106.396 L10.122 106.514 L10.291 106.612 L10.471 106.686 L10.659 106.737 L10.901 106.769 L10.999 106.775 L57.901 106.775Z\"/><path fill=\"none\" stroke=\"#6b7c8e\" stroke-width=\"0.12\" stroke-dasharray=\"0.6 0.45\" d=\"M9.45 81.275L14.45 81.275M9.45 81.19L9.45 81.275M9.45 80.94L9.45 81.19M9.45 80.543L9.45 80.94M9.45 80.025L9.45 80.543M9.45 79.422L9.45 80.025M9.45 79.422L9.45 78.775M9.45 78.775L9.45 78.128M9.45 78.128L9.45 77.525M9.45 77.525L9.45 77.007M9.45 77.007L9.45 76.61M9.45 76.61L9.45 76.36M9.45 76.36L9.45 76.275M9.45 76.275L14.45 76.275M14.45 81.19L14.45 81.275M14.45 80.94L14.45 81.19M14.45 80.543L14.45 80.94M14.45 80.025L14.45 80.543M14.45 79.422L14.45 80.025M14.45 79.422L14.45 78.775M14.45 78.775L14.45 78.128M14.45 78.128L14.45 77.525M14.45 77.525L14.45 77.007M14.45 77.007L14.45 76.61M14.45 76.61L14.45 76.36M14.45 76.36L14.45 76.275M37.45 104.275L37.45 101.775M37.527 104.275L37.45 104.275M37.527 104.275L37.754 104.275M37.527 101.775L37.45 101.775M37.527 101.775L37.754 101.775M38.124 104.275L37.754 104.275M38.124 101.775L37.754 101.775M38.622 104.275L38.124 104.275M38.622 104.275L39.228 104.275M38.622 101.775L38.124 101.775M38.622 101.775L39.228 101.775M39.2 106.775L39.2 104.275M39.228 104.275L39.919 104.275M39.228 101.775L39.919 101.775M39.277 106.775L39.2 106.775M39.277 104.275L39.2 104.275M39.501 106.775L39.277 106.775M39.501 104.275L39.277 104.275M39.859 106.775L39.501 106.775M39.859 106.775L40.325 106.775M39.859 104.275L39.501 104.275M39.859 104.275L40.325 104.275M40.325 106.775L40.868 106.775M40.325 104.275L40.868 104.275M40.67 104.275L39.919 104.275M40.67 104.275L41.45 104.275M40.67 101.775L39.919 101.775M40.67 101.775L41.45 101.775M40.868 106.775L41.45 106.775M40.868 104.275L41.45 104.275M41.45 106.775L42.032 106.775M41.45 104.275L42.032 104.275M41.45 104.275L42.23 104.275M41.45 101.775L42.23 101.775M42.032 106.775L42.575 106.775M42.032 104.275L42.575 104.275M42.23 104.275L42.981 104.275M42.23 101.775L42.981 101.775M42.575 106.775L43.041 106.775M42.575 104.275L43.041 104.275M42.981 104.275L43.672 104.275M42.981 101.775L43.672 101.775M43.041 106.775L43.399 106.775M43.041 104.275L43.399 104.275M43.399 106.775L43.623 106.775M43.399 104.275L43.623 104.275M43.623 106.775L43.7 106.775M43.623 104.275L43.7 104.275M43.672 104.275L44.278 104.275M43.672 101.775L44.278 101.775M43.7 106.775L43.7 104.275M44.278 104.275L44.776 104.275M44.278 101.775L44.776 101.775M44.776 104.275L45.146 104.275M44.776 101.775L45.146 101.775M45.146 104.275L45.373 104.275M45.146 101.775L45.373 101.775M45.373 104.275L45.45 104.275M45.373 101.775L45.45 101.775M45.45 104.275L45.45 101.775\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.15\" stroke-linecap=\"round\" d=\"M9.45 105.226L9.45 68.324M9.45 68.324L9.456 68.226M9.456 105.324L9.45 105.226M9.456 68.226L9.488 67.984M9.488 105.566L9.456 105.324M9.488 67.984L9.539 67.796M9.539 105.754L9.488 105.566M9.539 67.796L9.613 67.616M9.613 105.934L9.539 105.754M9.613 105.934L9.711 106.103M9.613 67.616L9.711 67.447M9.711 67.447L9.829 67.292M9.829 106.258L9.711 106.103M9.829 106.258L9.967 106.396M9.829 67.292L9.967 67.154M9.967 67.154L10.122 67.036M10.122 106.514L9.967 106.396M10.122 106.514L10.291 106.612M10.122 67.036L10.291 66.938M10.291 106.612L10.471 106.686M10.291 66.938L10.471 66.864M10.471 106.686L10.659 106.737M10.471 66.864L10.659 66.813M10.659 106.737L10.901 106.769M10.659 66.813L10.901 66.781M10.901 106.769L10.999 106.775M10.901 66.781L10.999 66.775M10.999 106.775L57.901 106.775M10.999 66.775L12.901 66.775M12.901 66.775L12.999 66.781M12.999 66.781L13.241 66.813M13.241 66.813L13.429 66.864M13.429 66.864L13.609 66.938M13.609 66.938L13.778 67.036M13.933 67.154L13.778 67.036M13.933 67.154L14.071 67.292M14.071 67.292L14.189 67.447M14.287 67.616L14.189 67.447M14.361 67.796L14.287 67.616M14.412 67.984L14.361 67.796M14.444 68.226L14.412 67.984M14.45 100.275L14.45 68.324M14.45 68.324L14.444 68.226M14.501 100.663L14.45 100.275M14.501 100.663L14.651 101.025M14.889 101.336L14.651 101.025M14.889 101.336L15.2 101.574M15.2 101.574L15.562 101.724M15.562 101.724L15.95 101.775M15.95 101.775L57.901 101.775M57.901 106.775L57.999 106.769M57.999 106.769L58.241 106.737M57.999 101.781L57.901 101.775M57.999 101.781L58.241 101.813M58.241 106.737L58.429 106.686M58.241 101.813L58.429 101.864M58.429 106.686L58.609 106.612M58.429 101.864L58.609 101.938M58.609 106.612L58.778 106.514M58.609 101.938L58.778 102.036M58.778 106.514L58.933 106.396M58.933 106.396L59.071 106.258M58.933 102.154L58.778 102.036M58.933 102.154L59.071 102.292M59.071 106.258L59.189 106.103M59.189 106.103L59.287 105.934M59.189 102.447L59.071 102.292M59.189 102.447L59.287 102.616M59.287 105.934L59.361 105.754M59.361 105.754L59.412 105.566M59.361 102.796L59.287 102.616M59.412 105.566L59.444 105.324M59.412 102.984L59.361 102.796M59.444 105.324L59.45 105.226M59.444 103.226L59.412 102.984M59.45 105.226L59.45 103.324M59.45 103.324L59.444 103.226\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" stroke-linejoin=\"round\" d=\"M57.999 106.769 L58.241 106.737 L58.429 106.686 L58.609 106.612 L58.778 106.514 L58.933 106.396 L59.071 106.258 L59.189 106.103 L59.287 105.934 L59.361 105.754 L59.412 105.566 L59.444 105.324 L59.45 105.226 L59.45 103.324 L59.444 103.226 L59.412 102.984 L59.361 102.796 L59.287 102.616 L59.189 102.447 L59.071 102.292 L58.933 102.154 L58.778 102.036 L58.609 101.938 L58.429 101.864 L58.241 101.813 L57.999 101.781 L57.901 101.775 L15.95 101.775 L15.562 101.724 L15.2 101.574 L14.889 101.336 L14.651 101.025 L14.501 100.663 L14.45 100.275 L14.45 68.324 L14.444 68.226 L14.412 67.984 L14.361 67.796 L14.287 67.616 L14.189 67.447 L14.071 67.292 L13.933 67.154 L13.778 67.036 L13.609 66.938 L13.429 66.864 L13.241 66.813 L12.999 66.781 L12.901 66.775 L10.999 66.775 L10.901 66.781 L10.659 66.813 L10.471 66.864 L10.291 66.938 L10.122 67.036 L9.967 67.154 L9.829 67.292 L9.711 67.447 L9.613 67.616 L9.539 67.796 L9.488 67.984 L9.456 68.226 L9.45 68.324 L9.45 105.226 L9.456 105.324 L9.488 105.566 L9.539 105.754 L9.613 105.934 L9.711 106.103 L9.829 106.258 L9.967 106.396 L10.122 106.514 L10.291 106.612 L10.471 106.686 L10.659 106.737 L10.901 106.769 L10.999 106.775 L57.901 106.775Z\"/><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M9.45 107.375V111.882M59.45 107.375V111.882M9.45 111.095H59.45\"/><path fill=\"#3a5a7a\" d=\"M9.45 111.095l1.575 -0.394v0.787ZM59.45 111.095l-1.575 -0.394v0.787Z\"/><text x=\"34.45\" y=\"113.795\" text-anchor=\"middle\">50.00</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M8.85 106.775H4.342M8.85 66.775H4.342M5.13 106.775V66.775\"/><path fill=\"#3a5a7a\" d=\"M5.13 106.775l-0.394 1.575h0.787ZM5.13 66.775l-0.394 -1.575h0.787Z\"/><text x=\"4.005\" y=\"86.775\" text-anchor=\"middle\" transform=\"rotate(-90 4.005 86.775)\">40.00</text><text x=\"9.45\" y=\"64.975\">Front XZ</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M60.8 65.425h2.7M60.8 65.425v-2.7\"/><path fill=\"#3a5a7a\" d=\"M63.5 65.425l-1.26 -0.315v0.63ZM60.8 62.725l-0.315 1.26h0.63Z\"/><text x=\"64.04\" y=\"66.055\">X</text><text x=\"60.17\" y=\"62.185\">Z</text><path fill=\"#e9eff5\" fill-rule=\"evenodd\" d=\"M107.225 66.775 L77.225 66.775 L77.225 106.775 L107.225 106.775ZM91.578 81.19 L90.975 80.94 L90.457 80.543 L90.06 80.025 L89.81 79.422 L89.725 78.775 L89.81 78.128 L90.06 77.525 L90.457 77.007 L90.975 76.61 L91.578 76.36 L92.225 76.275 L92.872 76.36 L93.475 76.61 L93.993 77.007 L94.39 77.525 L94.64 78.128 L94.725 78.775 L94.64 79.422 L94.39 80.025 L93.993 80.543 L93.475 80.94 L92.872 81.19 L92.225 81.275Z\"/><path fill=\"none\" stroke=\"#6b7c8e\" stroke-width=\"0.12\" stroke-dasharray=\"0.6 0.45\" d=\"M77.225 105.226L77.225 68.324M81.225 104.275L81.225 101.775M81.302 104.275L81.225 104.275M81.302 104.275L81.529 104.275M81.302 101.775L81.225 101.775M81.302 101.775L81.529 101.775M81.899 104.275L81.529 104.275M81.899 101.775L81.529 101.775M82.397 104.275L81.899 104.275M82.397 104.275L83.003 104.275M82.397 101.775L81.899 101.775M82.397 101.775L83.003 101.775M82.975 106.775L82.975 104.275M83.003 104.275L83.694 104.275M83.003 101.775L83.694 101.775M83.052 106.775L82.975 106.775M83.052 104.275L82.975 104.275M83.276 106.775L83.052 106.775M83.276 104.275L83.052 104.275M83.634 106.775L83.276 106.775M83.634 106.775L84.1 106.775M83.634 104.275L83.276 104.275M83.634 104.275L84.1 104.275M84.1 106.775L84.643 106.775M84.1 104.275L84.643 104.275M84.445 104.275L83.694 104.275M84.445 104.275L85.225 104.275M84.445 101.775L83.694 101.775M84.445 101.775L85.225 101.775M84.643 106.775L85.225 106.775M84.643 104.275L85.225 104.275M85.225 106.775L85.807 106.775M85.225 104.275L85.807 104.275M85.225 104.275L86.005 104.275M85.225 101.775L86.005 101.775M85.807 106.775L86.35 106.775M85.807 104.275L86.35 104.275M86.005 104.275L86.756 104.275M86.005 101.775L86.756 101.775M86.35 106.775L86.816 106.775M86.35 104.275L86.816 104.275M86.756 104.275L87.447 104.275M86.756 101.775L87.447 101.775M86.816 106.775L87.174 106.775M86.816 104.275L87.174 104.275M87.174 106.775L87.398 106.775M87.174 104.275L87.398 104.275M87.398 106.775L87.475 106.775M87.398 104.275L87.475 104.275M87.447 104.275L88.053 104.275M87.447 101.775L88.053 101.775M87.475 106.775L87.475 104.275M88.053 104.275L88.551 104.275M88.053 101.775L88.551 101.775M88.551 104.275L88.921 104.275M88.551 101.775L88.921 101.775M88.921 104.275L89.148 104.275M88.921 101.775L89.148 101.775M89.148 104.275L89.225 104.275M89.148 101.775L89.225 101.775M89.225 104.275L89.225 101.775M95.225 104.275L95.225 101.775M95.302 104.275L95.225 104.275M95.302 104.275L95.529 104.275M95.302 101.775L95.225 101.775M95.302 101.775L95.529 101.775M95.899 104.275L95.529 104.275M95.899 104.275L96.397 104.275M95.899 101.775L95.529 101.775M95.899 101.775L96.397 101.775M96.397 104.275L97.003 104.275M96.397 101.775L97.003 101.775M96.975 106.775L96.975 104.275M97.003 104.275L97.694 104.275M97.003 101.775L97.694 101.775M97.052 106.775L96.975 106.775M97.052 104.275L96.975 104.275M97.276 106.775L97.052 106.775M97.276 104.275L97.052 104.275M97.634 106.775L97.276 106.775M97.634 106.775L98.1 106.775M97.634 104.275L97.276 104.275M97.634 104.275L98.1 104.275M98.1 106.775L98.643 106.775M98.1 104.275L98.643 104.275M98.445 104.275L97.694 104.275M98.445 104.275L99.225 104.275M98.445 101.775L97.694 101.775M98.445 101.775L99.225 101.775M98.643 106.775L99.225 106.775M98.643 104.275L99.225 104.275M99.225 106.775L99.807 106.775M99.225 104.275L99.807 104.275M99.225 104.275L100.005 104.275M99.225 101.775L100.005 101.775M99.807 106.775L100.35 106.775M99.807 104.275L100.35 104.275M100.005 104.275L100.756 104.275M100.005 101.775L100.756 101.775M100.35 106.775L100.816 106.775M100.35 104.275L100.816 104.275M100.756 104.275L101.447 104.275M100.756 101.775L101.447 101.775M100.816 106.775L101.174 106.775M100.816 104.275L101.174 104.275M101.174 106.775L101.398 106.775M101.174 104.275L101.398 104.275M101.398 106.775L101.475 106.775M101.398 104.275L101.475 104.275M101.447 104.275L102.053 104.275M101.447 101.775L102.053 101.775M101.475 106.775L101.475 104.275M102.053 104.275L102.551 104.275M102.053 101.775L102.551 101.775M102.551 104.275L102.921 104.275M102.551 101.775L102.921 101.775M102.921 104.275L103.148 104.275M102.921 101.775L103.148 101.775M103.148 104.275L103.225 104.275M103.148 101.775L103.225 101.775M103.225 104.275L103.225 101.775M107.225 105.226L107.225 68.324\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.15\" stroke-linecap=\"round\" d=\"M77.225 106.775L77.225 106.769M77.225 106.775L107.225 106.775M77.225 106.769L77.225 106.737M77.225 106.737L77.225 106.686M77.225 106.686L77.225 106.612M77.225 106.612L77.225 106.514M77.225 106.514L77.225 106.396M77.225 106.396L77.225 106.258M77.225 106.258L77.225 106.103M77.225 106.103L77.225 105.934M77.225 105.934L77.225 105.754M77.225 105.754L77.225 105.566M77.225 105.566L77.225 105.324M77.225 105.324L77.225 105.226M77.225 105.226L77.225 103.324M77.225 103.324L77.225 103.226M77.225 103.226L77.225 102.984M77.225 102.984L77.225 102.796M77.225 102.796L77.225 102.616M77.225 102.447L77.225 102.616M77.225 102.447L77.225 102.292M77.225 102.154L77.225 102.292M77.225 102.154L77.225 102.036M77.225 101.938L77.225 102.036M77.225 101.864L77.225 101.938M77.225 101.813L77.225 101.864M77.225 101.781L77.225 101.813M77.225 101.781L77.225 101.775M77.225 101.775L107.225 101.775M77.225 101.724L77.225 101.775M77.225 101.574L77.225 101.724M77.225 101.336L77.225 101.574M77.225 101.336L77.225 101.025M77.225 100.663L77.225 101.025M77.225 100.663L77.225 100.275M77.225 100.275L77.225 68.324M77.225 68.324L77.225 68.226M77.225 68.226L77.225 67.984M77.225 67.984L77.225 67.796M77.225 67.796L77.225 67.616M77.225 67.616L77.225 67.447M77.225 67.292L77.225 67.447M77.225 67.154L77.225 67.292M77.225 67.154L77.225 67.036M77.225 66.938L77.225 67.036M77.225 66.864L77.225 66.938M77.225 66.813L77.225 66.864M77.225 66.781L77.225 66.813M77.225 66.775L77.225 66.781M77.225 66.775L107.225 66.775M89.725 78.775L89.81 78.128M89.81 79.422L89.725 78.775M89.81 79.422L90.06 80.025M89.81 78.128L90.06 77.525M90.06 80.025L90.457 80.543M90.06 77.525L90.457 77.007M90.457 80.543L90.975 80.94M90.457 77.007L90.975 76.61M90.975 80.94L91.578 81.19M90.975 76.61L91.578 76.36M91.578 81.19L92.225 81.275M91.578 76.36L92.225 76.275M92.225 81.275L92.872 81.19M92.225 76.275L92.872 76.36M92.872 81.19L93.475 80.94M92.872 76.36L93.475 76.61M93.475 80.94L93.993 80.543M93.993 80.543L94.39 80.025M93.993 77.007L93.475 76.61M93.993 77.007L94.39 77.525M94.39 80.025L94.64 79.422M94.64 79.422L94.725 78.775M94.64 78.128L94.39 77.525M94.725 78.775L94.64 78.128M107.225 106.775L107.225 106.769M107.225 106.769L107.225 106.737M107.225 106.737L107.225 106.686M107.225 106.686L107.225 106.612M107.225 106.612L107.225 106.514M107.225 106.514L107.225 106.396M107.225 106.396L107.225 106.258M107.225 106.258L107.225 106.103M107.225 106.103L107.225 105.934M107.225 105.934L107.225 105.754M107.225 105.754L107.225 105.566M107.225 105.566L107.225 105.324M107.225 105.324L107.225 105.226M107.225 105.226L107.225 103.324M107.225 103.324L107.225 103.226M107.225 103.226L107.225 102.984M107.225 102.984L107.225 102.796M107.225 102.796L107.225 102.616M107.225 102.447L107.225 102.616M107.225 102.447L107.225 102.292M107.225 102.154L107.225 102.292M107.225 102.154L107.225 102.036M107.225 101.938L107.225 102.036M107.225 101.864L107.225 101.938M107.225 101.813L107.225 101.864M107.225 101.781L107.225 101.813M107.225 101.781L107.225 101.775M107.225 101.724L107.225 101.775M107.225 101.574L107.225 101.724M107.225 101.336L107.225 101.574M107.225 101.336L107.225 101.025M107.225 100.663L107.225 101.025M107.225 100.663L107.225 100.275M107.225 100.275L107.225 68.324M107.225 68.324L107.225 68.226M107.225 68.226L107.225 67.984M107.225 67.984L107.225 67.796M107.225 67.796L107.225 67.616M107.225 67.616L107.225 67.447M107.225 67.292L107.225 67.447M107.225 67.154L107.225 67.292M107.225 67.154L107.225 67.036M107.225 66.938L107.225 67.036M107.225 66.864L107.225 66.938M107.225 66.813L107.225 66.864M107.225 66.781L107.225 66.813M107.225 66.775L107.225 66.781\"/><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" stroke-linejoin=\"round\" d=\"M107.225 66.775 L77.225 66.775 L77.225 106.775 L107.225 106.775ZM91.578 81.19 L90.975 80.94 L90.457 80.543 L90.06 80.025 L89.81 79.422 L89.725 78.775 L89.81 78.128 L90.06 77.525 L90.457 77.007 L90.975 76.61 L91.578 76.36 L92.225 76.275 L92.872 76.36 L93.475 76.61 L93.993 77.007 L94.39 77.525 L94.64 78.128 L94.725 78.775 L94.64 79.422 L94.39 80.025 L93.993 80.543 L93.475 80.94 L92.872 81.19 L92.225 81.275Z\"/><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M77.225 107.375V111.882M107.225 107.375V111.882M77.225 111.095H107.225\"/><path fill=\"#3a5a7a\" d=\"M77.225 111.095l1.575 -0.394v0.787ZM107.225 111.095l-1.575 -0.394v0.787Z\"/><text x=\"92.225\" y=\"113.795\" text-anchor=\"middle\">30.00</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M76.625 106.775H72.118M76.625 66.775H72.118M72.905 106.775V66.775\"/><path fill=\"#3a5a7a\" d=\"M72.905 106.775l-0.394 1.575h0.787ZM72.905 66.775l-0.394 -1.575h0.787Z\"/><text x=\"71.78\" y=\"86.775\" text-anchor=\"middle\" transform=\"rotate(-90 71.78 86.775)\">40.00</text><text x=\"77.225\" y=\"64.975\">Right YZ</text><path fill=\"none\" stroke=\"#3a5a7a\" stroke-width=\"0.105\" d=\"M108.575 65.425h2.7M108.575 65.425v-2.7\"/><path fill=\"#3a5a7a\" d=\"M111.275 65.425l-1.26 -0.315v0.63ZM108.575 62.725l-0.315 1.26h0.63Z\"/><text x=\"111.815\" y=\"66.055\">Y</text><text x=\"107.945\" y=\"62.185\">Z</text><path fill=\"#c7d3df\" stroke=\"#1d2b3a\" stroke-width=\"0.24\" fill-rule=\"evenodd\" d=\"M106.975 46.5 L106.94 46.5 L106.675 46.5 L106.397 46.5 L106.118 46.5 L105.899 46.5 L105.68 46.5 L105.529 46.5 L105.379 46.5 L105.302 46.5 L105.225 46.5 L105.225 44 L103.384 44 L102.027 44 L101.079 44 L83.725 44 L83.621 43.986 L83.337 43.949 L83.24 43.909 L82.975 43.799 L82.892 43.735 L82.664 43.561 L82.601 43.478 L82.426 43.25 L82.386 43.154 L82.276 42.888 L82.262 42.785 L82.225 42.5 L82.225 33.98 L82.225 33.086 L82.225 32.981 L82.225 32.742 L82.225 32.367 L82.225 31.862 L82.225 31.251 L82.225 30.57 L82.225 29.878 L82.225 29.244 L82.225 28.74 L82.225 28.422 L82.225 16.781 L82.225 16.284 L82.225 15.799 L82.225 15.37 L82.225 15.028 L82.225 14.79 L82.225 14.658 L82.225 14.628 L82.225 10.549 L82.223 10.523 L82.219 10.451 L82.21 10.387 L82.187 10.209 L82.173 10.159 L82.136 10.021 L82.116 9.973 L82.062 9.841 L82.036 9.796 L81.964 9.672 L81.933 9.631 L81.846 9.517 L81.809 9.481 L81.708 9.379 L81.666 9.348 L81.553 9.261 L81.508 9.235 L81.384 9.163 L81.336 9.143 L81.204 9.089 L81.154 9.075 L81.016 9.038 L80.951 9.03 L80.774 9.006 L80.748 9.005 L80.676 9 L80.169 9 L78.774 9 L78.748 9.002 L78.676 9.006 L78.612 9.015 L78.434 9.038 L78.384 9.052 L78.246 9.089 L78.198 9.109 L78.066 9.163 L78.021 9.189 L77.897 9.261 L77.856 9.292 L77.742 9.379 L77.706 9.416 L77.604 9.517 L77.573 9.559 L77.486 9.672 L77.46 9.717 L77.388 9.841 L77.368 9.889 L77.314 10.021 L77.3 10.071 L77.263 10.209 L77.255 10.274 L77.231 10.451 L77.23 10.477 L77.225 10.549 L77.225 15.37 L77.225 15.799 L77.225 16.284 L77.225 16.781 L77.225 17.238 L77.225 17.604 L77.225 17.842 L77.225 20.39 L77.225 47.451 L77.227 47.477 L77.231 47.549 L77.24 47.613 L77.263 47.791 L77.277 47.841 L77.314 47.979 L77.334 48.027 L77.388 48.159 L77.414 48.204 L77.486 48.328 L77.517 48.369 L77.604 48.483 L77.641 48.519 L77.742 48.621 L77.784 48.652 L77.897 48.739 L77.942 48.765 L78.066 48.837 L78.114 48.857 L78.246 48.911 L78.296 48.925 L78.434 48.962 L78.499 48.97 L78.676 48.994 L78.702 48.995 L78.774 49 L89.697 49 L90.087 49 L90.474 49 L90.826 49 L91.109 49 L91.296 49 L105.133 49 L106.975 49ZM125.702 48.998 L125.774 48.994 L125.838 48.985 L126.016 48.962 L126.066 48.948 L126.204 48.911 L126.252 48.891 L126.384 48.837 L126.429 48.811 L126.553 48.739 L126.594 48.708 L126.708 48.621 L126.744 48.584 L126.846 48.483 L126.877 48.441 L126.964 48.328 L126.99 48.283 L127.062 48.159 L127.082 48.111 L127.136 47.979 L127.15 47.929 L127.187 47.791 L127.195 47.726 L127.219 47.549 L127.22 47.523 L127.225 47.451 L127.225 46.944 L127.225 45.549 L127.223 45.523 L127.219 45.451 L127.21 45.387 L127.187 45.209 L127.173 45.159 L127.136 45.021 L127.116 44.973 L127.062 44.841 L127.036 44.796 L126.964 44.672 L126.933 44.631 L126.846 44.517 L126.809 44.481 L126.708 44.379 L126.666 44.348 L126.553 44.261 L126.508 44.235 L126.384 44.163 L126.336 44.143 L126.204 44.089 L126.154 44.075 L126.016 44.038 L125.951 44.03 L125.774 44.006 L125.748 44.005 L125.676 44 L120.953 44 L114.262 44 L113.225 44 L113.225 46.5 L113.148 46.5 L113.071 46.5 L112.921 46.5 L112.77 46.5 L112.551 46.5 L112.332 46.5 L112.053 46.5 L111.775 46.5 L111.51 46.5 L111.475 46.5 L111.475 49 L112.367 49 L112.962 49 L113.281 49 L119.851 49 L120.118 49 L125.676 49Z\"/><text x=\"77.225\" y=\"7.2\">Section Y 8</text><path fill=\"none\" stroke=\"#1d2b3a\" stroke-width=\"0.15\" stroke-linecap=\"round\" d=\"M9.45 119.15h10M9.45 118.362v1.575M19.45 118.362v1.575\"/><text x=\"20.575\" y=\"119.937\">10 mm</text></svg>",
  "metrics": {
    "bbox_max_mm": [
      50.0,
      30.0,
      40.0
    ],
    "bbox_min_mm": [
      0.0,
      0.0,
      0.0
    ],
    "center_of_mass_mm": [
      15.359411958761312,
      14.999999999999998,
      10.756453655223009
    ],
    "component_count": 1,
    "euler_characteristic": -4,
    "genus": 3,
    "is_manifold": true,
    "is_watertight": true,
    "size_mm": [
      50.0,
      30.0,
      40.0
    ],
    "surface_area_mm2": 6300.036582567275,
    "triangle_count": 860,
    "vertex_count": 426,
    "volume_mm3": 12263.269034506224
  },
  "section": {
    "area_mm2": 391.7052691124492,
    "axis": "y",
    "contour_count": 2,
    "offset_mm": 8.0
  },
  "status": "ok",
  "verified": true
}
```

![Orthographic blueprint](/examples/mounting-bracket/blueprint.svg)

# Printable stand

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"model":{"type":"union","children":[{"type":"hull","children":[{"type":"box","size":[40,40,2]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[36,36,2]}}]},{"type":"translate","vector":[15,15,4],"child":{"type":"box","size":[10,10,26]}}]},"check_orientations":true}' https://cad.burgeonads.com/v1/verify/printability
```

## Input

```json
{
  "check_orientations": true,
  "model": {
    "children": [
      {
        "children": [
          {
            "size": [
              40,
              40,
              2
            ],
            "type": "box"
          },
          {
            "child": {
              "size": [
                36,
                36,
                2
              ],
              "type": "box"
            },
            "type": "translate",
            "vector": [
              2,
              2,
              2
            ]
          }
        ],
        "type": "hull"
      },
      {
        "child": {
          "size": [
            10,
            10,
            26
          ],
          "type": "box"
        },
        "type": "translate",
        "vector": [
          15,
          15,
          4
        ]
      }
    ],
    "type": "union"
  }
}
```

## Output

```json
{
  "best_orientation": {
    "candidates": [
      {
        "fits_bed": true,
        "margin_mm": 20.0,
        "overhang_area_mm2": 0.0,
        "rotate_deg": [
          0.0,
          0.0,
          0.0
        ],
        "stable": true,
        "unsupported_minima_count": 0,
        "up_axis": "+Z"
      },
      {
        "fits_bed": true,
        "margin_mm": 5.0,
        "overhang_area_mm2": 1196.0,
        "rotate_deg": [
          180.0,
          0.0,
          0.0
        ],
        "stable": true,
        "unsupported_minima_count": 0,
        "up_axis": "-Z"
      },
      {
        "fits_bed": true,
        "margin_mm": -4.440319116293342,
        "overhang_area_mm2": 260.0,
        "rotate_deg": [
          0.0,
          -90.0,
          0.0
        ],
        "stable": false,
        "unsupported_minima_count": 0,
        "up_axis": "+X"
      },
      {
        "fits_bed": true,
        "margin_mm": -4.440319116293342,
        "overhang_area_mm2": 260.0,
        "rotate_deg": [
          0.0,
          90.0,
          0.0
        ],
        "stable": false,
        "unsupported_minima_count": 0,
        "up_axis": "-X"
      },
      {
        "fits_bed": true,
        "margin_mm": -4.440319116293342,
        "overhang_area_mm2": 260.0,
        "rotate_deg": [
          90.0,
          0.0,
          0.0
        ],
        "stable": false,
        "unsupported_minima_count": 0,
        "up_axis": "+Y"
      },
      {
        "fits_bed": true,
        "margin_mm": -4.440319116293342,
        "overhang_area_mm2": 260.0,
        "rotate_deg": [
          -90.0,
          0.0,
          0.0
        ],
        "stable": false,
        "unsupported_minima_count": 0,
        "up_axis": "-Y"
      }
    ],
    "rotate_deg": [
      0.0,
      0.0,
      0.0
    ],
    "up_axis": "+Z"
  },
  "checks": {
    "bed_fit": {
      "bed_mm": [
        220.0,
        220.0,
        220.0
      ],
      "below_bed_mm": 0.0,
      "excess_mm": [
        0.0,
        0.0,
        0.0
      ],
      "size_mm": [
        40.0,
        40.0,
        30.0
      ],
      "status": "pass"
    },
    "overhangs": {
      "max_observed_deg": 0.0,
      "max_overhang_deg": 45.0,
      "overhang_area_mm2": 0.0,
      "overhang_face_count": 0,
      "region_count": 0,
      "regions": [],
      "status": "pass",
      "unsupported_minima_count": 0,
      "unsupported_minima_mm": []
    },
    "standing_stability": {
      "center_of_mass_mm": [
        20.0,
        20.0,
        6.440319116293342
      ],
      "margin_mm": 20.0,
      "status": "pass",
      "support_hull_mm": [
        [
          0.0,
          0.0
        ],
        [
          40.0,
          0.0
        ],
        [
          40.0,
          40.0
        ],
        [
          0.0,
          40.0
        ]
      ],
      "support_hull_vertex_count": 4,
      "support_vertex_count": 4,
      "tipping_direction": [
        0.0,
        -1.0
      ]
    },
    "topology": {
      "component_count": 1,
      "consistent_winding": true,
      "degenerate_face_count": 0,
      "floating_island_count": 0,
      "floating_islands": [],
      "inverted": false,
      "is_manifold": true,
      "is_watertight": true,
      "non_manifold_edge_count": 0,
      "non_manifold_vertex_count": 0,
      "open_edge_count": 0,
      "self_intersection_count": 0,
      "status": "pass",
      "void_count": 0,
      "witnesses_mm": []
    },
    "wall_thickness": {
      "below_min_area_fraction": 0.0,
      "min_observed_mm": 3.7712361663282534,
      "min_wall_mm": 1.2,
      "rechecked_ray_count": 36,
      "sampled_face_count": 36,
      "status": "pass",
      "witnesses": []
    }
  },
  "metrics": {
    "bbox_max_mm": [
      40.0,
      40.0,
      30.0
    ],
    "bbox_min_mm": [
      0.0,
      0.0,
      0.0
    ],
    "drop_z_mm": 0.0,
    "input_kind": "model",
    "size_mm": [
      40.0,
      40.0,
      30.0
    ],
    "triangle_count": 36,
    "vertex_count": 20,
    "volume_mm3": 8690.666666666666
  },
  "printable": true,
  "status": "ok",
  "verified": true
}
```

# Thin wall and overhang

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"model":{"type":"union","children":[{"type":"box","size":[12,12,4]},{"type":"translate","vector":[3,3,4],"child":{"type":"box","size":[6,6,40]}},{"type":"translate","vector":[6,3,40],"child":{"type":"box","size":[60,6,4]}},{"type":"translate","vector":[0,5.6,4],"child":{"type":"box","size":[12,0.8,15]}}]}}' https://cad.burgeonads.com/v1/verify/printability
```

## Input

```json
{
  "model": {
    "children": [
      {
        "size": [
          12,
          12,
          4
        ],
        "type": "box"
      },
      {
        "child": {
          "size": [
            6,
            6,
            40
          ],
          "type": "box"
        },
        "type": "translate",
        "vector": [
          3,
          3,
          4
        ]
      },
      {
        "child": {
          "size": [
            60,
            6,
            4
          ],
          "type": "box"
        },
        "type": "translate",
        "vector": [
          6,
          3,
          40
        ]
      },
      {
        "child": {
          "size": [
            12,
            0.8,
            15
          ],
          "type": "box"
        },
        "type": "translate",
        "vector": [
          0,
          5.6,
          4
        ]
      }
    ],
    "type": "union"
  }
}
```

## Output

```json
{
  "best_orientation": null,
  "checks": {
    "bed_fit": {
      "bed_mm": [
        220.0,
        220.0,
        220.0
      ],
      "below_bed_mm": 0.0,
      "excess_mm": [
        0.0,
        0.0,
        0.0
      ],
      "size_mm": [
        66.0,
        12.0,
        44.0
      ],
      "status": "pass"
    },
    "overhangs": {
      "max_observed_deg": 90.0,
      "max_overhang_deg": 45.0,
      "overhang_area_mm2": 342.0,
      "overhang_face_count": 2,
      "region_count": 1,
      "regions": [
        {
          "area_mm2": 342.0,
          "bbox": {
            "max_mm": [
              66.0,
              9.0,
              40.0
            ],
            "min_mm": [
              9.0,
              3.0,
              40.0
            ]
          },
          "face_count": 2,
          "max_angle_deg": 90.0,
          "point_mm": [
            28.0,
            5.0,
            40.0
          ]
        }
      ],
      "status": "fail",
      "unsupported_minima_count": 0,
      "unsupported_minima_mm": []
    },
    "standing_stability": {
      "center_of_mass_mm": [
        18.46875,
        6.0,
        27.197916666666664
      ],
      "margin_mm": -6.46875,
      "status": "fail",
      "support_hull_mm": [
        [
          0.0,
          0.0
        ],
        [
          12.0,
          0.0
        ],
        [
          12.0,
          12.0
        ],
        [
          0.0,
          12.0
        ]
      ],
      "support_hull_vertex_count": 4,
      "support_vertex_count": 4,
      "tipping_direction": [
        1.0,
        0.0
      ]
    },
    "topology": {
      "component_count": 1,
      "consistent_winding": true,
      "degenerate_face_count": 0,
      "floating_island_count": 0,
      "floating_islands": [],
      "inverted": false,
      "is_manifold": true,
      "is_watertight": true,
      "non_manifold_edge_count": 0,
      "non_manifold_vertex_count": 0,
      "open_edge_count": 0,
      "self_intersection_count": 0,
      "status": "pass",
      "void_count": 0,
      "witnesses_mm": []
    },
    "wall_thickness": {
      "below_min_area_fraction": 0.06521739130434782,
      "min_observed_mm": 0.7999999999999999,
      "min_wall_mm": 1.2,
      "rechecked_ray_count": 76,
      "sampled_face_count": 76,
      "status": "fail",
      "witnesses": [
        {
          "exit_point_mm": [
            1.0,
            5.6,
            9.0
          ],
          "point_mm": [
            1.0,
            6.3999999999999995,
            9.0
          ],
          "thickness_mm": 0.7999999999999999
        },
        {
          "exit_point_mm": [
            10.0,
            5.6,
            9.0
          ],
          "point_mm": [
            10.0,
            6.3999999999999995,
            9.0
          ],
          "thickness_mm": 0.7999999999999999
        },
        {
          "exit_point_mm": [
            2.0,
            5.6,
            14.0
          ],
          "point_mm": [
            2.0,
            6.3999999999999995,
            14.0
          ],
          "thickness_mm": 0.7999999999999999
        },
        {
          "exit_point_mm": [
            11.0,
            5.6,
            14.0
          ],
          "point_mm": [
            11.0,
            6.3999999999999995,
            14.0
          ],
          "thickness_mm": 0.7999999999999999
        },
        {
          "exit_point_mm": [
            2.0,
            6.3999999999999995,
            9.0
          ],
          "point_mm": [
            2.0,
            5.599999999999999,
            9.0
          ],
          "thickness_mm": 0.8000000000000008
        }
      ]
    }
  },
  "metrics": {
    "bbox_max_mm": [
      66.0,
      12.0,
      44.0
    ],
    "bbox_min_mm": [
      0.0,
      0.0,
      0.0
    ],
    "drop_z_mm": 0.0,
    "input_kind": "model",
    "size_mm": [
      66.0,
      12.0,
      44.0
    ],
    "triangle_count": 76,
    "vertex_count": 40,
    "volume_mm3": 3456.0
  },
  "printable": false,
  "status": "ok",
  "verified": true
}
```

# Enclosure assembly fit

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"parts":[{"name":"base","model":{"type":"difference","children":[{"type":"union","children":[{"type":"difference","children":[{"type":"box","size":[80,60,30]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[76,56,30]}}]},{"type":"translate","vector":[10,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[10,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}}]},{"type":"translate","vector":[34,-1,12],"child":{"type":"box","size":[12,4,6]}},{"type":"translate","vector":[10,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[10,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}}]},"role":"solid"},{"name":"lid","model":{"type":"union","children":[{"type":"translate","vector":[0,0,30],"child":{"type":"box","size":[80,60,2]}},{"type":"translate","vector":[2.25,2.25,27],"child":{"type":"box","size":[75.5,55.5,3]}}]},"role":"solid"},{"name":"pcb_keepout","model":{"type":"translate","vector":[6,6,10.25],"child":{"type":"box","size":[68,48,13.75]}},"role":"keepout"}],"min_clearance_mm":0.25,"pair_rules":[{"part_a":"base","part_b":"lid","allow_contact":true}],"insertion_checks":[{"part":"lid","direction":[0,0,1]}]}' https://cad.burgeonads.com/v1/check/assembly-fit
```

## Input

```json
{
  "insertion_checks": [
    {
      "direction": [
        0,
        0,
        1
      ],
      "part": "lid"
    }
  ],
  "min_clearance_mm": 0.25,
  "pair_rules": [
    {
      "allow_contact": true,
      "part_a": "base",
      "part_b": "lid"
    }
  ],
  "parts": [
    {
      "model": {
        "children": [
          {
            "children": [
              {
                "children": [
                  {
                    "size": [
                      80,
                      60,
                      30
                    ],
                    "type": "box"
                  },
                  {
                    "child": {
                      "size": [
                        76,
                        56,
                        30
                      ],
                      "type": "box"
                    },
                    "type": "translate",
                    "vector": [
                      2,
                      2,
                      2
                    ]
                  }
                ],
                "type": "difference"
              },
              {
                "child": {
                  "height": 9,
                  "radius": 3.5,
                  "segments": 32,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  10,
                  10,
                  1
                ]
              },
              {
                "child": {
                  "height": 9,
                  "radius": 3.5,
                  "segments": 32,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  70,
                  10,
                  1
                ]
              },
              {
                "child": {
                  "height": 9,
                  "radius": 3.5,
                  "segments": 32,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  10,
                  50,
                  1
                ]
              },
              {
                "child": {
                  "height": 9,
                  "radius": 3.5,
                  "segments": 32,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  70,
                  50,
                  1
                ]
              }
            ],
            "type": "union"
          },
          {
            "child": {
              "size": [
                12,
                4,
                6
              ],
              "type": "box"
            },
            "type": "translate",
            "vector": [
              34,
              -1,
              12
            ]
          },
          {
            "child": {
              "height": 7,
              "radius": 1.25,
              "segments": 24,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              10,
              10,
              4
            ]
          },
          {
            "child": {
              "height": 7,
              "radius": 1.25,
              "segments": 24,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              70,
              10,
              4
            ]
          },
          {
            "child": {
              "height": 7,
              "radius": 1.25,
              "segments": 24,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              10,
              50,
              4
            ]
          },
          {
            "child": {
              "height": 7,
              "radius": 1.25,
              "segments": 24,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              70,
              50,
              4
            ]
          }
        ],
        "type": "difference"
      },
      "name": "base",
      "role": "solid"
    },
    {
      "model": {
        "children": [
          {
            "child": {
              "size": [
                80,
                60,
                2
              ],
              "type": "box"
            },
            "type": "translate",
            "vector": [
              0,
              0,
              30
            ]
          },
          {
            "child": {
              "size": [
                75.5,
                55.5,
                3
              ],
              "type": "box"
            },
            "type": "translate",
            "vector": [
              2.25,
              2.25,
              27
            ]
          }
        ],
        "type": "union"
      },
      "name": "lid",
      "role": "solid"
    },
    {
      "model": {
        "child": {
          "size": [
            68,
            48,
            13.75
          ],
          "type": "box"
        },
        "type": "translate",
        "vector": [
          6,
          6,
          10.25
        ]
      },
      "name": "pcb_keepout",
      "role": "keepout"
    }
  ]
}
```

## Output

```json
{
  "distance_search_mm": 60.0,
  "fit_ok": true,
  "insertion_results": [
    {
      "blocking_parts": [],
      "clear": true,
      "collisions": [],
      "direction": [
        0.0,
        0.0,
        1.0
      ],
      "part": "lid"
    }
  ],
  "pair_results": [
    {
      "allow_contact": true,
      "clearance_ok": true,
      "closest_points_mm": [
        [
          0.0,
          0.0,
          30.0
        ],
        [
          0.0,
          0.0,
          30.0
        ]
      ],
      "gap_ok": true,
      "intersection_bbox": null,
      "intersection_volume_mm3": 0.0,
      "intersects": false,
      "max_gap_mm": null,
      "min_distance_mm": 0.0,
      "part_a": "base",
      "part_b": "lid",
      "required_clearance_mm": 0.0,
      "witness_point_mm": null
    },
    {
      "allow_contact": false,
      "clearance_ok": true,
      "closest_points_mm": [
        [
          7.525126265847084,
          7.525126265847084,
          10.0
        ],
        [
          7.525126265847085,
          7.525126265847078,
          10.25
        ]
      ],
      "gap_ok": true,
      "intersection_bbox": null,
      "intersection_volume_mm3": 0.0,
      "intersects": false,
      "max_gap_mm": null,
      "min_distance_mm": 0.25,
      "part_a": "base",
      "part_b": "pcb_keepout",
      "required_clearance_mm": 0.25,
      "witness_point_mm": null
    },
    {
      "allow_contact": false,
      "clearance_ok": true,
      "closest_points_mm": [
        [
          6.0,
          54.0,
          27.0
        ],
        [
          6.0,
          54.0,
          24.0
        ]
      ],
      "gap_ok": true,
      "intersection_bbox": null,
      "intersection_volume_mm3": 0.0,
      "intersects": false,
      "max_gap_mm": null,
      "min_distance_mm": 3.0,
      "part_a": "lid",
      "part_b": "pcb_keepout",
      "required_clearance_mm": 0.25,
      "witness_point_mm": null
    }
  ],
  "status": "ok",
  "verified": true
}
```

# Assembly collision

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"parts":[{"name":"base","model":{"type":"union","children":[{"type":"difference","children":[{"type":"union","children":[{"type":"difference","children":[{"type":"box","size":[80,60,30]},{"type":"translate","vector":[2,2,2],"child":{"type":"box","size":[76,56,30]}}]},{"type":"translate","vector":[10,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,10,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[10,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}},{"type":"translate","vector":[70,50,1],"child":{"type":"cylinder","radius":3.5,"height":9,"segments":32}}]},{"type":"translate","vector":[34,-1,12],"child":{"type":"box","size":[12,4,6]}},{"type":"translate","vector":[10,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,10,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[10,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}},{"type":"translate","vector":[70,50,4],"child":{"type":"cylinder","radius":1.25,"height":7,"segments":24}}]},{"type":"translate","vector":[40,30,1],"child":{"type":"cylinder","radius":3.5,"height":13,"segments":32}}]},"role":"solid"},{"name":"lid","model":{"type":"union","children":[{"type":"translate","vector":[0,0,30],"child":{"type":"box","size":[80,60,2]}},{"type":"translate","vector":[2.25,2.25,27],"child":{"type":"box","size":[75.5,55.5,3]}}]},"role":"solid"},{"name":"pcb_keepout","model":{"type":"translate","vector":[6,6,10.25],"child":{"type":"box","size":[68,48,13.75]}},"role":"keepout"}],"min_clearance_mm":0.25,"pair_rules":[{"part_a":"base","part_b":"lid","allow_contact":true}],"insertion_checks":[{"part":"lid","direction":[0,0,1]},{"part":"lid","direction":[0,0,-1]}]}' https://cad.burgeonads.com/v1/check/assembly-fit
```

## Input

```json
{
  "insertion_checks": [
    {
      "direction": [
        0,
        0,
        1
      ],
      "part": "lid"
    },
    {
      "direction": [
        0,
        0,
        -1
      ],
      "part": "lid"
    }
  ],
  "min_clearance_mm": 0.25,
  "pair_rules": [
    {
      "allow_contact": true,
      "part_a": "base",
      "part_b": "lid"
    }
  ],
  "parts": [
    {
      "model": {
        "children": [
          {
            "children": [
              {
                "children": [
                  {
                    "children": [
                      {
                        "size": [
                          80,
                          60,
                          30
                        ],
                        "type": "box"
                      },
                      {
                        "child": {
                          "size": [
                            76,
                            56,
                            30
                          ],
                          "type": "box"
                        },
                        "type": "translate",
                        "vector": [
                          2,
                          2,
                          2
                        ]
                      }
                    ],
                    "type": "difference"
                  },
                  {
                    "child": {
                      "height": 9,
                      "radius": 3.5,
                      "segments": 32,
                      "type": "cylinder"
                    },
                    "type": "translate",
                    "vector": [
                      10,
                      10,
                      1
                    ]
                  },
                  {
                    "child": {
                      "height": 9,
                      "radius": 3.5,
                      "segments": 32,
                      "type": "cylinder"
                    },
                    "type": "translate",
                    "vector": [
                      70,
                      10,
                      1
                    ]
                  },
                  {
                    "child": {
                      "height": 9,
                      "radius": 3.5,
                      "segments": 32,
                      "type": "cylinder"
                    },
                    "type": "translate",
                    "vector": [
                      10,
                      50,
                      1
                    ]
                  },
                  {
                    "child": {
                      "height": 9,
                      "radius": 3.5,
                      "segments": 32,
                      "type": "cylinder"
                    },
                    "type": "translate",
                    "vector": [
                      70,
                      50,
                      1
                    ]
                  }
                ],
                "type": "union"
              },
              {
                "child": {
                  "size": [
                    12,
                    4,
                    6
                  ],
                  "type": "box"
                },
                "type": "translate",
                "vector": [
                  34,
                  -1,
                  12
                ]
              },
              {
                "child": {
                  "height": 7,
                  "radius": 1.25,
                  "segments": 24,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  10,
                  10,
                  4
                ]
              },
              {
                "child": {
                  "height": 7,
                  "radius": 1.25,
                  "segments": 24,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  70,
                  10,
                  4
                ]
              },
              {
                "child": {
                  "height": 7,
                  "radius": 1.25,
                  "segments": 24,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  10,
                  50,
                  4
                ]
              },
              {
                "child": {
                  "height": 7,
                  "radius": 1.25,
                  "segments": 24,
                  "type": "cylinder"
                },
                "type": "translate",
                "vector": [
                  70,
                  50,
                  4
                ]
              }
            ],
            "type": "difference"
          },
          {
            "child": {
              "height": 13,
              "radius": 3.5,
              "segments": 32,
              "type": "cylinder"
            },
            "type": "translate",
            "vector": [
              40,
              30,
              1
            ]
          }
        ],
        "type": "union"
      },
      "name": "base",
      "role": "solid"
    },
    {
      "model": {
        "children": [
          {
            "child": {
              "size": [
                80,
                60,
                2
              ],
              "type": "box"
            },
            "type": "translate",
            "vector": [
              0,
              0,
              30
            ]
          },
          {
            "child": {
              "size": [
                75.5,
                55.5,
                3
              ],
              "type": "box"
            },
            "type": "translate",
            "vector": [
              2.25,
              2.25,
              27
            ]
          }
        ],
        "type": "union"
      },
      "name": "lid",
      "role": "solid"
    },
    {
      "model": {
        "child": {
          "size": [
            68,
            48,
            13.75
          ],
          "type": "box"
        },
        "type": "translate",
        "vector": [
          6,
          6,
          10.25
        ]
      },
      "name": "pcb_keepout",
      "role": "keepout"
    }
  ]
}
```

## Output

```json
{
  "distance_search_mm": 60.0,
  "fit_ok": false,
  "insertion_results": [
    {
      "blocking_parts": [],
      "clear": true,
      "collisions": [],
      "direction": [
        0.0,
        0.0,
        1.0
      ],
      "part": "lid"
    },
    {
      "blocking_parts": [
        "base",
        "pcb_keepout"
      ],
      "clear": false,
      "collisions": [
        {
          "part": "base",
          "point_mm": [
            26.666666666666668,
            20.0,
            1.0000000000000002
          ]
        },
        {
          "part": "pcb_keepout",
          "point_mm": [
            28.666666666666668,
            22.0,
            17.125
          ]
        }
      ],
      "direction": [
        0.0,
        0.0,
        -1.0
      ],
      "part": "lid"
    }
  ],
  "pair_results": [
    {
      "allow_contact": true,
      "clearance_ok": true,
      "closest_points_mm": [
        [
          0.0,
          0.0,
          30.0
        ],
        [
          0.0,
          0.0,
          30.0
        ]
      ],
      "gap_ok": true,
      "intersection_bbox": null,
      "intersection_volume_mm3": 0.0,
      "intersects": false,
      "max_gap_mm": null,
      "min_distance_mm": 0.0,
      "part_a": "base",
      "part_b": "lid",
      "required_clearance_mm": 0.0,
      "witness_point_mm": null
    },
    {
      "allow_contact": false,
      "clearance_ok": false,
      "closest_points_mm": [
        [
          38.9221405454035,
          30.446464004425934,
          12.125
        ],
        [
          38.9221405454035,
          30.446464004425934,
          12.125
        ]
      ],
      "gap_ok": true,
      "intersection_bbox": {
        "max_mm": [
          43.5,
          33.5,
          14.0
        ],
        "min_mm": [
          36.5,
          26.5,
          10.25
        ]
      },
      "intersection_volume_mm3": 143.39138668185436,
      "intersects": true,
      "max_gap_mm": null,
      "min_distance_mm": 0.0,
      "part_a": "base",
      "part_b": "pcb_keepout",
      "required_clearance_mm": 0.25,
      "witness_point_mm": [
        38.9221405454035,
        30.446464004425934,
        12.125
      ]
    },
    {
      "allow_contact": false,
      "clearance_ok": true,
      "closest_points_mm": [
        [
          6.0,
          54.0,
          27.0
        ],
        [
          6.0,
          54.0,
          24.0
        ]
      ],
      "gap_ok": true,
      "intersection_bbox": null,
      "intersection_volume_mm3": 0.0,
      "intersects": false,
      "max_gap_mm": null,
      "min_distance_mm": 3.0,
      "part_a": "lid",
      "part_b": "pcb_keepout",
      "required_clearance_mm": 0.25,
      "witness_point_mm": null
    }
  ],
  "status": "ok",
  "verified": true
}
```

# Packed cut sheet

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"sheet_mm":[300,200],"kerf_mm":0.2,"margin_mm":2,"rotation_step_deg":90,"parts":[{"id":"l_bracket","polygon":[[0,0],[60,0],[60,10],[10,10],[10,40],[0,40]],"quantity":4},{"id":"ring","polygon":[[20.0,0.0],[19.318517,5.176381],[17.320508,10.0],[14.142136,14.142136],[10.0,17.320508],[5.176381,19.318517],[0.0,20.0],[-5.176381,19.318517],[-10.0,17.320508],[-14.142136,14.142136],[-17.320508,10.0],[-19.318517,5.176381],[-20.0,0.0],[-19.318517,-5.176381],[-17.320508,-10.0],[-14.142136,-14.142136],[-10.0,-17.320508],[-5.176381,-19.318517],[-0.0,-20.0],[5.176381,-19.318517],[10.0,-17.320508],[14.142136,-14.142136],[17.320508,-10.0],[19.318517,-5.176381]],"holes":[[[10.0,0.0],[9.659258,2.58819],[8.660254,5.0],[7.071068,7.071068],[5.0,8.660254],[2.58819,9.659258],[0.0,10.0],[-2.58819,9.659258],[-5.0,8.660254],[-7.071068,7.071068],[-8.660254,5.0],[-9.659258,2.58819],[-10.0,0.0],[-9.659258,-2.58819],[-8.660254,-5.0],[-7.071068,-7.071068],[-5.0,-8.660254],[-2.58819,-9.659258],[-0.0,-10.0],[2.58819,-9.659258],[5.0,-8.660254],[7.071068,-7.071068],[8.660254,-5.0],[9.659258,-2.58819]]],"quantity":3},{"id":"plate","polygon":[[0,0],[50,0],[50,30],[0,30]],"quantity":4}]}' https://cad.burgeonads.com/v1/optimize/sheet-layout
```

## Input

```json
{
  "kerf_mm": 0.2,
  "margin_mm": 2,
  "parts": [
    {
      "id": "l_bracket",
      "polygon": [
        [
          0,
          0
        ],
        [
          60,
          0
        ],
        [
          60,
          10
        ],
        [
          10,
          10
        ],
        [
          10,
          40
        ],
        [
          0,
          40
        ]
      ],
      "quantity": 4
    },
    {
      "holes": [
        [
          [
            10.0,
            0.0
          ],
          [
            9.659258,
            2.58819
          ],
          [
            8.660254,
            5.0
          ],
          [
            7.071068,
            7.071068
          ],
          [
            5.0,
            8.660254
          ],
          [
            2.58819,
            9.659258
          ],
          [
            0.0,
            10.0
          ],
          [
            -2.58819,
            9.659258
          ],
          [
            -5.0,
            8.660254
          ],
          [
            -7.071068,
            7.071068
          ],
          [
            -8.660254,
            5.0
          ],
          [
            -9.659258,
            2.58819
          ],
          [
            -10.0,
            0.0
          ],
          [
            -9.659258,
            -2.58819
          ],
          [
            -8.660254,
            -5.0
          ],
          [
            -7.071068,
            -7.071068
          ],
          [
            -5.0,
            -8.660254
          ],
          [
            -2.58819,
            -9.659258
          ],
          [
            -0.0,
            -10.0
          ],
          [
            2.58819,
            -9.659258
          ],
          [
            5.0,
            -8.660254
          ],
          [
            7.071068,
            -7.071068
          ],
          [
            8.660254,
            -5.0
          ],
          [
            9.659258,
            -2.58819
          ]
        ]
      ],
      "id": "ring",
      "polygon": [
        [
          20.0,
          0.0
        ],
        [
          19.318517,
          5.176381
        ],
        [
          17.320508,
          10.0
        ],
        [
          14.142136,
          14.142136
        ],
        [
          10.0,
          17.320508
        ],
        [
          5.176381,
          19.318517
        ],
        [
          0.0,
          20.0
        ],
        [
          -5.176381,
          19.318517
        ],
        [
          -10.0,
          17.320508
        ],
        [
          -14.142136,
          14.142136
        ],
        [
          -17.320508,
          10.0
        ],
        [
          -19.318517,
          5.176381
        ],
        [
          -20.0,
          0.0
        ],
        [
          -19.318517,
          -5.176381
        ],
        [
          -17.320508,
          -10.0
        ],
        [
          -14.142136,
          -14.142136
        ],
        [
          -10.0,
          -17.320508
        ],
        [
          -5.176381,
          -19.318517
        ],
        [
          -0.0,
          -20.0
        ],
        [
          5.176381,
          -19.318517
        ],
        [
          10.0,
          -17.320508
        ],
        [
          14.142136,
          -14.142136
        ],
        [
          17.320508,
          -10.0
        ],
        [
          19.318517,
          -5.176381
        ]
      ],
      "quantity": 3
    },
    {
      "id": "plate",
      "polygon": [
        [
          0,
          0
        ],
        [
          50,
          0
        ],
        [
          50,
          30
        ],
        [
          0,
          30
        ]
      ],
      "quantity": 4
    }
  ],
  "rotation_step_deg": 90,
  "sheet_mm": [
    300,
    200
  ]
}
```

## Output

```json
{
  "layout_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"300mm\" height=\"208mm\" viewBox=\"0 0 300 208\"><text font-family=\"sans-serif\" font-size=\"4.8\" fill=\"#000\" x=\"0\" y=\"6\">Sheet 1</text><rect fill=\"none\" stroke=\"#000\" stroke-width=\"0.3\" x=\"0\" y=\"8\" width=\"300\" height=\"200\"/><rect fill=\"none\" stroke=\"#888\" stroke-width=\"0.15\" stroke-dasharray=\"2 1\" x=\"2\" y=\"10\" width=\"296\" height=\"196\"/><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M42.2 175.8 L102.2 175.8 L102.2 165.8 L52.2 165.8 L52.2 135.8 L42.2 135.8Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"48.089\" y=\"169.95\" font-size=\"1.77\">l_bracket:0</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M102.4 175.8 L162.4 175.8 L162.4 165.8 L112.4 165.8 L112.4 135.8 L102.4 135.8Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"108.289\" y=\"169.95\" font-size=\"1.77\">l_bracket:1</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M202.6 175.8 L202.6 115.8 L192.6 115.8 L192.6 165.8 L162.6 165.8 L162.6 175.8Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"196.75\" y=\"169.911\" font-size=\"1.77\">l_bracket:2</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M202.8 165.8 L262.8 165.8 L262.8 155.8 L212.8 155.8 L212.8 125.8 L202.8 125.8Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"208.689\" y=\"159.95\" font-size=\"1.77\">l_bracket:3</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M242.8 186 L242.119 180.824 L240.121 176 L236.942 171.858 L232.8 168.679 L227.976 166.681 L222.8 166 L217.624 166.681 L212.8 168.679 L208.658 171.858 L205.479 176 L203.481 180.824 L202.8 186 L203.481 191.176 L205.479 196 L208.658 200.142 L212.8 203.321 L217.624 205.319 L222.8 206 L227.976 205.319 L232.8 203.321 L236.942 200.142 L240.121 196 L242.119 191.176ZM232.459 188.588 L231.46 191 L229.871 193.071 L227.8 194.66 L225.388 195.659 L222.8 196 L220.212 195.659 L217.8 194.66 L215.729 193.071 L214.14 191 L213.141 188.588 L212.8 186 L213.141 183.412 L214.14 181 L215.729 178.929 L217.8 177.34 L220.212 176.341 L222.8 176 L225.388 176.341 L227.8 177.34 L229.871 178.929 L231.46 181 L232.459 183.412 L232.8 186Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"215.28\" y=\"198.949\" font-size=\"2.763\">ring:0</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M283 186 L282.319 180.824 L280.321 176 L277.142 171.858 L273 168.679 L268.176 166.681 L263 166 L257.824 166.681 L253 168.679 L248.858 171.858 L245.679 176 L243.681 180.824 L243 186 L243.681 191.176 L245.679 196 L248.858 200.142 L253 203.321 L257.824 205.319 L263 206 L268.176 205.319 L273 203.321 L277.142 200.142 L280.321 196 L282.319 191.176ZM272.659 188.588 L271.66 191 L270.071 193.071 L268 194.66 L265.588 195.659 L263 196 L260.412 195.659 L258 194.66 L255.929 193.071 L254.34 191 L253.341 188.588 L253 186 L253.341 183.412 L254.34 181 L255.929 178.929 L258 177.34 L260.412 176.341 L263 176 L265.588 176.341 L268 177.34 L270.071 178.929 L271.66 181 L272.659 183.412 L273 186Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"275.949\" y=\"193.52\" font-size=\"2.763\">ring:1</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M42 155.8 L41.319 150.624 L39.321 145.8 L36.142 141.658 L32 138.479 L27.176 136.481 L22 135.8 L16.824 136.481 L12 138.479 L7.858 141.658 L4.679 145.8 L2.681 150.624 L2 155.8 L2.681 160.976 L4.679 165.8 L7.858 169.942 L12 173.121 L16.824 175.119 L22 175.8 L27.176 175.119 L32 173.121 L36.142 169.942 L39.321 165.8 L41.319 160.976ZM31.659 158.388 L30.66 160.8 L29.071 162.871 L27 164.46 L24.588 165.459 L22 165.8 L19.412 165.459 L17 164.46 L14.929 162.871 L13.34 160.8 L12.341 158.388 L12 155.8 L12.341 153.212 L13.34 150.8 L14.929 148.729 L17 147.14 L19.412 146.141 L22 145.8 L24.588 146.141 L27 147.14 L29.071 148.729 L30.66 150.8 L31.659 153.212 L32 155.8Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"9.051\" y=\"163.32\" font-size=\"2.763\">ring:2</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M2 206 L52 206 L52 176 L2 176Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"17\" y=\"191\" font-size=\"3.333\">plate:0</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M52.2 206 L102.2 206 L102.2 176 L52.2 176Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"67.2\" y=\"191\" font-size=\"3.333\">plate:1</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M102.4 206 L152.4 206 L152.4 176 L102.4 176Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"117.4\" y=\"191\" font-size=\"3.333\">plate:2</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M152.6 206 L202.6 206 L202.6 176 L152.6 176Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"167.6\" y=\"191\" font-size=\"3.333\">plate:3</text></svg>",
  "min_spacing_mm": 0.19999999999998863,
  "oversized_part_ids": [],
  "placements": [
    {
      "bbox_mm": [
        42.2,
        32.2,
        102.2,
        72.2
      ],
      "instance_index": 0,
      "part_id": "l_bracket",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        42.2,
        32.2
      ]
    },
    {
      "bbox_mm": [
        102.4,
        32.2,
        162.4,
        72.2
      ],
      "instance_index": 1,
      "part_id": "l_bracket",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        102.4,
        32.2
      ]
    },
    {
      "bbox_mm": [
        162.6,
        32.2,
        202.6,
        92.2
      ],
      "instance_index": 2,
      "part_id": "l_bracket",
      "rotate_deg": 90.0,
      "sheet_index": 0,
      "translate_mm": [
        202.6,
        32.2
      ]
    },
    {
      "bbox_mm": [
        202.79999999999998,
        42.2,
        262.79999999999995,
        82.2
      ],
      "instance_index": 3,
      "part_id": "l_bracket",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        202.79999999999998,
        42.2
      ]
    },
    {
      "bbox_mm": [
        202.79999999999998,
        2.0,
        242.79999999999998,
        42.0
      ],
      "instance_index": 0,
      "part_id": "ring",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        222.79999999999998,
        22.0
      ]
    },
    {
      "bbox_mm": [
        242.99999999999997,
        2.0,
        283.0,
        42.0
      ],
      "instance_index": 1,
      "part_id": "ring",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        263.0,
        22.0
      ]
    },
    {
      "bbox_mm": [
        2.0,
        32.2,
        42.0,
        72.2
      ],
      "instance_index": 2,
      "part_id": "ring",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        22.0,
        52.2
      ]
    },
    {
      "bbox_mm": [
        2.0,
        2.0,
        52.0,
        32.0
      ],
      "instance_index": 0,
      "part_id": "plate",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        2.0,
        2.0
      ]
    },
    {
      "bbox_mm": [
        52.2,
        2.0,
        102.2,
        32.0
      ],
      "instance_index": 1,
      "part_id": "plate",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        52.2,
        2.0
      ]
    },
    {
      "bbox_mm": [
        102.4,
        2.0,
        152.4,
        32.0
      ],
      "instance_index": 2,
      "part_id": "plate",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        102.4,
        2.0
      ]
    },
    {
      "bbox_mm": [
        152.6,
        2.0,
        202.6,
        32.0
      ],
      "instance_index": 3,
      "part_id": "plate",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        152.6,
        2.0
      ]
    }
  ],
  "sheet_area_mm2": 60000.0,
  "sheets_used": 1,
  "status": "placed_all",
  "total_part_area_mm2": 12395.245788870337,
  "unplaced": [],
  "unplaced_count": 0,
  "utilization_ratio": 0.20658742981450562,
  "verified": true
}
```

![Cut sheet](/examples/sheet-layout-packed/layout.svg)

# Oversized part

## Call

```sh
curl --fail-with-body --silent --show-error --request POST --header 'Content-Type: application/json' --header 'Accept: application/json' --data-raw '{"sheet_mm":[300,200],"kerf_mm":0.2,"margin_mm":2,"parts":[{"id":"beam","polygon":[[0,0],[400,0],[400,50],[0,50]],"quantity":1},{"id":"plate","polygon":[[0,0],[50,0],[50,30],[0,30]],"quantity":2}]}' https://cad.burgeonads.com/v1/optimize/sheet-layout
```

## Input

```json
{
  "kerf_mm": 0.2,
  "margin_mm": 2,
  "parts": [
    {
      "id": "beam",
      "polygon": [
        [
          0,
          0
        ],
        [
          400,
          0
        ],
        [
          400,
          50
        ],
        [
          0,
          50
        ]
      ],
      "quantity": 1
    },
    {
      "id": "plate",
      "polygon": [
        [
          0,
          0
        ],
        [
          50,
          0
        ],
        [
          50,
          30
        ],
        [
          0,
          30
        ]
      ],
      "quantity": 2
    }
  ],
  "sheet_mm": [
    300,
    200
  ]
}
```

## Output

```json
{
  "layout_svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"300mm\" height=\"208mm\" viewBox=\"0 0 300 208\"><text font-family=\"sans-serif\" font-size=\"4.8\" fill=\"#000\" x=\"0\" y=\"6\">Sheet 1</text><rect fill=\"none\" stroke=\"#000\" stroke-width=\"0.3\" x=\"0\" y=\"8\" width=\"300\" height=\"200\"/><rect fill=\"none\" stroke=\"#888\" stroke-width=\"0.15\" stroke-dasharray=\"2 1\" x=\"2\" y=\"10\" width=\"296\" height=\"196\"/><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M2 206 L52 206 L52 176 L2 176Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"17\" y=\"191\" font-size=\"3.333\">plate:0</text><path fill=\"none\" stroke=\"#d00\" stroke-width=\"0.1\" fill-rule=\"evenodd\" d=\"M52.2 206 L102.2 206 L102.2 176 L52.2 176Z\"/><text font-family=\"sans-serif\" fill=\"#036\" text-anchor=\"middle\" dominant-baseline=\"middle\" x=\"67.2\" y=\"191\" font-size=\"3.333\">plate:1</text></svg>",
  "min_spacing_mm": 0.20000000000000284,
  "oversized_part_ids": [
    "beam"
  ],
  "placements": [
    {
      "bbox_mm": [
        2.0,
        2.0,
        52.0,
        32.0
      ],
      "instance_index": 0,
      "part_id": "plate",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        2.0,
        2.0
      ]
    },
    {
      "bbox_mm": [
        52.2,
        2.0,
        102.2,
        32.0
      ],
      "instance_index": 1,
      "part_id": "plate",
      "rotate_deg": 0.0,
      "sheet_index": 0,
      "translate_mm": [
        52.2,
        2.0
      ]
    }
  ],
  "sheet_area_mm2": 60000.0,
  "sheets_used": 1,
  "status": "infeasible",
  "total_part_area_mm2": 3000.0,
  "unplaced": [
    {
      "instance_index": 0,
      "part_id": "beam"
    }
  ],
  "unplaced_count": 1,
  "utilization_ratio": 0.05,
  "verified": true
}
```

![Cut sheet](/examples/sheet-layout-infeasible/layout.svg)

Geometric verification only. Not structural or safety certification. Provided as-is without warranty.
