Skip to content

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

1.2 KB
Raw Blame
{
 "sources": [],
 "what": "003's tray with torn corners: the bends run to the corner and each end is cut straight, in the flat, to where its panel's end starts",
 "source": "analytic",
 "method": "T = 2, R = 1, K = 0.5, the corner gap g = 0.5. A bend zone is BA = theta (R + K T) wide in the flat; folded it is an annular sector holding theta T (R + T/2) a mm of bend, T BA with K = 0.5, and every panel moves rigidly, so V = T x the flat area. An edge flange's outer virtual sharp is on the picked edge: the base is cut back s0 = (R + T) tan(theta/2), the bend starts there, and its panel is H - s0 long (H from the sharp along the outer face). A torn corner (sheet.rs tear_corner) cuts nothing from the base: each bend zone's end runs straight from the corner, on its start line, to the panel's end at its far edge, e = 0.646447 further along (003's closing), so each torn end adds the triangle BA e / 2 to the bend zone; folded, the end is a helix and the column of sheet under each flat point still holds T of material (K = 0.5). V = 2 (003's flat area + 8 pi e / 2)",
 "body_count": 1,
 "volume_mm3": 22267.903304036,
 "bbox": {
  "min": [
   0,
   0,
   0
  ],
  "max": [
   100.0,
   60.0,
   20.0
  ]
 }
}