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
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
{
"$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
{
"$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.
{
"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
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
{
"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"
}
Geometric verification only. Not structural or safety certification. Provided as-is without warranty.