test: add reproducible FreeCAD golden oracle

This commit is contained in:
2026-08-03 03:20:37 -04:00
parent 81fcc69a74
commit 2ce261b982
27 changed files with 678 additions and 12 deletions

View File

@@ -0,0 +1,20 @@
{
"schemaVersion": 1,
"id": "part-cut-through-hole",
"category": "Part",
"description": "20 mm cube cut by a centered radius 5 mm through cylinder",
"operation": {
"type": "cut",
"base": { "type": "box", "length": 20, "width": 20, "height": 20 },
"tool": { "type": "cylinder", "radius": 5, "height": 20, "angle": 360, "placement": { "translation": [10, 10, 0] } }
},
"tolerance": { "linear": 1e-7, "scalar": 1e-7 },
"expected": {
"shapeType": "Compound",
"isNull": false,
"isValid": true,
"solids": 1,
"volume": 6429.203673205104,
"boundingBox": { "min": [0, 0, 0], "max": [20, 20, 20] }
}
}