a5b544dd16
A mug built by code and by hand on a phone-sized screen, the two the same to the mm3 (tests/mug.test.ts, tests/fixtures/mug-hand.json): a profile revolved and shelled open at the top, the floor raised, two pads projected onto the side, a handle bridged between them along a drawn curve, and a word wrapped round the far side and raised. What it found, fixed: - Move Face next to a tapered face (the mug's foot) failed: the cone's region was left open. Cones are now worked out from the face itself. - Connect between two patches on a round face: the ends were paired from different corners (a twisted bridge) and their outlines weren't flat (an open tube was accepted). The far end's outline is now lined up with the near one as carried along the curve, flat sections are tried, and open results are refused. Own outlines are still tried first, so a square to an L joins as before. - A pad projected across the seam of the round face comes in two halves: a tap on one half now bridges from the whole pad, its outline sampled evenly so the handle doesn't bulge. - Wrap & Emboss started the word where its first letter was, not centred where the plane touches the face, and a sketch on a plane facing in came out mirrored. Both fixed. - Project as Edge and Wrap & Emboss from the menu took one shape only: they have a Shapes slot now, with All (letters with their holes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"format":"super","version":2,"name":"Mug","features":[{"id":"sketch-mwmbsb8a-sh3s","name":"Sketch 01","type":"sketch","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,-1,0]},"entities":[{"id":"w0y1r226","kind":"line","a":[0,0],"b":[38,0]},{"id":"kqojd4ae","kind":"line","a":[38,0],"b":[42,6]},{"id":"ntb6j6oj","kind":"line","a":[42,6],"b":[42,100]},{"id":"0i4qfsyw","kind":"line","a":[42,100],"b":[0,100]},{"id":"alsetnjq","kind":"line","a":[0,100],"b":[6.123233995736766e-15,0]}],"constraints":[{"id":"f5misyr9","type":"fix","pts":[{"e":"w0y1r226","p":"a"}],"at":[0,0]},{"id":"tzx78t2b","type":"horizontal","curves":["w0y1r226"]},{"id":"5h3qjyjb","type":"dim","curves":["w0y1r226"],"prop":"length","value":38},{"id":"aig103t6","type":"coincident","pts":[{"e":"w0y1r226","p":"b"},{"e":"kqojd4ae","p":"a"}]},{"id":"4eigxg62","type":"dim","curves":["kqojd4ae"],"prop":"length","value":7.211102550927979},{"id":"zk48oaul","type":"dim","curves":["kqojd4ae"],"prop":"angle","value":56.309932474020215},{"id":"iowbmtx8","type":"coincident","pts":[{"e":"kqojd4ae","p":"b"},{"e":"ntb6j6oj","p":"a"}]},{"id":"pvl3js0e","type":"vertical","curves":["ntb6j6oj"]},{"id":"hxngsf5z","type":"dim","curves":["ntb6j6oj"],"prop":"length","value":94},{"id":"h9iwt3c2","type":"coincident","pts":[{"e":"ntb6j6oj","p":"b"},{"e":"0i4qfsyw","p":"a"}]},{"id":"msasfasl","type":"horizontal","curves":["0i4qfsyw"]},{"id":"v9w2d08w","type":"dim","curves":["0i4qfsyw"],"prop":"length","value":42},{"id":"03h7dbeh","type":"coincident","pts":[{"e":"0i4qfsyw","p":"b"},{"e":"alsetnjq","p":"a"}]},{"id":"y7f04f9p","type":"coincident","pts":[{"e":"alsetnjq","p":"b"},{"e":"w0y1r226","p":"a"}]},{"id":"dlvyq8iy","type":"vertical","curves":["alsetnjq"]}],"log":[{"op":"Line","n":5}]},{"id":"revolve-mwmbsm2n-nwmj","name":"Revolve 01","type":"revolve","source":{"kind":"profile","sketch":"sketch-mwmbsb8a-sh3s","regions":[{"c":[20.943648519579753,50.137535816618914],"a":4188,"k":["0i4qfsyw","alsetnjq","kqojd4ae","ntb6j6oj","w0y1r226"],"s":[0.5,0.5,0.5,0.5,0.5]}]},"axis":{"origin":[0,0,0],"dir":[0,0,1]},"angle":360,"mode":"auto"},{"id":"shell-mwmbsvho-phhd","name":"Shell 01","type":"shell","body":"revolve-mwmbsm2n-nwmj","faces":[{"body":"revolve-mwmbsm2n-nwmj","center":[0,-4.293869366894937e-15,100],"normal":[0,0,1],"area":5541.769440932394,"step":"revolve-mwmbsm2n-nwmj","curve":"0i4qfsyw:0"}],"thickness":4},{"id":"moveFace-mwmbt2dh-n0r4","name":"Move Face 01","type":"moveFace","face":{"body":"revolve-mwmbsm2n-nwmj","center":[0,-7.927942502604445e-15,4],"normal":[0,0,1],"area":4039.7327878241695,"step":"shell-mwmbsvho-phhd"},"translate":[0,0,8]},{"id":"plane-mwmbv13t-o7o8","name":"Plane 01","type":"plane","kind":"offset","plane":{"origin":[0,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"offset":60},{"id":"sketch-mwmbvir3-3zn3","name":"Sketch 02","type":"sketch","plane":{"origin":[60,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"onPlane":"plane-mwmbv13t-o7o8","entities":[{"id":"ypfz2mnl","kind":"rect","center":[0,77],"w":18,"h":14,"rotation":0},{"id":"9iw0oiom","kind":"rect","center":[0,29],"w":18,"h":14,"rotation":0}],"constraints":[{"id":"ucel3rik","type":"dim","curves":["ypfz2mnl"],"prop":"w","value":18},{"id":"hnor7fkn","type":"dim","curves":["ypfz2mnl"],"prop":"h","value":14},{"id":"p9twg858","type":"dim","curves":["9iw0oiom"],"prop":"w","value":18},{"id":"30odaz6o","type":"dim","curves":["9iw0oiom"],"prop":"h","value":14}],"log":[{"op":"Rectangle","n":2}]},{"id":"imprint-mwmbx7hp-d6oo","name":"Project as Edge 01","type":"imprint","body":"revolve-mwmbsm2n-nwmj","source":{"kind":"profile","sketch":"sketch-mwmbvir3-3zn3","regions":[{"c":[0,77],"a":252,"k":["ypfz2mnl"],"s":[2]},{"c":[0,29],"a":252,"k":["9iw0oiom"],"s":[2]}]}},{"id":"sketch-mwmby0pt-1ofb","name":"Sketch 03","type":"sketch","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,-1,0]},"entities":[{"id":"s4ersu9q","kind":"spline","points":[[42,77],[60,78],[76,66],[80,53],[76,40],[60,28],[42,29]],"closed":false,"mode":"fit"}],"log":[{"op":"Spline","n":1}]},{"id":"connect-mwmby5wj-0nll","name":"Connect 01","type":"connect","faces":[{"body":"revolve-mwmbsm2n-nwmj","center":[41.67428791285217,-4.5175715578023645,77],"normal":[0.9941757952332989,-0.10777053480538132,0],"area":126.98477322675434,"step":"revolve-mwmbsm2n-nwmj","curve":"ntb6j6oj:0"},{"body":"revolve-mwmbsm2n-nwmj","center":[41.67428791285217,4.517571557802352,29],"normal":[0.9941757952332989,0.1077705348053806,0],"area":126.98477322675427,"step":"revolve-mwmbsm2n-nwmj","curve":"ntb6j6oj:0"}],"mode":"join","bulge":1,"size":1,"guide":{"kind":"sketch","sketch":"sketch-mwmby0pt-1ofb","entities":["s4ersu9q"]}},{"id":"plane-mwmbzjzu-n1ud","name":"Plane 02","type":"plane","kind":"offset","plane":{"origin":[0,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"offset":-42},{"id":"sketch-mwmc1jsy-z5hp","name":"Sketch 04","type":"sketch","plane":{"origin":[-42,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"onPlane":"plane-mwmbzjzu-n1ud","entities":[{"id":"7h3tj6w6","kind":"line","a":[-29.05494505494506,55.08791208791209],"b":[-26.94505494505495,55.08791208791209]},{"id":"r1i1p0l3","kind":"spline","points":[[-26.94505494505495,55.08791208791209],[-27.2445054945055,53.651098901098905],[-27.813186813186817,52.37362637362637],[-28.662087912087916,51.300824175824175],[-30.484890109890117,50.17273351648352],[-32.089285714285715,49.823832417582416],[-34.353021978021985,49.91208791208791],[-36.46661324786326,50.82451923076923],[-38.267857142857146,52.879120879120876],[-39.10130494505495,55.34283424908425],[-39.252747252747255,57.1978021978022]],"closed":false,"mode":"fit"},{"id":"6f3zvtey","kind":"line","a":[-39.252747252747255,57.1978021978022],"b":[-39.252747252747255,58.79120879120879]},{"id":"wvvyyw2k","kind":"spline","points":[[-39.252747252747255,58.79120879120879],[-39.10130494505495,60.646176739926744],[-38.26373626373626,63.11126373626374],[-36.423420329670336,65.17452686202687],[-34.23351648351649,66.08791208791209],[-30.655677655677657,65.91697191697192],[-28.644230769230774,64.72664835164835],[-27.695093101343108,63.45066391941392],[-27.174946581196583,62.12099358974359],[-26.94505494505495,60.86813186813187]],"closed":false,"mode":"fit"},{"id":"ares5mwl","kind":"line","a":[-26.94505494505495,60.86813186813187],"b":[-29.05494505494506,60.86813186813187]},{"id":"ne8x4olk","kind":"spline","points":[[-29.05494505494506,60.86813186813187],[-29.32417582417583,62.069253663003664],[-30.233211233211236,63.613743894993895],[-31.700549450549456,64.37362637362638],[-33.82554945054946,64.38186813186813],[-35.550366300366306,63.4866452991453],[-36.526098901098905,62.10164835164835],[-37.04937423687424,60.22184065934066],[-37.142857142857146,58.81318681318682]],"closed":false,"mode":"fit"},{"id":"6lokxbwz","kind":"line","a":[-37.142857142857146,58.81318681318682],"b":[-37.142857142857146,57.1978021978022]},{"id":"jzbpspf7","kind":"spline","points":[[-37.142857142857146,57.1978021978022],[-37.05872252747253,55.874618437118436],[-36.58379120879121,54.01923076923077],[-35.67391636141637,52.58382936507937],[-34.00549450549451,51.61675824175824],[-31.62103174603175,51.65132783882784],[-30.256372100122103,52.35607448107448],[-29.394383394383397,53.73504273504273],[-29.05494505494506,55.08791208791209]],"closed":false,"mode":"fit"},{"id":"w641ha3i","kind":"line","a":[-11.747252747252752,58.505494505494504],"b":[-11.747252747252752,57.494505494505496]},{"id":"n4zzw0p1","kind":"spline","points":[[-11.747252747252752,57.494505494505496],[-11.900564713064716,55.519078144078144],[-12.974358974358976,52.54945054945055],[-14.952266483516485,50.60096153846154],[-18.164835164835168,49.78021978021978],[-20.763736263736266,50.30769230769231],[-23.214629120879124,52.36195054945055],[-24.405372405372407,55.25763125763126],[-24.61538461538462,57.494505494505496]],"closed":false,"mode":"fit"},{"id":"1do7bptc","kind":"line","a":[-24.61538461538462,57.494505494505496],"b":[-24.61538461538462,58.505494505494504]},{"id":"26qm267i","kind":"spline","points":[[-24.61538461538462,58.505494505494504],[-24.407814407814413,60.739926739926744],[-23.22836538461539,63.63049450549451],[-20.78571428571429,65.6923076923077],[-18.18681318681319,66.21978021978022],[-14.973901098901102,65.39869505494505],[-12.987179487179493,63.44261294261294],[-11.902434371184375,60.4790521978022],[-11.747252747252752,58.505494505494504]],"closed":false,"mode":"fit"},{"id":"k2wdg3z1","kind":"line","a":[-13.846153846153847,57.494505494505496],"b":[-13.846153846153847,58.527472527472526]},{"id":"sy843vrm","kind":"spline","points":[[-13.846153846153847,58.527472527472526],[-13.975579975579977,60.285714285714285],[-14.725618131868135,62.50549450549451],[-16.094780219780226,63.89468864468864],[-18.18681318681319,64.41758241758242],[-20.231684981684985,63.89468864468864],[-21.601991758241763,62.50549450549451],[-22.379731379731382,60.285714285714285],[-22.516483516483518,58.527472527472526]],"closed":false,"mode":"fit"},{"id":"x3zt3ava","kind":"line","a":[-22.516483516483518,58.527472527472526],"b":[-22.516483516483518,57.494505494505496]},{"id":"0zpmqgna","kind":"spline","points":[[-22.516483516483518,57.494505494505496],[-22.411782661782663,55.92906746031746],[-21.595810439560445,53.49175824175824],[-19.950549450549453,51.956043956043956],[-18.164835164835168,51.57142857142857],[-16.069139194139197,52.09447496947497],[-14.71188186813187,53.49175824175824],[-13.973137973137975,55.724053724053725],[-13.846153846153847,57.494505494505496]],"closed":false,"mode":"fit"},{"id":"kymw3r89","kind":"polyline","closed":true,"points":[[-6.46153846153846,58.8021978021978],[0.2417582417582409,58.8021978021978],[0.2417582417582409,57.065934065934066],[-6.46153846153846,57.065934065934066],[-6.46153846153846,50],[-8.582417582417584,50],[-8.582417582417584,66],[1.3296703296703285,66],[1.3296703296703285,64.26373626373626],[-6.46153846153846,64.26373626373626]]},{"id":"z9rl8mon","kind":"polyline","closed":true,"points":[[5.978021978021978,58.8021978021978],[12.681318681318679,58.8021978021978],[12.681318681318679,57.065934065934066],[5.978021978021978,57.065934065934066],[5.978021978021978,50],[3.857142857142854,50],[3.857142857142854,66],[13.769230769230766,66],[13.769230769230766,64.26373626373626],[5.978021978021978,64.26373626373626]]},{"id":"j5tbw8t4","kind":"polyline","closed":true,"points":[[18.417582417582416,51.72527472527472],[26.46153846153846,51.72527472527472],[26.46153846153846,50],[16.296703296703292,50],[16.296703296703292,66],[26.351648351648358,66],[26.351648351648358,64.26373626373626],[18.417582417582416,64.26373626373626],[18.417582417582416,59.120879120879124],[25.340659340659336,59.120879120879124],[25.340659340659336,57.395604395604394],[18.417582417582416,57.395604395604394]]},{"id":"mghld40l","kind":"polyline","closed":true,"points":[[31.20879120879122,51.72527472527472],[39.25274725274726,51.72527472527472],[39.25274725274726,50],[29.087912087912095,50],[29.087912087912095,66],[39.142857142857146,66],[39.142857142857146,64.26373626373626],[31.20879120879122,64.26373626373626],[31.20879120879122,59.120879120879124],[38.13186813186814,59.120879120879124],[38.13186813186814,57.395604395604394],[31.20879120879122,57.395604395604394]]}],"log":[{"op":"Text","n":1}]},{"id":"wrap-mwmc3dew-tlns","name":"Wrap & Emboss 01","type":"wrap","source":{"kind":"profile","sketch":"sketch-mwmc1jsy-z5hp","regions":[{"c":[-33.83676043359088,58.01611361923215],"a":68.15817246192663,"k":["6f3zvtey","6lokxbwz","7h3tj6w6","ares5mwl","jzbpspf7","ne8x4olk","r1i1p0l3","wvvyyw2k"],"s":[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]},{"c":[-18.172275456756594,58.00314632585063],"a":80.67873269657505,"k":["0zpmqgna","1do7bptc","26qm267i","k2wdg3z1","n4zzw0p1","sy843vrm","w641ha3i","x3zt3ava"],"s":[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]},{"c":[-5.518702672044458,59.61944260761618],"a":59.10035019925135,"k":["kymw3r89"],"s":[5]},{"c":[6.920857767515983,59.619442607616136],"a":59.100350199251345,"k":["z9rl8mon"],"s":[5]},{"c":[19.992759738955442,58.03097858427969],"a":73.5319405868857,"k":["j5tbw8t4"],"s":[6]},{"c":[32.78396853016424,58.03097858427969],"a":73.53194058688564,"k":["mghld40l"],"s":[6]}]},"face":{"body":"revolve-mwmbsm2n-nwmj","center":[-0.8191622094593356,-0.00003229137915528035,53.01921912403636],"normal":[-1,1.2246467991473532e-16,0],"area":24334.09751484113,"step":"revolve-mwmbsm2n-nwmj","curve":"ntb6j6oj:0"},"height":1.2}]} |