Files
Brennen Herbruck 916b91e8d0 Vendor solidcore at solidcore/ with its history (solidcore c0d3cc0124)
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: 44525da669
git-subtree-split: c440e5f892
2026-11-08 15:18:40 -05:00

1277 lines
22 KiB
JSON
Vendored

{
"cases": [
{
"name": "replace_extrusion_cubic_noswap_out",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 3,
"control_points": [
[
0,
0,
0,
1
],
[
1,
2,
0,
1
],
[
3,
-1,
0,
1
],
[
4,
1,
0,
1
],
[
6,
0.5,
0,
1
]
],
"knots": [
0,
0,
0,
0,
0.5,
1,
1,
1,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0,
0,
1
],
"domain": [
0,
0,
1,
2
],
"swap_uv": false
},
"offset_distance": 0.25,
"approx_tol": 1e-05,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_cubic_noswap_in",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 3,
"control_points": [
[
0,
0,
0,
1
],
[
1,
2,
0,
1
],
[
3,
-1,
0,
1
],
[
4,
1,
0,
1
],
[
6,
0.5,
0,
1
]
],
"knots": [
0,
0,
0,
0,
0.5,
1,
1,
1,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0,
0,
1
],
"domain": [
0,
0,
1,
2
],
"swap_uv": false
},
"offset_distance": -0.25,
"approx_tol": 1e-05,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_arc_noswap",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 2,
"control_points": [
[
2,
0,
0,
1
],
[
1.4142135623730951,
1.4142135623730951,
0,
0.7071067811865476
],
[
0,
2,
0,
1
]
],
"knots": [
0,
0,
0,
1,
1,
1
]
},
"origin": [
2,
0,
0
],
"direction": [
0,
0,
3
],
"domain": [
0,
-1,
1,
1
],
"swap_uv": false
},
"offset_distance": 0.5,
"approx_tol": 0.0001,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_cubic_swap_out",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 3,
"control_points": [
[
0,
0,
0,
1
],
[
1,
2,
0,
1
],
[
3,
-1,
0,
1
],
[
4,
1,
0,
1
],
[
6,
0.5,
0,
1
]
],
"knots": [
0,
0,
0,
0,
0.5,
1,
1,
1,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0,
0,
1
],
"domain": [
0,
0,
1,
2
],
"swap_uv": true
},
"offset_distance": 0.25,
"approx_tol": 1e-05,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_cubic_swap_in",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 3,
"control_points": [
[
0,
0,
0,
1
],
[
1,
2,
0,
1
],
[
3,
-1,
0,
1
],
[
4,
1,
0,
1
],
[
6,
0.5,
0,
1
]
],
"knots": [
0,
0,
0,
0,
0.5,
1,
1,
1,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0,
0,
1
],
"domain": [
0,
0,
1,
2
],
"swap_uv": true
},
"offset_distance": -0.25,
"approx_tol": 1e-05,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_arc_swap",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 2,
"control_points": [
[
2,
0,
0,
1
],
[
1.4142135623730951,
1.4142135623730951,
0,
0.7071067811865476
],
[
0,
2,
0,
1
]
],
"knots": [
0,
0,
0,
1,
1,
1
]
},
"origin": [
2,
0,
0
],
"direction": [
0,
0,
3
],
"domain": [
0,
-1,
1,
1
],
"swap_uv": true
},
"offset_distance": 0.5,
"approx_tol": 0.0001,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_cubic_oblique",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 3,
"control_points": [
[
0,
0,
0,
1
],
[
1,
2,
0,
1
],
[
3,
-1,
0,
1
],
[
4,
1,
0,
1
],
[
6,
0.5,
0,
1
]
],
"knots": [
0,
0,
0,
0,
0.5,
1,
1,
1,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0.3,
-0.2,
1
],
"domain": [
0,
0,
1,
1.5
],
"swap_uv": false
},
"offset_distance": 0.1,
"approx_tol": 0.001,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_cubic_tight_tol",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 3,
"control_points": [
[
0,
0,
0,
1
],
[
1,
2,
0,
1
],
[
3,
-1,
0,
1
],
[
4,
1,
0,
1
],
[
6,
0.5,
0,
1
]
],
"knots": [
0,
0,
0,
0,
0.5,
1,
1,
1,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0,
0,
1
],
"domain": [
0,
0,
1,
2
],
"swap_uv": false
},
"offset_distance": 0.25,
"approx_tol": 1e-07,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_cubic_tiny_scale",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "bspline",
"degree": 3,
"control_points": [
[
0,
0,
0,
1
],
[
1,
2,
0,
1
],
[
3,
-1,
0,
1
],
[
4,
1,
0,
1
],
[
6,
0.5,
0,
1
]
],
"knots": [
0,
0,
0,
0,
0.5,
1,
1,
1,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0,
0,
0.001
],
"domain": [
0,
0,
1,
2
],
"swap_uv": false
},
"offset_distance": 0.0001,
"approx_tol": 1e-09,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_extrusion_line",
"inputs": {
"op": "replace",
"base": {
"kind": "extrusion",
"generator": {
"kind": "line",
"start": [
0,
0,
0
],
"end": [
3,
1,
0
],
"domain": [
0,
1
]
},
"origin": [
0,
0,
0
],
"direction": [
0,
0,
1
],
"domain": [
0,
0,
1,
2
],
"swap_uv": false
},
"offset_distance": 0.25,
"approx_tol": 1e-05,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_plane",
"inputs": {
"op": "replace",
"base": {
"kind": "surface",
"surface": {
"kind": "plane",
"origin": [
0,
0,
0
],
"x_axis": [
1,
0,
0
],
"y_axis": [
0,
1,
0
],
"scale": [
1,
1
],
"domain": [
0,
0,
1,
1
]
}
},
"offset_distance": 0.25,
"approx_tol": 1e-05,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
},
{
"name": "replace_bspline_bump",
"inputs": {
"op": "replace",
"base": {
"kind": "surface",
"surface": {
"kind": "bspline",
"u_degree": 3,
"v_degree": 3,
"u_count": 4,
"v_count": 4,
"control_points": [
[
0.0,
0.0,
0.0,
1
],
[
0.0,
0.6666666666666666,
0.0,
1
],
[
0.0,
1.3333333333333333,
0.0,
1
],
[
0.0,
2.0,
0.0,
1
],
[
0.6666666666666666,
0.0,
0.0,
1
],
[
0.6666666666666666,
0.6666666666666666,
0.3,
1
],
[
0.6666666666666666,
1.3333333333333333,
0.3,
1
],
[
0.6666666666666666,
2.0,
0.0,
1
],
[
1.3333333333333333,
0.0,
0.0,
1
],
[
1.3333333333333333,
0.6666666666666666,
0.3,
1
],
[
1.3333333333333333,
1.3333333333333333,
0.3,
1
],
[
1.3333333333333333,
2.0,
0.0,
1
],
[
2.0,
0.0,
0.0,
1
],
[
2.0,
0.6666666666666666,
0.0,
1
],
[
2.0,
1.3333333333333333,
0.0,
1
],
[
2.0,
2.0,
0.0,
1
]
],
"u_knots": [
0,
0,
0,
0,
1,
1,
1,
1
],
"v_knots": [
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
"offset_distance": 0.2,
"approx_tol": 1e-05,
"samples": [
[
0,
0
],
[
1,
0
],
[
0,
1
],
[
1,
1
],
[
0.5,
0.5
],
[
0.07,
0.19
],
[
0.45,
0.73
],
[
0.913,
0.371
]
]
}
}
]
}