Files
superGeometry a5325b5da6 The hand-built lamp now comes out the same as the one made by code, part by part (same volumes to 0.1 %, same colours: tests/lamp.test.ts); rebuilt by hand on a phone-sized screen with what was missing:
- Line on a touch screen: Across and Up fields next to Length and Angle — a slope ("in 10, up 12") with no angle to work out; the base's domed outline was drawn as two flat steps for lack of it
- Color: Custom… picks any colour (one undo step); the ten soft colours couldn't give a dark base or a brass shade
- Sketch grid snapping follows what a fingertip can tell apart (1 / 5 / 10 mm by zoom), not the drawn grid's 10 mm lines: zoomed right in, a tap at 152 still landed on 150

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 01:46:34 +02:00

2 lines
10 KiB
JSON

{"format":"super","version":2,"name":"Arc lamp by hand","features":[{"id":"sketch-mw5m3rfp-vc5l","name":"Sketch 01","type":"sketch","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,-1,0]},"entities":[{"id":"mz9q36ja","kind":"line","a":[0,0],"b":[60,0]},{"id":"8srsxb65","kind":"line","a":[60,0],"b":[60,10]},{"id":"76w0cgsd","kind":"line","a":[60,10],"b":[50,22]},{"id":"a9nd94i9","kind":"line","a":[50,22],"b":[14,26]},{"id":"mnmvum1t","kind":"line","a":[14,26],"b":[0,26]},{"id":"7zlft9u4","kind":"line","a":[0,26],"b":[1.592040838891559e-15,0]}],"constraints":[{"id":"p90imeqm","type":"horizontal","curves":["mz9q36ja"]},{"id":"db9h6x5d","type":"dim","curves":["mz9q36ja"],"prop":"length","value":60},{"id":"6x3oltkw","type":"coincident","pts":[{"e":"mz9q36ja","p":"b"},{"e":"8srsxb65","p":"a"}]},{"id":"cwf302a4","type":"vertical","curves":["8srsxb65"]},{"id":"qdz316yv","type":"dim","curves":["8srsxb65"],"prop":"length","value":10},{"id":"7v800ive","type":"coincident","pts":[{"e":"8srsxb65","p":"b"},{"e":"76w0cgsd","p":"a"}]},{"id":"cph5km5q","type":"dim","curves":["76w0cgsd"],"prop":"length","value":15.620499351813312},{"id":"89teiwng","type":"dim","curves":["76w0cgsd"],"prop":"angle","value":129.8055710922652},{"id":"9yywyhxz","type":"coincident","pts":[{"e":"76w0cgsd","p":"b"},{"e":"a9nd94i9","p":"a"}]},{"id":"cwhvq9au","type":"dim","curves":["a9nd94i9"],"prop":"length","value":36.22154055254967},{"id":"a0yp722m","type":"dim","curves":["a9nd94i9"],"prop":"angle","value":173.6598082540901},{"id":"t02dezc9","type":"coincident","pts":[{"e":"a9nd94i9","p":"b"},{"e":"mnmvum1t","p":"a"}]},{"id":"8l81ww5x","type":"horizontal","curves":["mnmvum1t"]},{"id":"jvgjsnnv","type":"dim","curves":["mnmvum1t"],"prop":"length","value":14},{"id":"4taj16vr","type":"coincident","pts":[{"e":"mnmvum1t","p":"b"},{"e":"7zlft9u4","p":"a"}]},{"id":"zx8doxh5","type":"coincident","pts":[{"e":"7zlft9u4","p":"b"},{"e":"mz9q36ja","p":"a"}]},{"id":"8bwi487z","type":"vertical","curves":["7zlft9u4"]}],"log":[{"op":"Line","n":6}]},{"id":"revolve-mw5m45n0-klet","name":"Revolve 01","type":"revolve","source":{"kind":"profile","sketch":"sketch-mw5m3rfp-vc5l","regions":[{"c":[27.711815561959654,11.861671469740633],"a":1388}]},"axis":{"origin":[0,0,0],"dir":[0,0,1]},"angle":360,"mode":"auto"},{"id":"fillet-mw5m4bri-t2qq","name":"Fillet 01","type":"fillet","edges":[{"body":"revolve-mw5m45n0-klet","mid":[-60,7.34788079488412e-15,10],"dir":[-1.2246467991473532e-16,-1,0],"length":376.9911184307752}],"radius":4},{"id":"chamfer-mw5m4g6n-ze8s","name":"Chamfer 01","type":"chamfer","edges":[{"body":"revolve-mw5m45n0-klet","mid":[-60,7.34788079488412e-15,0],"dir":[-1.2246467991473532e-16,-1,0],"length":376.9911184307752}],"radius":1.5},{"id":"sketch-mw5m4ubs-kfvx","name":"Sketch 02","type":"sketch","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,-1,0]},"entities":[{"id":"det6cw1h","kind":"line","a":[0,26],"b":[9.429780353434619e-15,180]},{"id":"0qut71ye","kind":"arc","a":[7.105427357601002e-15,180],"m":[39.99999999999968,220.00000000000162],"b":[79.99999999999952,180.0000000000001]},{"id":"cv6rujjq","kind":"line","a":[80,180],"b":[80,165]}],"constraints":[{"id":"jshj1i7x","type":"fix","pts":[{"e":"det6cw1h","p":"a"}],"at":[0,26]},{"id":"7818t473","type":"vertical","curves":["det6cw1h"]},{"id":"avnegul1","type":"dim","curves":["det6cw1h"],"prop":"length","value":154},{"id":"mivf8cej","type":"coincident","pts":[{"e":"0qut71ye","p":"a"},{"e":"det6cw1h","p":"b"}]},{"id":"lanj2t7f","type":"coincident","pts":[{"e":"0qut71ye","p":"b"},{"e":"cv6rujjq","p":"a"}]},{"id":"7brjapgm","type":"vertical","curves":["cv6rujjq"]},{"id":"y82v61kq","type":"dim","curves":["cv6rujjq"],"prop":"length","value":15}],"log":[{"op":"Line","n":1},{"op":"Arc","n":1},{"op":"Line","n":1}]},{"id":"sketch-mw5m5aob-oi46","name":"Sketch 03","type":"sketch","plane":{"origin":[1.7763568394002505e-15,2.215570063822206e-15,26],"normal":[0,0,1],"xDir":[1,0,0]},"attachedTo":{"body":"revolve-mw5m45n0-klet","center":[1.7763568394002505e-15,2.215570063822206e-15,26],"normal":[0,0,1],"area":615.7521601035994},"entities":[{"id":"cyj93uag","kind":"circle","center":[0,0],"radius":6}],"constraints":[{"id":"4awf37t7","type":"dim","curves":["cyj93uag"],"prop":"diameter","value":12}],"log":[{"op":"Circle","n":1}]},{"id":"sweep-mw5m5qrr-6m8c","name":"Sweep 01","type":"sweep","source":{"kind":"profile","sketch":"sketch-mw5m5aob-oi46","regions":[{"c":[-2.1480804797664323e-16,1.814080161266164e-16],"a":113.01660730968723}]},"path":{"kind":"sketch","sketch":"sketch-mw5m4ubs-kfvx","entities":["det6cw1h","0qut71ye","cv6rujjq"]},"mode":"auto","target":"revolve-mw5m45n0-klet"},{"id":"sketch-mw5m66a1-h5z8","name":"Sketch 04","type":"sketch","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,-1,0]},"entities":[{"id":"fri3u8kv","kind":"line","a":[80,165],"b":[92,165]},{"id":"w8eex1zg","kind":"line","a":[80,165],"b":[80,110]},{"id":"t9mlaysd","kind":"line","a":[80,110],"b":[125,110]},{"id":"qboiv147","kind":"line","a":[125,110],"b":[92.00000000000001,165]}],"constraints":[{"id":"bew2o7i8","type":"fix","pts":[{"e":"fri3u8kv","p":"a"}],"at":[80,165]},{"id":"gqxp4ecg","type":"horizontal","curves":["fri3u8kv"]},{"id":"yrh46iby","type":"dim","curves":["fri3u8kv"],"prop":"length","value":12},{"id":"kpxfjujm","type":"coincident","pts":[{"e":"fri3u8kv","p":"a"},{"e":"w8eex1zg","p":"a"}]},{"id":"y5jmkvvp","type":"vertical","curves":["w8eex1zg"]},{"id":"a28ruqtw","type":"dim","curves":["w8eex1zg"],"prop":"length","value":55},{"id":"fk465fst","type":"coincident","pts":[{"e":"w8eex1zg","p":"b"},{"e":"t9mlaysd","p":"a"}]},{"id":"jzykwfvv","type":"horizontal","curves":["t9mlaysd"]},{"id":"nyu7wpnt","type":"dim","curves":["t9mlaysd"],"prop":"length","value":45},{"id":"ng3sdwxk","type":"coincident","pts":[{"e":"t9mlaysd","p":"b"},{"e":"qboiv147","p":"a"}]},{"id":"26cu6oit","type":"coincident","pts":[{"e":"qboiv147","p":"b"},{"e":"fri3u8kv","p":"b"}]}],"log":[{"op":"Line","n":4}]},{"id":"revolve-mw5m6fdt-i3k2","name":"Revolve 02","type":"revolve","source":{"kind":"profile","sketch":"sketch-mw5m66a1-h5z8","regions":[{"c":[95.84210526315789,132.19298245614036],"a":1567.5}]},"axis":{"origin":[80,0,165],"dir":[0,0,-1],"ref":{"kind":"sketchLine","sketch":"sketch-mw5m66a1-h5z8","entity":"w8eex1zg"}},"angle":360,"mode":"new"},{"id":"shell-mw5m6sho-zfa7","name":"Shell 01","type":"shell","body":"revolve-mw5m6fdt-i3k2","faces":[{"body":"revolve-mw5m6fdt-i3k2","center":[80,-8.83295265919387e-15,110],"normal":[0,0,-1],"area":6361.725123519333}],"thickness":2},{"id":"sketch-mw5m72dx-pybq","name":"Sketch 05","type":"sketch","plane":{"origin":[80,-1.4866817161390728e-15,163],"normal":[0,0,-1],"xDir":[1,0,0]},"attachedTo":{"body":"revolve-mw5m6fdt-i3k2","center":[80,-1.4866817161390728e-15,163],"normal":[0,0,-1],"area":371.03826527788067},"entities":[{"id":"ez1x7xtt","kind":"circle","center":[0,0],"radius":9}],"constraints":[{"id":"io1rbyb5","type":"dim","curves":["ez1x7xtt"],"prop":"diameter","value":18}],"log":[{"op":"Circle","n":1}]},{"id":"extrude-mw5m752d-6qwb","name":"Extrude 01","type":"extrude","source":{"kind":"profile","sketch":"sketch-mw5m72dx-pybq","regions":[{"c":[4.6570850509841375e-17,-1.7464068941190516e-17],"a":254.2873664467962}]},"distance":16,"mode":"auto","target":"revolve-mw5m6fdt-i3k2"},{"id":"plane-mw5m7ga9-q3bl","name":"Plane 01","type":"plane","plane":{"origin":[0,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"offset":92},{"id":"sketch-mw5m7shm-56ut","name":"Sketch 06","type":"sketch","plane":{"origin":[92,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"entities":[{"id":"7ww68yfm","kind":"circle","center":[0,152],"radius":2.5}],"log":[{"op":"Circle","n":1},{"op":"Delete","n":1},{"op":"Circle","n":1}],"constraints":[{"id":"96ol70sv","type":"dim","curves":["7ww68yfm"],"prop":"diameter","value":5}]},{"id":"extrude-mw5m9dob-ron2","name":"Extrude 02","type":"extrude","source":{"kind":"profile","sketch":"sketch-mw5m7shm-56ut","regions":[{"c":[-9.340063494851645e-15,151.99999999999977],"a":19.62093876904294}]},"distance":30,"mode":"new"},{"id":"transform-mw5m9lmi-rr8f","name":"Pattern 01","type":"transform","bodies":["extrude-mw5m9dob-ron2"],"copy":false,"op":{"kind":"circular","axis":{"origin":[80,-2.7554552980815448e-15,110],"dir":[0,0,-1]},"count":8,"angle":360}},{"id":"boolean-mw5ma014-m1kb","name":"Subtract 01","type":"boolean","op":"subtract","target":"revolve-mw5m6fdt-i3k2","tools":["extrude-mw5m9dob-ron2","transform-mw5m9lmi-rr8f:extrude-mw5m9dob-ron2:0","transform-mw5m9lmi-rr8f:extrude-mw5m9dob-ron2:1","transform-mw5m9lmi-rr8f:extrude-mw5m9dob-ron2:2","transform-mw5m9lmi-rr8f:extrude-mw5m9dob-ron2:3","transform-mw5m9lmi-rr8f:extrude-mw5m9dob-ron2:4","transform-mw5m9lmi-rr8f:extrude-mw5m9dob-ron2:5","transform-mw5m9lmi-rr8f:extrude-mw5m9dob-ron2:6"]},{"id":"sketch-mw5magpg-ymms","name":"Sketch 07","type":"sketch","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,-1,0]},"entities":[{"id":"cfnmbs08","kind":"line","a":[80,147],"b":[80,140]},{"id":"kmewj5lz","kind":"line","a":[80,140],"b":[80,112]},{"id":"4xnqgc0n","kind":"arc","a":[80,140],"m":[94,126],"b":[80,112]}],"constraints":[{"id":"fxl8xpvr","type":"fix","pts":[{"e":"cfnmbs08","p":"a"}],"at":[80,147]},{"id":"81vyx7y6","type":"vertical","curves":["cfnmbs08"]},{"id":"9mvj204w","type":"dim","curves":["cfnmbs08"],"prop":"length","value":7},{"id":"317ytua9","type":"coincident","pts":[{"e":"cfnmbs08","p":"b"},{"e":"kmewj5lz","p":"a"}]},{"id":"4uvut9su","type":"vertical","curves":["kmewj5lz"]},{"id":"dew2hl2i","type":"dim","curves":["kmewj5lz"],"prop":"length","value":28},{"id":"l200plq7","type":"coincident","pts":[{"e":"4xnqgc0n","p":"a"},{"e":"cfnmbs08","p":"b"}]},{"id":"w4x29qse","type":"coincident","pts":[{"e":"4xnqgc0n","p":"b"},{"e":"kmewj5lz","p":"b"}]}],"log":[{"op":"Line","n":2},{"op":"Arc","n":1}]},{"id":"revolve-mw5maqal-2i3i","name":"Revolve 03","type":"revolve","source":{"kind":"profile","sketch":"sketch-mw5magpg-ymms","regions":[{"c":[85.93966333079436,125.99999999999982],"a":307.6563198985928}]},"axis":{"origin":[80,0,140],"dir":[0,0,-1],"ref":{"kind":"sketchLine","sketch":"sketch-mw5magpg-ymms","entity":"kmewj5lz"}},"angle":360,"mode":"new"}],"variables":[],"views":[],"units":"mm","hidden":["sketch-mw5m3rfp-vc5l","sketch-mw5m5aob-oi46","sketch-mw5m4ubs-kfvx","sketch-mw5m66a1-h5z8","sketch-mw5m72dx-pybq","sketch-mw5m7shm-56ut","sketch-mw5magpg-ymms","plane-mw5m7ga9-q3bl"],"pins":[],"names":{},"colors":{"revolve-mw5m45n0-klet":"#2f3a45","revolve-mw5m6fdt-i3k2":"#d9a441","revolve-mw5maqal-2i3i":"#fff4c8"}}