6a53df0019
tests/bottle.test.ts builds it by code, each step held to its size: the half section revolved round Z (Pappus), the bottom's edge rounded 5 (the ring of its corner), the shoulder's two edges rounded 3, shelled 2 thick open at the neck, a thread of pitch 2 cut round the neck. Then the same bottle built by hand on a phone-sized screen (tests/fixtures/bottle-hand.json): the same volume and faces. The hand build went through without a new finding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 line
3.9 KiB
JSON
1 line
3.9 KiB
JSON
{"format":"super","version":2,"name":"Bottle","features":[{"id":"sketch-mwmion9p-31y4","name":"Sketch 01","type":"sketch","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,-1,0]},"entities":[{"id":"xanq3i4e","kind":"line","a":[0,0],"b":[25,0]},{"id":"4ih4olv3","kind":"line","a":[25,0],"b":[25,60]},{"id":"qp6gtulb","kind":"line","a":[25,60],"b":[12,72]},{"id":"1kcbw4iq","kind":"line","a":[12,72],"b":[12,88]},{"id":"h770efn1","kind":"line","a":[12,88],"b":[0,88]},{"id":"9ooehcrq","kind":"line","a":[0,88],"b":[0,0]}],"constraints":[{"id":"bpj2m8gl","type":"fix","pts":[{"e":"xanq3i4e","p":"a"}],"at":[0,0]},{"id":"6xemf70i","type":"horizontal","curves":["xanq3i4e"]},{"id":"0ouej8ok","type":"dim","curves":["xanq3i4e"],"prop":"length","value":25},{"id":"g22mww2n","type":"coincident","pts":[{"e":"xanq3i4e","p":"b"},{"e":"4ih4olv3","p":"a"}]},{"id":"hmiw0hvb","type":"vertical","curves":["4ih4olv3"]},{"id":"fo53jpdc","type":"dim","curves":["4ih4olv3"],"prop":"length","value":60},{"id":"yseujwjo","type":"coincident","pts":[{"e":"4ih4olv3","p":"b"},{"e":"qp6gtulb","p":"a"}]},{"id":"xpmjkrmn","type":"dim","curves":["qp6gtulb"],"prop":"length","value":17.69180601295413},{"id":"ijj7r4ny","type":"dim","curves":["qp6gtulb"],"prop":"angle","value":137.29061004263855},{"id":"qdps1z45","type":"coincident","pts":[{"e":"qp6gtulb","p":"b"},{"e":"1kcbw4iq","p":"a"}]},{"id":"zat7q0ri","type":"vertical","curves":["1kcbw4iq"]},{"id":"4xtwuyum","type":"dim","curves":["1kcbw4iq"],"prop":"length","value":16},{"id":"ms1bd3rk","type":"coincident","pts":[{"e":"1kcbw4iq","p":"b"},{"e":"h770efn1","p":"a"}]},{"id":"mevgqwrc","type":"horizontal","curves":["h770efn1"]},{"id":"iswn7r7a","type":"dim","curves":["h770efn1"],"prop":"length","value":12},{"id":"qrnrsm84","type":"coincident","pts":[{"e":"h770efn1","p":"b"},{"e":"9ooehcrq","p":"a"}]},{"id":"fhn5ska0","type":"coincident","pts":[{"e":"9ooehcrq","p":"b"},{"e":"xanq3i4e","p":"a"}]},{"id":"vwtaanqk","type":"vertical","curves":["9ooehcrq"]},{"id":"b2ckvx6a","type":"dim","curves":["9ooehcrq"],"prop":"length","value":88}],"log":[{"op":"Line","n":6}]},{"id":"revolve-mwmipt7l-jx2g","name":"Revolve 01","type":"revolve","source":{"kind":"profile","sketch":"sketch-mwmion9p-31y4","regions":[{"c":[11.515151515151516,39.10971786833856],"a":1914,"k":["1kcbw4iq","4ih4olv3","9ooehcrq","h770efn1","qp6gtulb","xanq3i4e"],"s":[0.5,0.5,0.5,0.5,0.5,0.5]}]},"axis":{"origin":[0,0,0],"dir":[0,0,1]},"angle":360,"mode":"auto"},{"id":"fillet-mwmiqiz2-qgir","name":"Fillet 01","type":"fillet","edges":[{"body":"revolve-mwmipt7l-jx2g","mid":[-25,3.061616997868383e-15,0],"dir":[-1.2246467991473532e-16,-1,0],"length":157.07963267948963,"steps":["revolve-mwmipt7l-jx2g"],"curves":["revolve-mwmipt7l-jx2g|4ih4olv3:0","revolve-mwmipt7l-jx2g|xanq3i4e:0"]}],"radius":5},{"id":"fillet-mwmiqtew-ogfw","name":"Fillet 02","type":"fillet","edges":[{"body":"revolve-mwmipt7l-jx2g","mid":[-25,3.061616997868383e-15,60],"dir":[-1.2246467991473532e-16,-1,0],"length":157.07963267948963,"steps":["revolve-mwmipt7l-jx2g"],"curves":["revolve-mwmipt7l-jx2g|4ih4olv3:0","revolve-mwmipt7l-jx2g|qp6gtulb:0"]},{"body":"revolve-mwmipt7l-jx2g","mid":[-12,1.4695761589768238e-15,72],"dir":[-1.2246467991473532e-16,-1,0],"length":75.39822368615505,"steps":["fillet-mwmiqtew-ogfw","revolve-mwmipt7l-jx2g"]}],"radius":3},{"id":"shell-mwmir3gr-poru","name":"Shell 01","type":"shell","body":"revolve-mwmipt7l-jx2g","faces":[{"body":"revolve-mwmipt7l-jx2g","center":[5.329070518200751e-15,-8.172475042379623e-16,88],"normal":[0,0,1],"area":452.3893421169303,"step":"revolve-mwmipt7l-jx2g","curve":"h770efn1:0"}],"thickness":2},{"id":"thread-mwmirdit-61q7","name":"Thread 01","type":"thread","face":{"body":"revolve-mwmipt7l-jx2g","center":[-1.7763568394002505e-15,-1.429295077281832e-15,80.65674684764855],"normal":[-1,-7.657137397853898e-16,0],"area":1107.336487530115,"step":"revolve-mwmipt7l-jx2g","curve":"1kcbw4iq:0"},"pitch":2,"round":{"r":11.999999999999998,"hole":false}}]} |