Skip to content

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

1.1 KB
Raw Blame
{
 "sources": [
  "tangency-labs/solidcraft#316"
 ],
 "what": "a 40 x 30 x 10 box, its bottom outline rounded R2.4, shelled 2 mm open at the bottom: where the round meets the open bottom the cavity's wall steps down along the bottom's normal (a step wall), so the round meets it at 90 degrees at the opening's edge and the opening is exactly the picked face",
 "source": "analytic",
 "method": "box 40x30x10 less the bottom rounds R2.4 (the four edges mitred at the vertical corners), less the cavity: the walls and top moved 2 in, the open bottom kept, and at the bottom's tangent edge with the round a step wall along the bottom's normal from the bottom (offset 0) to the round's offset (offset 2); the round's offset has radius 0.4. The material along each bottom edge is a mitred ring of section t(r - t) + (1 - pi/4)(r - t)^2 on top of the walls' plain sections; integrated round the outline with the mitred corners (quadrature agrees to 3e-5): V = 4446.399483",
 "body_count": 1,
 "volume_mm3": 4446.399483,
 "bbox": {
  "min": [
   0,
   0,
   0
  ],
  "max": [
   40,
   30,
   10
  ]
 }
}