Skip to content

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

846 B
Raw Blame
{
 "sources": [
  "tangency-labs/solidcraft#4782"
 ],
 "what": "the long top edge of a 5x5 bar rounded r10, wider than both faces it rounds",
 "source": "analytic",
 "method": "a convex round past its faces' far edges is built on the faces continued and its removal subtracted (smlib_fillet): the section keeps the bar's 5x5 square [0,5]x[0,5] (y,z) within the round's circle, centre (10,-5), radius 10. The circle crosses z=0 at y = 10-sqrt(75) and y=5 at z = sqrt(75)-5, and contains the corner (5,0), so with u = 10-y the area is integral from 5 to sqrt(75) of (sqrt(100-u^2) - 5) du = 50 (pi/3 - pi/6) - 5 (sqrt(75) - 5) = 25 pi/3 - 5 sqrt(75) + 25 = 7.8786686; V = 80 area = 2000 pi/3 - 400 sqrt(75) + 2000 = 630.2934873",
 "body_count": 1,
 "volume_mm3": 630.2934873,
 "continuity": {
  "order": "g1"
 },
 "tolerance": {
  "rel": 1e-06
 }
}