Files
superGeometry bb97faba29 Stress test: a mouse of Fill surfaces (fill, fill to plane, freeform face)
A computer mouse built by code and by hand on a phone-sized screen, the
two the same to the mm3 (tests/fillmouse.test.ts,
tests/fixtures/fillmouse-hand.json), with the two tools no build had used:
its top a surface stretched over the outline and two arches (Fill), filled
down to the desk (Fill to Plane), a thumb rest pressed into the side
(Freeform Face, points moved by typed values), a slot cut for the wheel,
the wheel in it, the slot's curved rim rounded.

What it found, fixed:
- A plane of the project's own couldn't be tapped to sketch on: the
  origin planes, drawn over everything, always won (a plane 18 up, tapped
  from the top, gave the floor). Now it wins where it's tapped; a sketch's
  shape on it still comes first, to carry on with it. The toast names it.
- A line typed 80 long at 90 degrees ended at x -29.999999999999996, and
  the arc drawn from its end was off as much: square angles are exact now.
- A tool's own preview could be tapped: Fill's last boundary curve, once
  the loop closed, took the new surface's edge instead.
- Waiting for an edge (Fillet, Chamfer), a corner within a finger's reach
  won over the edge under the finger.

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

1 line
5.4 KiB
JSON

{"format":"super","version":2,"name":"Mouse","features":[{"id":"plane-mwmcyxrp-8mvz","name":"Plane 01","type":"plane","kind":"offset","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,0,1]},"offset":18},{"id":"sketch-mwmd7b2l-wma5","name":"Sketch 02","type":"sketch","plane":{"origin":[0,0,18],"xDir":[1,0,0],"normal":[0,0,1]},"onPlane":"plane-mwmcyxrp-8mvz","entities":[{"id":"u04ky1tr","kind":"arc","a":[-30,40],"m":[0,70],"b":[30,40]},{"id":"4vklfhtb","kind":"line","a":[-30,-40],"b":[-30,40]},{"id":"lzzoujvi","kind":"line","a":[30,40],"b":[30,-40]},{"id":"z7xjc7f1","kind":"arc","a":[30,-40],"m":[0,-58],"b":[-30,-40]}],"constraints":[{"id":"9tnmtm1f","type":"dim","curves":["u04ky1tr"],"prop":"radius","value":30},{"id":"k4mipowg","type":"coincident","pts":[{"e":"4vklfhtb","p":"b"},{"e":"u04ky1tr","p":"a"}]},{"id":"lk81w90d","type":"vertical","curves":["4vklfhtb"]},{"id":"jqh8qcrs","type":"dim","curves":["4vklfhtb"],"prop":"length","value":80},{"id":"z9r0jw4d","type":"coincident","pts":[{"e":"u04ky1tr","p":"b"},{"e":"lzzoujvi","p":"a"}]},{"id":"hf4rx4th","type":"vertical","curves":["lzzoujvi"]},{"id":"w4udocqk","type":"dim","curves":["lzzoujvi"],"prop":"length","value":80},{"id":"kl4nw949","type":"dim","curves":["z7xjc7f1"],"prop":"radius","value":34},{"id":"k0qmvkjl","type":"coincident","pts":[{"e":"z7xjc7f1","p":"a"},{"e":"lzzoujvi","p":"b"}]},{"id":"187tjjeo","type":"coincident","pts":[{"e":"z7xjc7f1","p":"b"},{"e":"4vklfhtb","p":"a"}]}],"log":[{"op":"Arc","n":1},{"op":"Line","n":2},{"op":"Arc","n":1}]},{"id":"sketch-mwmd9wds-0pjn","name":"Sketch 03","type":"sketch","plane":{"origin":[0,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"entities":[{"id":"6jzx8gjk","kind":"spline","points":[[-58,18],[-40,34],[0,40],[40,33],[70,18]],"closed":false,"mode":"fit"}],"log":[{"op":"Spline","n":1}]},{"id":"sketch-mwmdhehl-ixvq","name":"Sketch 04","type":"sketch","plane":{"origin":[0,0,0],"normal":[0,-1,0],"xDir":[1,0,0]},"entities":[{"id":"ohtpxt1s","kind":"spline","points":[[-30,18],[-18,33],[0,40],[18,33],[30,18]],"closed":false,"mode":"fit"}],"log":[{"op":"Spline","n":1}]},{"id":"fill-mwmdhxxq-8126","name":"Fill 01","type":"fill","boundary":[{"kind":"sketch","sketch":"sketch-mwmd7b2l-wma5","entities":["4vklfhtb","u04ky1tr","lzzoujvi","z7xjc7f1"]}],"guides":[{"kind":"sketch","sketch":"sketch-mwmd9wds-0pjn","entities":["6jzx8gjk"]},{"kind":"sketch","sketch":"sketch-mwmdhehl-ixvq","entities":["ohtpxt1s"]}]},{"id":"fillToPlane-mwmdicjw-24ce","name":"Fill to Plane 01","type":"fillToPlane","body":"fill-mwmdhxxq-8126","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,0,1]}},{"id":"faceFreeform-mwmdjb0w-8sil","name":"Freeform Face 01","type":"faceFreeform","face":{"body":"fill-mwmdhxxq-8126","center":[-30,2.775557561562931e-17,9],"normal":[-1,0,0],"area":1439.9999999999998,"step":"fillToPlane-mwmdicjw-24ce"},"cage":{"faces":[[0,1,4,3],[1,2,5,4],[3,4,7,6],[4,5,8,7],[6,7,10,9],[7,8,11,10],[9,10,13,12],[10,11,14,13],[12,13,16,15],[13,14,17,16]],"verts":[[0,-40,-9],[0,-40,0],[0,-40,9],[0,-24,-9],[2,-24,0],[0,-24,9],[0,-8,-9],[4,-8,0],[0,-8,9],[0,8,-9],[4,8,0],[0,8,9],[0,24,-9],[2,24,0],[0,24,9],[0,40,-9],[0,40,0],[0,40,9]]},"grid":5},{"id":"plane-mwmdk25b-udni","name":"Plane 02","type":"plane","kind":"offset","plane":{"origin":[0,0,0],"xDir":[1,0,0],"normal":[0,0,1]},"offset":46},{"id":"sketch-mwmdl8n3-ujpx","name":"Sketch 05","type":"sketch","plane":{"origin":[0,0,46],"xDir":[1,0,0],"normal":[0,0,1]},"onPlane":"plane-mwmdk25b-udni","entities":[{"id":"30rory8c","kind":"rect","center":[0,33],"w":10,"h":22,"rotation":0}],"constraints":[{"id":"6brixljz","type":"dim","curves":["30rory8c"],"prop":"w","value":10},{"id":"0ai12y6j","type":"dim","curves":["30rory8c"],"prop":"h","value":22}],"log":[{"op":"Rectangle","n":1}]},{"id":"extrude-mwmdldf7-6x05","name":"Extrude 01","type":"extrude","source":{"kind":"profile","sketch":"sketch-mwmdl8n3-ujpx","regions":[{"c":[0,33],"a":220,"k":["30rory8c"],"s":[2]}]},"distance":-18,"mode":"auto"},{"id":"sketch-mwmdlxga-z6ge","name":"Sketch 06","type":"sketch","plane":{"origin":[0,0,0],"xDir":[0,1,0],"normal":[1,0,0]},"entities":[{"id":"hrcnt9ln","kind":"circle","center":[33,36],"radius":7}],"constraints":[{"id":"85vpiap8","type":"dim","curves":["hrcnt9ln"],"prop":"diameter","value":14}],"log":[{"op":"Circle","n":1}]},{"id":"extrude-mwmdmas1-81pw","name":"Extrude 02","type":"extrude","source":{"kind":"profile","sketch":"sketch-mwmdlxga-z6ge","regions":[{"c":[33.000000000000036,36.00000000000004],"a":153.82815994929652,"k":["hrcnt9ln"],"s":[0.5]}]},"distance":3.5,"mode":"new","symmetric":true},{"id":"fillet-mwmdmm1o-moke","name":"Fillet 01","type":"fillet","edges":[{"body":"fill-mwmdhxxq-8126","mid":[-0.0008832201452869184,44,31.5281801844917],"dir":[0.9999999375977978,0,-0.0003532766627353117],"length":10.134731852352296,"steps":["extrude-mwmdldf7-6x05"]},{"body":"fill-mwmdhxxq-8126","mid":[-0.0006919044526747494,22,37.65050315265695],"dir":[0.9999999389747382,0,-0.00034935729501551344],"length":10.089761509797658,"steps":["extrude-mwmdldf7-6x05","fillet-mwmdmm1o-moke"]},{"body":"fill-mwmdhxxq-8126","mid":[-5,33.06780755667455,34.46766549090142],"dir":[0,-0.963188318222605,0.2688275723200834],"length":22.907304105908604,"steps":["extrude-mwmdldf7-6x05","fillet-mwmdmm1o-moke"]},{"body":"fill-mwmdhxxq-8126","mid":[5,33.06674386769952,34.46183955144672],"dir":[0,-0.9631782599060001,0.26886360788408964],"length":22.906788572552866,"steps":["extrude-mwmdldf7-6x05","fillet-mwmdmm1o-moke"]}],"radius":1.5}]}