forked from 1b-agent/fieldcraft-upstream
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>
This commit is contained in:
49 files changed
+1770
-84
No files matched your search
@@ -0,0 +1 @@
|
||||
A 50 mm block drilled through by sixteen 0.6 mm pinholes: features 80 times smaller than the part, genus 16.
|
||||
@@ -0,0 +1,23 @@
|
||||
{"corpus": {"categories": ["small-feature", "genus"], "volume_mm3": 49909.522132},
|
||||
"commands": [
|
||||
{"command": "solid.box", "params": {"corner": [0, 0, 0], "length": 50, "width": 50, "height": 20, "body_name": "Block"}},
|
||||
{"command": "sketch.create", "params": {"plane": "XY", "name": "Pinholes"}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [10, 10], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [10, 20], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [10, 30], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [10, 40], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [20, 10], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [20, 20], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [20, 30], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [20, 40], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [30, 10], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [30, 20], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [30, 30], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [30, 40], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [40, 10], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [40, 20], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [40, 30], "diameter": 0.6}},
|
||||
{"command": "sketch.circle.center", "params": {"center": [40, 40], "diameter": 0.6}},
|
||||
{"command": "sketch.finish", "params": {}},
|
||||
{"command": "solid.extrude", "params": {"distance": 20, "operation": "cut"}}
|
||||
]}
|
||||
Reference in new issue
Block a user