Skip to content

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

1.0 KB
Raw Blame
{
 "sources": [
  "tangency-labs/solidcraft#1080"
 ],
 "what": "the 1 mm front rim of a sloped basin's top rounded R0.5: it fits on the rim",
 "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 wall leans (20-1) out over 20 down: the faces meet at 133.5312 deg, so the round's contacts lie r cot(t/2) = 0.214656 from the edge, on the top at y = 0.785344 and down the wall, its centre under the top contact at z = 30 - r. 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 0.356729. V = 144532.976604",
 "body_count": 1,
 "volume_mm3": 144532.976604295,
 "bbox": {
  "min": [
   0,
   0,
   0
  ],
  "max": [
   100,
   60,
   30
  ]
 },
 "tolerance": {
  "rel": 1e-06
 },
 "continuity": {
  "order": "g1"
 }
}