Skip to content

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

1007 B
Raw Blame
{
 "sources": [
  "tangency-labs/solidcraft#1080"
 ],
 "what": "the 1 mm front rim of a sloped basin's top chamfered 0.5, half the rim's width: it fits",
 "source": "analytic",
 "method": "slab 100 x 60 x 30 less the loft from the rectangle (20, 1)-(80, 50) at z = 30 to (30, 20)-(70, 40) at z = 10 (planar walls, a prismatoid: 20/6 (A_top + A_bottom + 4 A_mid)): V0 = 144533.333333. The chamfer's triangle in (y, z): the edge (1, 30), its leg on the top to (0.5, 30) and d down the wall to (1 + d (20-1)/L, 30 - 20 d/L), L = sqrt((20-1)^2 + 400). At height z the blend runs between the sloped end walls x = 20 + (30-z)/2 and 80 - (30-z)/2 extended, which cut it: its length there is 30 + z, so it takes Int Int (30 + z) dy dz over its section (y, z). Removed (shoelace for the area and its first moment) 5.426545. V = 144527.906788",
 "body_count": 1,
 "volume_mm3": 144527.9067880851,
 "bbox": {
  "min": [
   0,
   0,
   0
  ],
  "max": [
   100,
   60,
   30
  ]
 },
 "tolerance": {
  "rel": 1e-06
 }
}