SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"sources": [
"tangency-labs/solidcraft#1080"
],
"what": "all four top rim edges of a basin whose walls all slope 10 over 20, its front rim 1 mm wide, chamfered 2: the front chamfer's leg runs off the rim over the slab's front face (a cliff), so the loop builds as if the top went on, mitred at the rim's corners, and is cut by the front face",
"source": "analytic",
"method": "slab 100 x 60 x 30 less the loft from the rectangle (20, 1)-(80, 50) at z = 30 to (30, 11)-(70, 40) at z = 10 (planar walls, a prismatoid: 20/6 (A_top + A_bottom + 4 A_mid)): V0 = 140333.333333. Sliced at depth t below the top, each picked edge's chamfer is a strip beside its wall w(t) = d (1 - t/delta) wide, delta = d / sqrt(1 + k^2), k the wall's run over its drop; picked neighbours meet in mitres (each runs on past the corner and the quadrant beyond both walls loses what both take) and an unpicked neighbour's wall, extended, ends it, so the section removed is the pocket's rectangle at t grown by w(t) on each picked side, clipped to the slab's front face y >= 0 (the owner's ruling of 2026-10-30 (d7): a chamfer that reaches or runs past a rim builds), less the pocket's rectangle. That area is quadratic in t between the breakpoints (each delta, and where the front strip's edge y0 + k t - w(t) crosses y = 0), so Simpson's rule on each piece is exact. Removed 375.673069. V = 139957.660264",
"body_count": 1,
"volume_mm3": 139957.66026433042,
"bbox": {
"min": [
0,
0,
0
],
"max": [
100,
60,
30
]
},
"tolerance": {
"rel": 1e-06
}
}