Skip to content

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

973 B
Raw Blame
{
  "source": "analytic",
  "method": "Plate L=100, W=80, T=20 mm; Bore1 at (20,20) Ø10; Bore2 at (60,50) Ø10. Box minus independently located through-cylinders: V=LWT-sum(pi*d²*T/4), area=2(LW+LT+WT)+sum(pi*d*T-pi*d²/2), mass moments from exact box minus cylinders. Shape: four exterior vertical R10 corner rounds; full upper tangent loop 2 mm chamfer; four corner spandrels subtract volume T*(4-pi)*R² at symmetric centroid (L/2,W/2,T/2); rounded perimeter P=2(L+W)-8R+2pi*R; upper tangent chamfer subtracts volume Vc=P*c²/2-pi*c³/3 at (L/2,W/2,T-(P*c³/6-pi*c⁴/12)/Vc); area from upper inset face, side strips and sqrt(2)*c*(P-pi*c) bevel surface",
  "body_count": 1,
  "volume_mm3": 154464.30652785578,
  "area_mm2": 23220.575727260624,
  "center_of_mass": [
    50.20338631779784,
    40.10169315889891,
    9.959084781124005
  ],
  "bbox": {
    "min": [
      0,
      0,
      0
    ],
    "max": [
      100,
      80,
      20
    ]
  },
  "faces": 20
}