21 lines
646 B
JSON
21 lines
646 B
JSON
{
|
|
"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] }
|
|
}
|
|
}
|