feat: establish reproducible FreeCAD web compatibility baseline
This commit is contained in:
62
fixtures/freecad-golden/scenarios/part-cut-001.json
Normal file
62
fixtures/freecad-golden/scenarios/part-cut-001.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "part-cut-001",
|
||||
"category": "Part",
|
||||
"description": "cut Boolean fixture 1",
|
||||
"operation": {
|
||||
"type": "cut",
|
||||
"base": {
|
||||
"type": "box",
|
||||
"length": 9,
|
||||
"width": 8,
|
||||
"height": 10,
|
||||
"placement": {
|
||||
"translation": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
},
|
||||
"tool": {
|
||||
"type": "cylinder",
|
||||
"radius": 2.5,
|
||||
"height": 10,
|
||||
"angle": 360,
|
||||
"placement": {
|
||||
"translation": [
|
||||
4.5,
|
||||
4,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"tolerance": {
|
||||
"linear": 0.000001,
|
||||
"scalar": 0.000001
|
||||
},
|
||||
"expected": {
|
||||
"shapeType": "Compound",
|
||||
"isNull": false,
|
||||
"isValid": true,
|
||||
"solids": 1,
|
||||
"faces": 7,
|
||||
"edges": 15,
|
||||
"vertices": 10,
|
||||
"volume": 523.6504591506377,
|
||||
"area": 601.8097245096172,
|
||||
"boundingBox": {
|
||||
"max": [
|
||||
9,
|
||||
8,
|
||||
11
|
||||
],
|
||||
"min": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user