test: add reproducible FreeCAD golden oracle
This commit is contained in:
20
fixtures/freecad-golden/scenarios/part-cut-through-hole.json
Normal file
20
fixtures/freecad-golden/scenarios/part-cut-through-hole.json
Normal 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] }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user