SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"sources": [
"tangency-labs/solidcraft#405",
"tangency-labs/solidcraft#406"
],
"what": "a 120 x 90 tray with four 38.6 mm flanges at 72 degrees closed with the rule's gap: the corners used to stay open as a V",
"source": "analytic",
"method": "T = 2, R = 1, K = 0.5, gap 0.5. A 72 deg flange leans out 18 deg, its outer face from the virtual sharp on the base's edge line (z = 0): it stands back s = (R+T) tan 36 = 2.179628, its bend has the allowance BA = 0.4 pi (R + T/2) = 2.513274 and its panel the leg 38.6 - s = 36.420372. With K = 0.5 every bend is bent about mid-thickness, so the folded volume is the flat area times T. The base is (120 - 2s) x (90 - 2s); the bends run along its edges to its corners, BA wide. Each corner is closed on the vertical plane halving it (x = y at the origin's): a panel's end is square to the sheet and keeps half the gap from that plane on its nearer, inner face, so at sigma along the panel it lies u(sigma) = g/sqrt2 + T sin72 - (s + sigma) cos72 from the sketch's corner along the edge (1.582124 at the bend, -9.672390 at the top): each panel is a trapezoid of mean length L - 2 u(leg/2) = L + 8.090265. The notch cuts nothing. Flat area 27390.468926, V = 54780.937851. Bbox: the walls' outer top edges stand 38.6 cos72 = 11.928056 outside the base's edge lines, their inner top edges 38.6 sin72 + 2 cos72 = 37.328816 above the underside.",
"body_count": 1,
"volume_mm3": 54780.93785112385,
"bbox": {
"min": [
-11.928055982872973,
-11.928055982872973,
0
],
"max": [
131.92805598287296,
101.92805598287298,
37.32881551774282
]
}
}