mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-15 13:10:45 +00:00
916b91e8d0
solidcore's main at c0d3cc0124, rewritten to one commit per same-author run per PR (2,800 commits, author credit kept; tree identical). Full original history: tangency-labs/solidcore archive/full-history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> git-subtree-dir: solidcore git-subtree-mainline:44525da669git-subtree-split:c440e5f892
266 lines
5.6 KiB
JSON
Vendored
266 lines
5.6 KiB
JSON
Vendored
{
|
|
"cases": [
|
|
{
|
|
"name": "attributed_boolean2d_squares_union_copy",
|
|
"note": "#1462 (SolidCraft's a_boolean2d_has_the_cpp_history): square sheets A 10x10 and B 10x10 offset by (5,5), Sm2DBooleanOperationType 0; every operand face and edge has its own long attribute (behaviour 0). Split edges' pieces, glued edges and the kept face carry them as SmAObject::Notify does.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"operation": 0,
|
|
"attributed": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "attributed_boolean2d_squares_union_reference",
|
|
"note": "#1462 (SolidCraft's a_boolean2d_has_the_cpp_history): square sheets A 10x10 and B 10x10 offset by (5,5), Sm2DBooleanOperationType 0; every operand face and edge has its own long attribute (behaviour 1). Split edges' pieces, glued edges and the kept face carry them as SmAObject::Notify does.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"operation": 0,
|
|
"attributed": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "attributed_boolean2d_squares_intersection_copy",
|
|
"note": "#1462 (SolidCraft's a_boolean2d_has_the_cpp_history): square sheets A 10x10 and B 10x10 offset by (5,5), Sm2DBooleanOperationType 1; every operand face and edge has its own long attribute (behaviour 0). Split edges' pieces, glued edges and the kept face carry them as SmAObject::Notify does.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"operation": 1,
|
|
"attributed": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "attributed_boolean2d_squares_difference_copy",
|
|
"note": "#1462 (SolidCraft's a_boolean2d_has_the_cpp_history): square sheets A 10x10 and B 10x10 offset by (5,5), Sm2DBooleanOperationType 2; every operand face and edge has its own long attribute (behaviour 0). Split edges' pieces, glued edges and the kept face carry them as SmAObject::Notify does.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"operation": 2,
|
|
"attributed": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "attributed_boolean2d_squares_difference_reference",
|
|
"note": "#1462 (SolidCraft's a_boolean2d_has_the_cpp_history): square sheets A 10x10 and B 10x10 offset by (5,5), Sm2DBooleanOperationType 2; every operand face and edge has its own long attribute (behaviour 1). Split edges' pieces, glued edges and the kept face carry them as SmAObject::Notify does.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"operation": 2,
|
|
"attributed": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "attributed_boolean2d_squares_xor_copy",
|
|
"note": "#1462 (SolidCraft's a_boolean2d_has_the_cpp_history): square sheets A 10x10 and B 10x10 offset by (5,5), Sm2DBooleanOperationType 3; every operand face and edge has its own long attribute (behaviour 0). Split edges' pieces, glued edges and the kept face carry them as SmAObject::Notify does.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"operation": 3,
|
|
"attributed": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "attributed_boolean2d_squares_merge_copy",
|
|
"note": "#1462 (SolidCraft's a_boolean2d_has_the_cpp_history): square sheets A 10x10 and B 10x10 offset by (5,5), Sm2DBooleanOperationType 4; every operand face and edge has its own long attribute (behaviour 0). Split edges' pieces, glued edges and the kept face carry them as SmAObject::Notify does.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"operation": 4,
|
|
"attributed": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "attributed_boolean2d_square_disk_difference_copy",
|
|
"note": "#1462: square sheet minus an overlapping disk (Sm2DBooleanOperationType 2), every operand face and edge with its own SM_AB_COPY long attribute.",
|
|
"inputs": {
|
|
"api": "boolean2d",
|
|
"a": {
|
|
"kind": "plane",
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"size": [
|
|
10.0,
|
|
10.0
|
|
]
|
|
},
|
|
"b": {
|
|
"kind": "disk",
|
|
"origin": [
|
|
5.0,
|
|
5.0,
|
|
0.0
|
|
],
|
|
"radius": 3.0
|
|
},
|
|
"operation": 2,
|
|
"attributed": 0
|
|
}
|
|
}
|
|
]
|
|
}
|