Files
OneCAD-Simulation/tests/corpus/perforated-plate/recipe.json
T
a817a62440 Meshing test corpus built with SolidCraft; assembly placement in open_design (#11)
* geometry: build designs from SolidCraft command scripts (feature scripts)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* geometry: place component bodies through their occurrences when opening a design

An assembly's instances were missing and moved components sat at their own origin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* Meshing test corpus: 16 SolidCraft recipes, analytic shapes, loader and runner

modelcraft-testkit holds the corpus (tests/corpus/<name>/recipe.json run through SolidCraft's
engine, then opened as a design) and the runner binary behind cargo xtask corpus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* docs: corpus results, test corpus architecture and the scripts feature; licences

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

* corpus: measure each body once, check stage widths, simpler loader and runner

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm

---------

Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 15:19:06 -04:00

32 lines
2.4 KiB
JSON

{"corpus": {"categories": ["genus", "thin-wall", "sweepable"], "volume_mm3": 26764.24796},
"commands": [
{"command": "solid.box", "params": {"corner": [0, 0, 0], "length": 120, "width": 80, "height": 3, "body_name": "Plate"}},
{"command": "sketch.create", "params": {"plane": "XY", "name": "Perforation"}},
{"command": "sketch.circle.center", "params": {"center": [15, 13], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [15, 31], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [15, 49], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [15, 67], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [33, 13], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [33, 31], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [33, 49], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [33, 67], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [51, 13], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [51, 31], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [51, 49], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [51, 67], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [69, 13], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [69, 31], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [69, 49], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [69, 67], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [87, 13], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [87, 31], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [87, 49], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [87, 67], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [105, 13], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [105, 31], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [105, 49], "diameter": 6}},
{"command": "sketch.circle.center", "params": {"center": [105, 67], "diameter": 6}},
{"command": "sketch.finish", "params": {}},
{"command": "solid.extrude", "params": {"distance": 3, "operation": "cut"}}
]}