Skip to content

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

951 B
Raw Blame
{
  "source": "analytic",
  "method": "box 40x30x20 with its top front edge (y=0, z=20) rounded at a radius that is a clamped cubic B-spline in u = x/40, knots 0,0,0,0,0.25,0.6,1,1,1,1, control radii 2, 5, 1.5, 4, 1, 3 (r(0) = 2, r(40) = 3). The round is the union of the balls rolled along the edge, ball s touching both faces at r(s), the law continued past the edge's ends along its end slopes: each section loses the corner points no ball reaches, up to rho(x, t), the nearest entry into a ball along the ray from the edge at the angle t. V, moments and areas integrated by Gauss-Legendre panels in x and t, per knot span",
  "body_count": 1,
  "volume_mm3": 23934.448277244028,
  "area_mm2": 5151.073263624305,
  "center_of_mass": [
    20.008266640263077,
    15.039307007393068,
    9.974387004266745
  ],
  "bbox": {
    "min": [
      0.0,
      0.0,
      0.0
    ],
    "max": [
      40.0,
      30.0,
      20.0
    ]
  },
  "faces": 7
}