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": [
    "tangency-labs/solidcraft#1985",
    "tangency-labs/solidcraft#2243"
  ],
  "what": "a small enclosure (rounded box, inner cut, corner gusset with a screw hole, two standoffs, USB cut-out) whose STEP export never finished (the export meshes its own file back)",
  "source": "analytic",
  "method": "the script builds one connected part: the export must finish, and the part is one valid closed solid. Body sketch: the rounded rectangle 0..78 x 0..77 (outer_width = 74 + 2 * 2, outer_depth = 73 + 2 * 2), corners r 3, area 78*77 - (4 - pi)*9 = 5998.274, extruded 37.5: 224935.278. Cavity box (2,2,2.5) 74 x 73, open at the top: - 74*73*35 = 189070. Gusset (68,67,2.5) 8 x 8 x 35 in the cavity's back corner: + 2240. Screw hole r 1.25 at (72,71) from z 29.5, inside the gusset: - pi 1.25^2 8 = 39.270. Two standoffs r 2.5, 3 high at (30.11, 69.04) and (58.05, 69.04) on the floor, clear of the walls and the gusset: + 2 * 58.905. USB cut-out (21.33..31.33, -1..3, 5..11) through the 2 mm front wall: - 10*2*6 = 120. V = 38063.827. Box: the outline's 0..78 x 0..77, z 0..37.5",
  "body_count": 1,
  "volume_mm3": 38063.827337,
  "bbox": {
    "min": [
      0.0,
      0.0,
      0.0
    ],
    "max": [
      78,
      77,
      37.5
    ]
  }
}