Skip to content

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

1.0 KB
Raw Blame
{
 "sources": [],
 "body_count": 1,
 "what": "a square hole in one smooth sheet, patched g2 (Curvature): every seam reaches g2, corners included, since round the hole there is only the one surface and its corners ask nothing it cannot give",
 "source": "invariants",
 "method": "the sheet: a single-span cubic Bezier through control points (0,0), (13,8), (27,-8), (40,0) on XZ, extruded 40 as a surface; trimmed by the square x, y 12..28 swept along Z, keeping the outside. The hole's sides are two copies of the profile's middle (at y = 12 and 28) and two straight rulings (x = 12 and 28), all on the one face. Patched g2 from its four edges and stitched in. Each corner's two sides lie on the same surface, so they agree to every order and the fill holds the order asked up to the corners. Not exact: a fill may read higher where it happens to.",
 "continuity": {
  "order": "g2",
  "edges": [
   [
    20,
    12,
    0.0
   ],
   [
    28,
    20,
    2.002857
   ],
   [
    20,
    28,
    0.0
   ],
   [
    12,
    20,
    -2.002857
   ]
  ]
 }
}