Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

1.6 KB
Raw Blame
{
 "sources": [],
 "what": "a box's top back edge rounded curvature-continuous size 3: the order-2 section meets each face with its curvature (0) and its third derivative (0), and not its fourth",
 "source": "analytic",
 "method": "box 40x30x20, the top back edge (y = 30, z = 20, 40 long) between the planar end faces x = 0 and 40, set back s = 3 along both faces (square to each other). In a plane x = const the faces' feet of the point at distance d from both are (30 - d, 20) and (30, 20 - d), linear in d, so the order-2 section is S(t) = f(t) (e + (1 - p1(t)) (rho1 - e)) + (1 - f(t)) (e + p2(t) (rho2 - e)), f = (1-t)^3 / ((1-t)^3 + t^3), p1 = t / (1 - w + w t), p2 = t (1 - w) / (1 - w t), e the edge and rho_i the contacts, at the default, equal-area thumbweight w = -0.5252123889: it cuts 0.214601836603 s^2 = 1.387733898 off the corner (Green's theorem on S). V = 24000 - 40 * 1.387733898 = 23944.4906. Its standoff from each face is c s^4: the t^3 term vanishes between planes (their feet are linear in d), so the section is G3 with them. Faces 7; both seams G3, not G4. [the curvature section at the equal-area thumbweight (the default): on the same rails it takes off what the ball's circle does, so between square planes w = -0.5252123889 and it cuts A = (1 - pi/4) s^2 = 0.214601836603 s^2, first moment about either face M = 0.0474559669443 s^3 (Green's theorem on S); V = 23922.743339]",
 "body_count": 1,
 "volume_mm3": 23922.743338823082,
 "faces": 7,
 "bbox": {
  "min": [
   0,
   0,
   0
  ],
  "max": [
   40,
   30,
   20
  ]
 },
 "continuity": {
  "order": "g3",
  "exact": true
 },
 "tolerance": {
  "rel": 1e-07
 }
}