Files
superGeometry fccdae44d6 Stress test: a box with a lid (rounds, a sealed shell, a plane, Split)
tests/splitbox.test.ts builds it by code, each step held to its size: a
60 x 40 x 30 block, its upright corners rounded 8, its top and bottom
edges rounded 2 (held to Steiner's formula: the inside grown 2 all
round), hollowed 2 thick with no face open, then cut in two along a
plane 22 up: the base and the lid, each to its volume. Then the same box
built by hand on a phone-sized screen (tests/fixtures/splitbox-hand.json):
the same two parts.

What the hand build found:

- Shell, sealed, with walls as thick as the edges are round (2 and 2):
  after a minute and a half it said two faces were closer together than
  two walls, which nothing was. The rounds shrink to nothing inside; the
  offset came out with hair-thin faces there, Shell took it, and the
  check every edit gets turned it down after a long repair. Shell now
  holds its tries to having no hair-thin faces too, and tries a hair
  thicker (a thousandth) for sealed shells as well as open ones: the
  sharp inside it should have, in about ten seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:06:15 +02:00

1 line
2.2 KiB
JSON

{"format":"super","version":2,"name":"Box with a lid","features":[{"id":"sketch-mwmjppl0-ofwg","name":"Sketch 01","type":"sketch","plane":{"origin":[0,0,0],"normal":[0,0,1],"xDir":[1,0,0]},"entities":[{"id":"t9a7tk5v","kind":"rect","center":[0,0],"w":60,"h":40,"rotation":0}],"constraints":[{"id":"ct8oljfp","type":"dim","curves":["t9a7tk5v"],"prop":"w","value":60},{"id":"2of01g5x","type":"dim","curves":["t9a7tk5v"],"prop":"h","value":40}],"log":[{"op":"Rectangle","n":1}]},{"id":"extrude-mwmjpvmn-mqzt","name":"Extrude 01","type":"extrude","source":{"kind":"profile","sketch":"sketch-mwmjppl0-ofwg","regions":[{"c":[0,0],"a":2400,"k":["t9a7tk5v"],"s":[2]}]},"distance":30,"mode":"auto"},{"id":"fillet-mwmjq83d-b3ay","name":"Fillet 01","type":"fillet","edges":[{"body":"extrude-mwmjpvmn-mqzt","mid":[30,-20,15],"dir":[0,0,1],"length":30,"steps":["extrude-mwmjpvmn-mqzt"],"curves":["extrude-mwmjpvmn-mqzt|t9a7tk5v:0","extrude-mwmjpvmn-mqzt|t9a7tk5v:1"]},{"body":"extrude-mwmjpvmn-mqzt","mid":[-30,-20,15],"dir":[0,0,1],"length":30,"steps":["extrude-mwmjpvmn-mqzt"]},{"body":"extrude-mwmjpvmn-mqzt","mid":[30,20,15],"dir":[0,0,1],"length":30,"steps":["extrude-mwmjpvmn-mqzt"]}],"radius":8},{"id":"fillet-mwmjqobt-xqqx","name":"Fillet 02","type":"fillet","edges":[{"body":"extrude-mwmjpvmn-mqzt","mid":[-30,20,15],"dir":[0,0,1],"length":30,"steps":["extrude-mwmjpvmn-mqzt"],"curves":["extrude-mwmjpvmn-mqzt|t9a7tk5v:2","extrude-mwmjpvmn-mqzt|t9a7tk5v:3"]}],"radius":8},{"id":"fillet-mwmjqz41-jn6e","name":"Fillet 03","type":"fillet","edges":[{"body":"extrude-mwmjpvmn-mqzt","mid":[0,20,30],"dir":[-1,0,0],"length":44,"steps":["extrude-mwmjpvmn-mqzt"],"curves":["extrude-mwmjpvmn-mqzt|cap:1@t9a7tk5v:0","extrude-mwmjpvmn-mqzt|t9a7tk5v:2"]},{"body":"extrude-mwmjpvmn-mqzt","mid":[0,20,0],"dir":[-1,0,0],"length":44,"steps":["extrude-mwmjpvmn-mqzt"]}],"radius":2},{"id":"shell-mwmjs4s2-bos7","name":"Shell 01","type":"shell","body":"extrude-mwmjpvmn-mqzt","faces":[],"thickness":2},{"id":"plane-mwmjtdjn-jhcs","name":"Plane 01","type":"plane","kind":"offset","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,0,1]},"offset":22},{"id":"split-mwmjtsk1-dwyj","name":"Split 01","type":"split","body":"extrude-mwmjpvmn-mqzt","plane":{"origin":[0,0,22],"xDir":[1,0,0],"normal":[0,0,1]}}]}