dev
127 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
8911bf2b4a |
Five bugs reported after the app was posted: a rounding lost when an extrude is turned the other way, a thickened freeform's rim refused a rounding, STL files greyed out on an iPad, the page pushed down under the finger on an iPhone, guide text that could not be put away (the reports read together, then "Yes, bugs first").
- A rounding of five edges left on four after the extrude was edited (reported: "I make filet on 5 sides ... edit extrude to 20mm ... now I see filet only on 4 sides"). It happens when the edit turns the extrude to go the other way (10 up made 20 down): its far end was named for the side of the sketch it is on ("cap:1" above, "cap:2" below), so an edge or a face of the far end was no longer found by name, was looked for by place, and landed on an edge already taken. The far end is now found under either name when only one of them exists (to both sides at once, each end keeps its own). tests/flipend.test.ts, 15 checks; a fuzz of boxes (any plane, either way, rect or polyline, edges or whole faces picked) had 12 of 150 differ before, and none of 300 after.
- A freeform sheet given a thickness refused every rounding of its rim with "That edit would turn the body inside out" (GitHub issue 1). The thickened solid came out of the kernel inside out and was only marked as reversed: it measured right, but its faces still looked inwards, and a rounding took every edge for a hollow one. A solid is now made anew from its skin, faces outwards. And an edge with no corner along it (the lines between a freeform's patches) is said to be smooth already, not "the radius is too big". tests/thickfillet.test.ts, 24 checks.
- iPad: STL and STEP files and the app's own projects were grey in the Files window (reported from an iPad Pro, files in iCloud Drive). A file picker told a list of endings greys out every kind iPadOS has no name for; on an iPad or iPhone it is now told nothing, and a file of a kind the app does not read is said so once picked. The same for File > Open and a text's font file.
- iPhone, the app installed on the home screen: with the numpad up, everything was drawn a row lower than where touches landed ("0 is 2"). Not seen here (no iPhone to try it on): the cause is taken to be the page pushed along when a number box takes the focus, as a phone does for a keyboard - ours brings up none. The page is now put back whenever it is found scrolled (ui/steady.ts), the numpad's own focus calls ask for no scrolling, and installed, the page is pinned to the screen. To be confirmed on an iPhone.
- Guide text: a small x on it puts it away for good, with a line saying More > Guide text brings it back (reported: "there is no way to remove them" - the switch in More was not found). Only the x takes a tap; the words still let taps through to the model. Tried at 375 x 812 with a press, a frame, a release: hidden, the switch in More off, nothing drawn in the open sketch; switched on again from More.
- README: a thread's own faces can be tapped for a joint.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
||
|
|
3e3cece7fe |
A pattern of a hole repeats the hole; threads with several starts (asked for, of the gaps a user finds in week two: "fix them all").
- A pattern started from a hole's round wall repeats the hole in its body: a plug the size of the wall - a hair longer at an end that is open, exactly as deep at a bottom - cut again at each place of the pattern, in a row or round an axis. (It copied the whole body: there was no way to repeat a hole.) New holes that fall off the body are counted in a note; all of them off it, a spacing of 0, or a face that is no hole's wall is refused in plain words. A body with linked copies: they get the holes too. Its first spacing is three radii. tests/holepattern.test.ts, 13 checks. - Thread has Starts (1 to 8): that many grooves side by side, the crests still a pitch apart, one turn taking a lid that many pitches along - a jar's neck and lid. A threaded body subtracted with a clearance keeps its starts. tests/threadstarts.test.ts, 11 checks: 1, 2, 4 and 6 starts on a 40 mm neck, each sound and taking what one start takes; four starts turned a quarter is the very same neck, one or two are not; left-hand; a lid cut from a four-start neck with 0.3 clearance stands 0.2988 off it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
a2cfe76a3f |
Linked copies and patterns; Fill Pattern in sketches; freeform solids get every body tool; the right column's buttons lit and its windows clear of everything; More reordered with switches; the grid's size live; Draw turns Line on; the line as wide as its buttons (asked for, nine points: "make sure even the buttons on the middle right (fit, shaders, settings) show when something is opened. like the ones on the middle left ... when a window opens from those, to not override anything else (should be dynamic) ... In More, move Help above Feedback, move Update under Install App, and make the two buttons (guide text and offline mode) have a toggle icon ... Rename About supergeometry.app to only About ... the lock grid size should change on the fly when i zoom ... when i click draw, line should be automatically selected (but the window with different line types should open normally) ... if i copy a body, i have the option to link it, but that doesnt do anything ... whatever change i do to any copy of that body or the original, it should also change the other ones exactly the same. we should also have this in patterns ... a new tool in sketch mode named fill pattern ... when i double click a freeform body, i want the edit freeform button there ... a freeform body that is finished should be treated like a regular body ... on desktop, in sketch mode ... the bar should be wider to fit all the buttons without having to scroll on it").
- Linked bodies. A copy (Move/Rotate, Mirror, Scale with Copy on) or a pattern made with Link on, and what it was made from, are a group: a step that changes one of them - an edge rounded, a hole cut, something joined on - changes every other the same way, each where it stands (turned, mirrored). Moving or turning one only moves that one, and it still follows; one deleted leaves the others; a linked copy of a linked copy is of the same group. Both patterns have a Link switch now. (Link only did anything for freeform copies before.) tests/linked.test.ts, 17 checks. - Fill Pattern, a sketch tool under Draw: tap inside a closed shape and it is filled with Lines, Crossed lines, Zigzag or Waves from edge to edge (ending exactly on the shape's edge, stopping at holes), or with Dots, a Honeycomb, Squares or Diamonds kept wholly inside it; Spacing (or the Gap between shapes), Size and Angle set, shown as they change. The strips and cells are shapes of the sketch: extruded or cut, a texture. A filled shape tapped again: its pattern changed or removed. The pattern is kept with the sketch and made again when the sketch's curves change (a rectangle made taller: 9 cells became 43). Too fine a spacing (thousands of curves) is refused in plain words. tests/fillpattern.test.ts, 28 checks. - A freeform solid that is finished is a body like any other: its faces, edges and corners have every tool a body's have (they were held to Move, Mirror, Pattern and Delete Body), its edges their dot, its corners their gimbal and Move Vertex. Only a freeform left as an open surface keeps its own few. Edit Freeform is beside a freeform body double tapped - also after other steps were done on it - and in History. - The right column: Shaded and Settings are lit while their window is open, as the three at the left are while they are on. Their windows (Units & grid and the others too) are placed in the room there is - under the top bar, the view cube, Items and History, over the line, undo / redo and the guide text - on every screen, and scroll inside when longer; on a phone on its side, beside the view cube. (They came down over the line on a phone.) - More: Update under Install app; Guide text and Offline mode each with a switch (they said On / Off in words); Help above Feedback; About. - Units & grid open, not locked: the size said on Lock grid size, in the box and in the note follows the zoom as it changes. - A sketch's Draw opened with no tool on: Line is on and the list stays open - a tap on the grid draws, a tap in the list takes another tool. - The line at the bottom is as wide as what is on it, up to all the room between undo and the right edge (it stopped at 980): a sketch's picked line or shape has all its sizes and buttons in view on a wide screen. In the app: the nine tried - the windows at 390 x 800, 844 x 390, 768 x 1024 and a desk screen (nothing over anything); a rectangle filled with lines, then a honeycomb, then made taller; a circle filled with waves; a freeform box double tapped, a corner, a face and an edge of it picked; a pattern's Link switch; a sketch's line and rectangle picked on a 1577 wide screen (the line 1050 and 1115 wide, nothing to slide). Tests: all 178 test files pass (mouse.test.ts's 30 s limit on a shell was missed once with five running at a time: 39 of 39 run alone). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
e4c5095be3 |
Faster building: joins, cuts, threads and every step on a body with curved faces (asked for: "can you look at speed at performance? i feel like it takes very long to generate certain shapes and changes on said shapes").
Timed every sample project step by step and profiled the slow steps. Most of the time was not the shape being made but the checks round it, each asking the kernel for something exact where about-right was enough: - A body's exact box took 0.4 to 1 s on a body with curved faces (a mug with its handle, a freeform), and was worked out again every time: after each step (a guard against a size typed with too many noughts), for how fine to draw the body, for how big to make a helper, to tell whether two bodies can touch. The kernel's quick box (never smaller than the body, a few percent bigger on curves, under a millisecond) is used for all of those; the exact one is kept per shape where it is still asked for. - A volume to a millionth took 1.7 s on the mug and 10.6 s on a jet engine's cowl; to a thousandth, 0.2 s and 0.06 s. The checks that only tell inside out from right way out, dust from a body, or whether a join or a cut came to about what it should (its limits are 60 % of the smaller body) measure to a thousandth; the exact measure only for a result near a limit. A thread's stages measure each body once. - Each face's exact area was measured again for the whole body after every step: faces a step left as they were keep what was measured. Whole projects, first build (the engine alone, on this computer): mug 10.0 to 3.4 s, shoe 16.7 to 5.7 s, watering can 7.8 to 3.5 s, jet 64.8 to 30.8 s, fan 39.3 to 21.9 s, guitar 46.7 to 33.5 s, valve 20.5 to 17.6 s, arc reactor 3.5 to 2.3 s. A late edit: shoe 4.8 to 1.7 s, fan 10.0 to 4.5 s, jet 2.1 to 0.9 s, arc reactor 1.7 to 0.6 s. Not faster: a thread (about 2 s on a bottle's neck) and a shell of a lofted body (about 2 s) - what is left there is the kernel's own cut and offset. Tests: all 176 test files pass. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
2433833eef |
A thread's clearance on a bolt with a head; a lifted spline split keeps its heights; printing a drawing from a phone; STEP files of several solids, tested (asked for: "ok do all you can" - of the list of what to test next: undo inside each tool, 3D splines beyond Sweep, picking with every tool, thread clearance on awkward bolts, STEP files of several bodies, Print / PDF of drawings).
- Thread clearance. A bolt with a head, cut from a block with a clearance: the hole's thread ran into the bolt's (0.027 off it, not the 0.2 asked). The thread put back on the grown body was measured from that body's own round face, whose centre and direction are the kernel's choice and differ from the bolt's: the turns started somewhere else. It is measured from the first thread's own point and axis now, over its own stretch. The grooves are filled back in by taking the threaded stretch out and putting a clean ring in (filling them one by one left edges the kernel could not grow). tests/threadclearance.test.ts, 13 checks: the plain bolt at 0.1, 0.2, 0.4; a headed bolt; its head chamfered after the thread; a rod cut by a threaded nut; clearance taken from the bolt, and from both - each the gap asked (0.1998 to 0.2000). - A spline with points off the plane, split or trimmed: its pieces keep their heights (they fell flat on the plane). A loft along a lifted spline as its guide: tested. tests/spline3d.test.ts, 22 checks. - Print / PDF of a drawing, of all drawings, and of the Technical Sheet: the page was put back the moment print() returned. On a phone it returns at once, before the preview has drawn anything - a blank page, or the app. It is put back when printing is over. - tests/stepimport.test.ts, 12 checks: a STEP of four solids (two touching, one sunk in another) comes in as four bodies, each its size, sound; the same file in metres and in inches; Windows line ends; one then moved, one cut by another, one deleted; two files in one project; forty solids; a file cut short, not STEP, empty - said in plain words. Nothing to fix. In the app: undo and redo inside Offset Face, Extrude, Fillet, Chamfer, Shell, Move/Rotate Face, Edge and Body, Scale, both patterns, Thread, Subtract, Revolve - each step back in turn, nothing to fix; every tool started from every kind of pick (216 starts): none failed to open, no errors; Print / PDF pressed with the print window held: the sheet (420 x 297) in the page until printing is over, then gone, twice in a row the same. Tests: threadclearance 13, thread, clearance 32, spline3d 22, sketchtools, exports 25, projectlean 29, stepimport 12, drawing. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
4f93cfbf83 |
Undo inside a tool; a thread cut with clearance; the phone's sketch line in two rows; undo / redo the bar's height; a sketch's steps in History pick what they made (asked for, six points: "when I want to subtract a thread and I put clearance, it always fails ... on mobile, when I hit sketch ... I have to scroll right in a box that is only a button wide. Maybe you can make that option window 2 buttons tall? ... in sketch, if I close a shape, it should automatically exit the line type ... the undo and redo buttons should be the same as the ones on the bottom bar. Same bar height ... in history, if I make changes in a sketch, I want those changes to be selectable from that history action so I can edit them ... when I ... select a vertex and I move it around, and I hit undo, that undo should change the last modification, not go back to the extruding action ... I want full history control").
- Undo. With a tool open (Move Vertex, Move Edge or Face, Extrude, Fillet, Move/Rotate, any of them), Undo closed the tool - all of what was done in it gone - and then took back the step before it as well. Each change made in an open tool is a step of its own now (a drag of its handle, a value typed, an option, something more picked): Undo takes the last one back, Redo puts it back, and the handles go with them. With nothing left to take back in the tool, Undo closes it; the next is the project's. - Thread and clearance. The kernel cannot grow a thread's helical faces, so Subtract with a clearance round a threaded body failed every time. Such a body is grown another way: its grooves filled back in (what it was before its thread), that grown, and the same thread cut on it again - over the same stretch, from the same start, its V that much less deep so its sides stand the clearance off the first thread's sides (out by the clearance alone they stood half of it). tests/threadclearance.test.ts, 9 checks: an M10 bolt through a block, clearances 0.1, 0.2 and 0.4 - cut, sound, the bolt untouched, and the hole exactly that far from the bolt at its nearest (0.0999, 0.1998, 0.3996). - A phone held upright, in a sketch with a tool's own parts on the line (Line on, a point placed): two rows of buttons, a picture over its name each, all in view. It was one row to slide, a button and a half wide. - Undo and redo are the bar's height on every screen (49 to 61; they were 52, 48 on a phone), and sit on its line. - History: each step listed under a sketch remembers the curves it made or changed. Tapped, the sketch opens with them picked, their sizes on the line to change. - Closing a shape: looked at, and already so - the drawing tool is put down and the sketch stays open (line, rectangle, circle, polygon, ellipse, by touch). In the app: a corner dragged three times with its gimbal, then Undo, Undo, Redo, Undo, Undo (each step back in turn, the gimbal with it), Undo again (the tool closes), Done after another drag and Undo (that step only); a rectangle and two circles drawn, their steps tapped in History (two circles picked; the rectangle picked and its width typed); the sketch line at 390 wide in two rows; undo against the line at four sizes. Tests: threadclearance 9, clearance 32, thread 15, sketchtools, constraints, projectlean, exports as before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
29836a709f |
Every export made and read back; the working mark can't stay up over nothing; the handle is on the element picked last (asked for: "verify that each export works as intended", "sometimes the working icon still is showing even if there's nothing to work on ... if I hit undo", "if I select multiple elements, I want the arrow / fillet or chamfer circle ... to appear on the last element I selected").
Exports. tests/exports.test.ts makes each file from one project (the flange built by hand, a block beside it) and reads it back, 25 checks: - STL: a binary file of the right length, both bodies, closed all over (every side of every triangle met by its neighbour's), the model's volume (within the 0.01 mm the facets keep to), in millimetres where the model is; one chosen body alone. - STEP: a STEP file in millimetres with both bodies named; read back in, the same solids exactly. One chosen body alone. - 3MF: a ZIP with its parts; millimetres; each object closed, its volume the body's; the colour; the exact model attached, which is what opens when the file is put back in. - GLB: glTF 2, as long as it says; two meshes under a root that makes Z up into Y up and millimetres into metres; each closed, its box as the file says; a normal at every corner; the see-through body marked so. - The project file: saved, opened, built again - the same. (A sketch as DXF and SVG, and a drawing's sheet as SVG and DXF: dxf, svgexport, drawing tests - 118 checks, passing.) Found: a STEP of several bodies came back in as ONE body of several pieces - the two bodies of a project saved as STEP and opened again were one that nothing could take apart. A STEP put in from now on brings each solid in as a body of its own (the file's name, and which). Files already in a project stay one body, as what was built on them expects. The working mark. I could not make it stay up (edits and undos in quick runs: gone each time). Two ways it could, closed: the engine dying without an answer (out of memory) left what waited on it waiting for ever - it is noticed now, what waits ends, a fresh engine starts and the project is built again, with a line saying so; and the mark is looked at again every 0.4 s against what the engine really has to do, so it cannot stay up over nothing. The "Saving…" ring by the project's name: a save that fails is tried again (it was left, and the ring stayed). The handle. With several shapes or edges picked, the arrow or the dot is on the one picked last, and Extrude, Fillet and Chamfer started from them work from there (it was on the first). Tried: three edges picked one after another - the dot on the third each time; Fillet from the button: its dot at the third, the three rounded, the body sound. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
aece06984b |
A sweep along a spline through space, looked at in a project built by hand: what was wrong with it, mended (asked for: "check ... and see how the sweep tool built the shape that was based on the new spline system").
The project: a spline of five points on an upright plane, each 22 to 31 mm up or down off it; a plane put on the curve at its end; a circle of radius 10 on that plane; the circle swept along the spline. The tube followed the curve through space and was sound, but lumpy, and 1.4 % short of its section times the curve's length. Two things:
- Plane on Curve went by the spline's shadow on its sketch's plane: it stood 25 mm off the curve and 22 degrees askew to it (the circle had been moved 25 across by hand to meet the curve). It goes by the curve where it is in space now: on it, square to it there. So does what is fitted to the view or isolated with a sketch in it.
- The curve bends tighter than the tube is thick: a radius of about 3 mm at its second point and 8 at its third, against a tube 10 from its middle. A body swept round such a bend folds over itself on the inside of it. That is the shape, not a fault of the build - and it is said now: a note on the sweep with both sizes ("The path bends tighter (a radius of about 3 mm) than the profile reaches from its middle (10 mm) ..."), for any path, flat or not.
Also: a point dragged a round number with the gimbal lands on it (163, not 162.99999957): the pull that keeps a drag near where it began is next to nothing now.
tests/spline3d.test.ts, 16 checks now: that path as drawn says its bend; with gentler rises and a rod of radius 3 on a plane square to the curve's end, the rod is as thick all the way (4,823 against 4,825, its section times its length) with nothing said. In the app: On Curve at Point on a lifted spline's end is at that end in space, its normal along the curve there. Sweep tests as before: doorhandle 13, drill 208 steps, bodyparity.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
||
|
|
d666e27dc8 |
A spline's points can leave the sketch's plane (asked for: "if I select a point of a spline line, and the move gimbal appears, I want to be able to move that point in 3 dimensions, not just 2").
- Each point of a spline has a height off the plane (z, one for each point; none: flat as before). The curve runs through those heights by the same rule as through their places, so it is as smooth up and down as it is across. - Tap a spline, then one of its points: the pick is that point (it was the curve with the point), and the gimbal has its third arrow, off the plane. Dragged, the point goes up or down with it, in grid steps (Shift: free); the label says how far off the plane. Several points of a spline picked go together. The two in-plane arrows slide it as before, the gimbal staying up where the point is. Its card has Height, typed; several points: Flat on the plane. Seen straight on the arrow points at the eye, so the guide says to turn the view. - Drawn, picked and its points tapped where it is in space, in the sketch and out of it. - A sweep's path, a loft's guide or rail made of it follows it through space. - In the plane it is its shadow: the shapes it closes, constraints, snapping, DXF and SVG. Moved, turned or mirrored in the sketch it keeps its heights; scaled, they scale; run the other way, they turn with it. A curve that follows a body's edge has no third arrow. - Not done: a spline split or trimmed comes out flat. - While at it: a point dragged a round number by the gimbal ended a hundred-thousandth short (39.99999 for 40): the pull that keeps a drag near where it began is a tenth of what it was. tests/spline3d.test.ts, 13 checks: heights in step with the drawn curve and through its points; kept when moved, scaled by a scale, left by the solver; a round rod swept along a flat spline is a straight rod, along one lifted 30 it rises 30, is sound, and is as long as the curve through space. In the app: the third arrow dragged up 20 and down 15, undone and redone; Height typed; the lifted point tapped where it is drawn; the in-plane arrow with the gimbal staying up; two points together; no third arrow for a line's end or a mixed pick. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
4cbd0d044e |
Freeform: what was missing.
- Sharp edges. Edges picked are made sharp (Sharp edge; one edge: Sharp loop, the whole loop it is part of): the surface keeps a crease along them instead of rounding over - followed as an open border is, a corner where three or more meet, fading out where one ends in the middle. Smooth edge takes it off. Shown orange on the cage. Kept in the cage (cage.creases), so in the step, its edits, copies and moves; the editor's quick weights and the solid are made by the same rules (a box with every edge sharp is that box: 24,000 for 40 x 30 x 20). Tools that change the cage carry them: a loop cut across one leaves its two halves sharp, taken out again it is one; Add detail halves each; faces deleted keep what is still an edge. - Remove edge loop: the loop an edge is part of taken out, the faces either side of it made one (it could only ever be added). - A picked face is pushed or pulled by dragging the face itself, along its normal (several: their average) - as everything else on the model is dragged. - Place at, beside Move / Turn / Scale: the picked points put where their middle is at the X, Y, Z typed (there were only distances to move by). - Soft: a distance round the picked points within which the others follow a move, less the further off (1 beside, 0 at that distance) - a bump, not a spike. By the gimbal, by typed values, by a face dragged and by Place at; with Symmetry, mirrored too. tests/creases.test.ts: 18 checks. In the app: a face dragged (1.9 out), points placed at Z 60 and X 5, one point raised 10 with Soft 25 (13 others followed, up to 5.1), a loop added and removed (56 points, 68, 56), an edge and a loop made sharp, undone and redone, saved and opened again still sharp; each finished as a closed solid. The other freeform tests as before: freeform 15, freeformedit 29, freeformtools 40, faceff 26, faceffmulti 7, hoseconnector 14, connect 107. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
093046340f |
Sketch: part of an ellipse is a curve of its own, and that is what a round edge seen at a slant projects to.
A projected curved edge was a spline through 24 points with only its ends shown; now, where the edge is part of a circle or of an ellipse, the curve in the sketch is that part of an ellipse exactly - a centre, two ends, nothing between. - The ellipse can have a start and a sweep (a0, sweep); without them it is whole, as before. Its two ends are points like an arc's: picked, snapped to, dimensioned, chained. - Project and the curves that follow an edge make one when every point of the edge is on it (to a millionth of its size); else the spline as before. A curve an older project holds as a spline stays a spline (sizes may be tied to its points), and a face's own outline is untouched. - It keeps the end it ran from when the body changes; moved, turned, mirrored and offset it is the same part; trimmed or split it becomes an open spline through 13 of its points. - A shape closed with one extrudes to the right volume (a quarter of 20 x 10, 5 high: 785.40). tests/ellipsearc.test.ts: 10 checks (the pieces, the extrude, a half disc followed from a tipped plane and made bigger). tests/projectlean.test.ts: 29. In the app: Project on the top rim of a half disc from a plane tipped 60 degrees gives half an ellipse 20 by 10 that follows the edge. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
e2711937c3 |
Stress tests aimed elsewhere, and what they found. A fuzz of the rebuild: random steps added the way the app adds them (taps from the last rebuild), then an early size changed and back, each step switched off and deleted - built warm (results kept) and from nothing, the two the same, every time (30 seeds, 850 checks: the cache held). Its refused steps found the bugs. Edit Freeform steps had no test: now edits stacked, switched off, rolled back to, with a subtract and a linked copy between, each the same as the cage made that way straight away.
Fixed:
- A face pushed out after an earlier step tilted it, then that tilt changed: the push became a slide - a sheared move, or "Sliding or turning a face within its plane..." on a body with a round face. A move that was a push when made stays a push, square to the face as it is now; a tilt about a line in the face stays that.
- The earlier tilt turned to 0 or switched off: the push lost its face ("The face it was built on is gone"). When the step that made a face makes none now, the face that is plainly the same one (facing the same way, its middle where it was, much the same size) is taken.
- Move Face on a shape projected onto a face (Project as Edge) did nothing and said nothing: the faces round it lie in its plane. Pushed out it now raises it (a boss), in sinks it (a pocket), following the sketch when it moves or grows; tilting it says why it can't.
- Project as Edge from a sketch on a block's top split the bottom too, out of sight behind the block: a line running wholly inside the body was taken as seen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
bf0a7a3dd9 |
Speed: the slowest rebuilds in the test projects, measured and cut down. The jet's two unions 70 s each -> 13 s: volumes are integrated both ways piece by piece, each piece halved only where it still changes (halving every piece again and again, its sixteen blade faces took 4 s each and still hadn't agreed), a face an offset closed to nothing taken as it is, the tolerance floored and each face's work capped (a split box's shell 31 s -> 5 s). The guitar's shell 63 s -> 16 s, a mug's Connect 19.5 s -> 8.3 s: a shell's checks tell inside from outside by one section of short segments against the solid (not each point's distance to the whole of it), run the quick checks first, and only measure a wrong way's volume when nothing better came; a sweep's sign and emptiness by the rough measure. New test: a hose connector (Auto extrudes, revolve, inside thread, chamfer)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
eb417e7f11 |
Freeform Face over several faces at once: pick flat faces of one body that touch (a top and the side it meets) and one cage is laid over them all, put down onto them, a border point on each corner where their outline turns - one smooth surface in their place, no edge where they met (even as laid). Refused, saying why, for faces that don't touch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c5858e55db |
Edit Freeform is a step in History: Done on a freeform (or a Freeform Face) made earlier adds "Edit Freeform" with the new cage, instead of changing the first step unseen. Delete it or roll back before it and the shape is as it was; open it from History to reshape that edit. Opening the Freeform step itself from History still edits that step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
0509747792 |
Move Vertex on a body in separate pieces (a block added that does not touch the rest): only the piece with the corner is rebuilt, the others kept - made as one, the pieces came out as a group, not a solid, and every move of that corner failed with "would fold the faces"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
857f632c95 |
iPad findings: wheels kept on screen in a column beside History, clean thread ends, line tool ends on any closed shape, Auto by direction, quick actions on a picked face/edge/point
- Wheels: the tool wheel is always kept on screen; a tap on its middle folds it (never gone). First places on tablets and computers: one column left of History, below the view cube (tools, Options, Settings), far enough apart not to overlap when open. New places key, so old dragged spots don't hide it. - Browser dark-mode add-ons washed the wheels out (they lighten dark fills): darkreader-lock tells them the page is already dark. - Threads: the groove's stopped ends left a thin ring of the face and a flat stub at the end, and a flat triangle where groove pieces met. Free ends now get a 45 degree chamfer to the root; the pieces are fused into one groove. - Line tool: a line that ends on an existing point and closes a shape (drawn in pieces, after an arc, carried on after a stop) puts the line tool down, as closing on its own first point did. - Auto, by the way it goes (new extrudes, byDirection): on its own, + is a new body, - cuts what it runs into; on a face, out adds, in cuts. Older extrudes keep the old rule. The choice is "Operation"; the Options wheel names it by what it does (Cut, Add, New body). - Quick actions: the two most likely next tools as round buttons beside a picked face, edge or point (clear of its arrow and of the wheels). - Welcome text: a free MakerWorld Boost or a follow. - valve test: threaded pairs' overlap confirmed by point sampling (the kernel's intersect said 34 and 83 mm3 where no point is in both). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
664ef5a900 |
Stress tests: a cookie cutter (a hexagon offset twice, the flange and wall extruded, the wall taken on up, its top rounded) and a waste bin (drafted out, shelled open, handle slots through both walls)
Found building them by hand on a phone-sized screen: - Extruding the wall's ring on, on Auto, cut it out of the flange and added nothing past it, without a word (the sketch is on the floor, not on a face, so Auto saw a body in the way). Auto now adds to the body made from the same region of the same sketch. - Rounds bigger than half a wall (a 1.2 wall rounded 1 inside and out, as the fillet starts) ran into each other and came out "Repaired automatically" with a flat patch over the gap. A fillet or chamfer that tears the body open now says the size is too big. - Draft angle 5 leaned the bin's sides in, and nothing said which way a sign leans: the hint says so while a draft is set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
895366f2c2 |
Stress test: a picture frame (a section swept round a rectangle, mitred; rounded outside, chamfered inside, a hanging hole)
Built by code and by hand on a phone-sized screen; the two match (65675.9 mm3, 25 faces). What it found, now fixed: - A mitred sweep left each flat side that runs round the path (the frame's front, back and rebate floor) in one piece per leg, meeting along the mitres. A 1 mm chamfer round the inside edge failed as "too big", and a round on the outside took 2.7 mm3 more than it should at the corners. The pieces are merged into one face each now (24 faces to 15). - Edge picking: two edges on the same pixels (the front and the back edge, seen from straight above) went to whichever came first, so a tap just off the face took the hidden one. The one nearer the eye wins now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
bfcf43bed6 |
Stress test: a reducing pipe tee (join, a shell open at three ends, chamfered rims)
- A round face's seam (the line where it starts and ends, drawn on the body) is marked as one, and Fillet and Chamfer turn a tap on it away with a word why. Taken, it broke the step with "an edge it was built on is gone", a tap again didn't drop it, and as Chamfer's first pick it used up the wait, so the next edge tapped was only selected. - The test is a reducing tee (branch 16 across): OpenCascade can't bring an equal tee in by a wall (the two cylinders' meeting curves cross at a point), so its shell came out only now and then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
7d935ebf3b |
Pipe tee stress test (by code); Auto's cut explained; numpad decimals
- Auto extrude drawn inside a body and reaching out of it cuts, and now says so with Add named (a pipe's branch drawn on the floor through the pipe came out a notch, no word why). A tool's notes show as it previews. - A value box no longer rewrites its text from the value while the numpad types into it: "1." became 1, so 1.5 came out 15 (the numpad works without focus, and the box only held back while focused). - tests/pipetee.test.ts: run, branch, shell open at three ends, chamfered rims; the by-hand part is still to come. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a5f53b5555 |
Stress test: a wall hook (rounded plate, countersunk holes, a swept J arm)
Built by code with checks (the arm held to Pappus) and by hand on a phone-sized screen; the two match exactly. - Sketch tools: More opened on an empty ring (its ring was made from its own empty list and opened before its cells), so Other plane and Constraints were out of reach. It shows them now. - Sweep: a path with a gap said the kernel's "Failed to build the wire, disconnected wire". It says the curves don't join end to end, and how to fix it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
5a7fd027f1 |
Stress test: a funnel (loft, a spout, a round, a shell open at both ends)
tests/funnel.test.ts builds it by code, each step held to its size: a loft from a 12 circle on the floor to a 60 one on a plane 40 up (a frustum, exact), a spout drawn on its small end and extruded 30, the join rounded 4, shelled 1.5 thick open at the top and the spout's end. Then the same funnel built by hand on a phone-sized screen (tests/fixtures/funnel-hand.json): the same volume and faces. What the hand build found: - The bottom face pulled 30 down for the spout: nothing happened, not a word. A flat face pulled carries its sides on along their own surfaces, and a cone's sides meet in a point 10 down: pulled 11 or 20 it made an hourglass through that point that every check passed as sound, 25 or more gave the body back unchanged. The outline's area as it goes is a quadratic in how far: when it comes to nothing on the way, the step is refused, saying so and what to do instead (draw the shape on the face and extrude that). Pulled 5 it still carries the cone on. - Shell, the top tapped, then the spout's end from below: the tap went into the thickness box, which sits on the top face's middle - right behind the spout's end, seen from below. A value box on a face now steps aside when that face is turned away (the value is in the tool's card then, and the numpad lets go of it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
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> |
||
|
|
8de2367a0c |
Stress tests: a phone stand, an ice cube tray, a headphone hook, a spanner, a planter, a door handle
== A phone stand (plane at angle, offset edge, through-all cut) ==
A phone stand built by code and by hand on a phone, the two matching:
a base, a back leaning at 75 degrees on a plane through its top edge, a
lip raised from an Offset Edge line, a cable hole cut through all, the
lip chamfered and the back's top rounded. What it turned up:
- A join that only touches along an edge (the back stood on the base's
edge) made two solids meeting at an edge and was called sound. Health
now counts pinched edges (more than two faces round them) and such a
body is not healthy; the join says "only touches the body along an
edge" and to let them overlap.
- A rectangle's height typed 93 came out 92.999999999999 (the solver's
float noise, shown, saved and built). Values a hair off a clean one
are put on it when the constraints stay as well met.
- Cut with Through all on a sketch on a face went out into the air and
cut nothing: with no way picked yet, a through-all cut now goes into
the body (Flip direction still turns it).
- Once a chamfer's preview showed, its edge was gone from the view, so
tapping it again could not un-pick it: a tap near a picked edge's own
line now drops it.
== An ice cube tray (draft, two-way pattern, shell, lettering) ==
An ice cube tray built by code and by hand on a phone, the two the same:
one pocket pulled down with a 6 degree draft as a body of its own,
patterned four along and two across, all eight subtracted from the
block, the block shelled from below (walls 2 thick round every pocket),
the rim rounded, ICE typed on the front and raised. What it turned up:
- Subtract's clearance box sat between the first two bodies: over the
middle of the tray, on the pockets still to be tapped, and a tap meant
for one opened its number pad over half the tray. It moves down the
screen, clear of the bodies.
- With many bodies taken away, the signs (to swap the bodies round)
were pushed aside onto bodies still to be tapped, and a tap meant for
a pocket swapped the tray out. Past two, only the first keeps a sign.
- A pattern running, its first body picked, the view's taps go to its
direction: four pockets to pattern across could only be had by
starting again from Items. Now a body tapped in Items joins the
running pattern (or leaves it).
== A headphone hook (symmetric, up to a plane, thread) ==
A headphone hook built by code and by hand on a phone, the two the
same to the face: a C clamp pulled Symmetric, an arm pulled Up to a
plane 50 out, a lip raised and rounded, a screw hole cut up through the
jaw and threaded M7. What it turned up:
- With Symmetric on, the box still read Distance, and 30 typed for a
clamp 30 wide made it 30 each way, 60 in all. The box reads "Each
side" and the hint says to type half the whole width.
- Up to a plane with the distance box left at 0: Done did nothing.
The distance only has to be set when the ends are a distance.
- Fillet: tapping a picked edge to drop it took the picked edge even
when the tap was on another edge nearer; now the nearer real edge
wins.
- The radius dot catches taps for some 40 px round it, so an edge
near it could not be picked or dropped. A tap on it that doesn't
move, away from the dot itself, now goes to the model.
== A spanner (pieces pulled up at once, polygon, corner rounds) ==
A spanner built by code and by hand on a phone, the two the same to the
face: two circles and a bar pulled up 6 as one, an open jaw cut through
all, a hexagon 10 across flats cut through the ring end, the inside
corners rounded and the hexagon chamfered. What it turned up:
- New project kept the last project's view: left looking up from below,
a tap meant for the top picked the bottom face. A new project starts
from the default view.
- Through all with Auto, on a sketch on a body's face, went up off the
face: a tower 354 high was added instead of the jaw cut. Auto on a
body's face now goes into it, as a cut does.
- The Polygon's Values only took a radius to a corner: a hex 10 across
its flats meant typing 5.7735. It takes Across flats too, kept as the
radius dimension that makes it.
== A planter (loft square to round, shell, circular sketch pattern) ==
A planter built by code and by hand on a phone, the two the same to the
face: lofted from a square foot to a round mouth on an Offset Plane,
shelled open at the mouth, four drain holes (one circle, patterned round
in the sketch) cut through the floor, the rim rounded. What it turned up:
- The loft leaves the mouth's circle in five pieces, where the square's
corners run up to it. A tap on the rim picked one quarter, and its
fillet could not be made ("would damage the body"). A tap on a piece
of a circle now takes the whole circle, and a tap drops it whole.
== A door handle (sweep along line, arc, line; sketch mirror; countersinks) ==
A lever door handle built by code and by hand on a phone, the two the
same to the face: a plate with rounded corners, two screw holes (one
circle mirrored in the sketch) cut through and countersunk, a round bar
swept up from the plate along a line, a centre arc and a line, its end
rounded. What it turned up:
- Mirror (Copy) applied on the first tap on the axis, but kept the shape
picked and its card still read "Apply (1)", so a second tap made the
same copy again, on top of the first. A mirrored copy now lets go of
the shape, and a copy exactly on a curve already there is not made
("Those copies are there already").
Health: a body where more than two faces meet on one edge (pieces
touching only along a line) is no longer called clean. The drill's
housing halves have one such seam each, where the grip runs into the
wall and the inside and outside meet; the drill test allows that one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
a5b544dd16 |
Stress test: a mug (revolve, shell, move face, project, connect, wrap)
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> |
||
|
|
9c6818592c |
Subtract: a clearance, cut from the body, the others or both
Subtract gets a Clearance (typed in a value box on the model, with a drop-down for which bodies give way) for parts that must fit or move: - from the body: a hole the clearance bigger all round than its peg; - from the others: each is cut by the body grown by the clearance; - from both/all: half each, in turn - a peg through a plate becomes a hole r + gap/2 and a pin r - gap/2, every pair the gap apart. Bodies are grown a piece at a time (the kernel's offset of a body in two pieces fails), and only bodies as they were are grown or brought in. tests/clearance.test.ts: exact volumes and gaps, 32 checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9ca93f03e5 |
Measure: right volumes and areas on extruded and revolved splines and their shells
The engine's measure integrated a face swept from a spline in one piece, blind to the spline's own pieces: an extruded closed spline read 316 000 mm3 for 284 800 (11 % over), its side 1.7 % over, a revolved spline 1.2 %, the shelled mouse 21 489 for 22 249. Bodies and faces with swept faces (extrusion, revolution, offset) are now integrated in ocFree piece by piece (Green's theorem round each face's outline, cut at the surface's joints and where the outline crosses them), giving volume, area and centres to a millionth. A shell measures in about 1 s (the kernel's own exact measure took 11 s), and each shape is measured once. Mouse test: the block equals its end x 45 and its side the outline x 45, the shell agrees with a mesh, the button lines' change read straight off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
60b0c5e287 |
Shell: cuts across a curved shell's inner walls work (loose offset edges made again)
A slot right across a shelled mouse's top failed at every tolerance
("the faces don't meet up"). Two causes:
- The kernel's offset gave the edge where two smooth offset faces meet
(the inner top and the inner rim round) a 3D curve 0.2 mm off, its
tolerance 0.14 mm, while its curves on both faces were exact. Any cut
across it broke the faces. tightenEdges (used by offsetSolid, so by
Shell) makes each such edge again from its exact curve on each face,
rebuilds those faces and sews them back; kept only if it is one sound
solid of the same volume.
- unify (merging faces on one surface after a boolean) joined the two
pieces of a closed round either side of its seam into a broken face.
A merge that breaks a sound shape now keeps the pieces.
That second change showed a thread check letting a broken groove through:
on a whole round face, a thread must take all its grooves hold (the
"what the groove overlaps" fallback is for faces that aren't whole).
The mouse test now cuts the line across; the cut's change is checked by
mesh (the engine's volume measure is off on offset faces).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
a41684a5ed |
Stress test (a computer mouse): faster shell checks, quick no on broken cuts, a missed cut says so
- tests/mouse.test.ts: a spline outline cut by a spline side profile, rim and foot rounded, shelled from below, button slots, a scroll wheel with 24 patterned knurls joined, thumb holes, a base plate. - Shell: the wall checks test points inside the body and the shell, instead of booleans with little cubes (the mouse's shell: 51 s -> 17 s). - Repair: a "fix" measuring below nothing or more than its box is turned down at once, without meshing it (a failing cut across the shelled mouse: 186 s -> 10 s before it said no). - A Cut that takes nothing away (drawn on the wrong side) leaves a note on its step; before, nothing happened and nothing was said. Known limit, kept in the test: a cut that splits the shell's inner (offset) faces in two leaves them invalid at every tolerance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a448d87ea5 |
Shell: cut-outs between one wall and two apart
A pocket 1.7 mm from a hole could be shelled with 0.5 mm walls and with 2.5 mm walls, but not with 1 or 1.5: OpenCascade's offset of the whole body gives up where the offsets of two cut-outs run into each other, and the step said the walls don't fit. One more way is tried last: the hollow is put together from what is cut out of the body - the box round it brought in by the wall, less each lump the box holds besides the body (the hole's room, the pocket's) grown by the wall on its own. The same shape as the body offset inward; the lumps just overlap. It is held to the wall asked for: nowhere nearer the body's skin than that. Tests: the hole and the pocket at 1 and 1.5 (volumes worked out by hand, the tube and the pocket's walls one lump), two pockets 1.5 apart, a row of hole, hole, pocket. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
5088a5c9fd |
A moved body's faces are still the faces of the steps that made them
A body moved, turned, mirrored or copied in a pattern had its faces put down to the Move (or, by chance of where it landed, to a mix of the Move and the step that made them, with no word of which of that step's faces each was). A pick on it then knew only where its face had been: make the block wider and a fillet on the moved block's corner rounded another corner, with no word; put a Move in before a fillet and the fillet's edges were "gone". Each face of a moved body now keeps its step, and where its body has been moved to since: asked which of its step's faces it is, it is taken back to where the step made it. So a pick follows the body through earlier changes, a Move put in before a step leaves it its picks, and a face a Freeform Face step made can be reshaped after its body was moved. Later steps on the moved body carry this on. Picks saved before name the Move: that answer is kept beside (the page is told too, for "pick it again" and for an edge a sketch follows). Tests: gridmoved (22). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
777720540b |
Flat faces with a great many holes are meshed by the engine itself
OpenCascade's mesher takes time and memory by the square of the holes in one face: a plate with 400 holes took 5 s and 700 MB to show, and half a minute and 2.9 GB to send out as STL. A flat face with 30 outlines or more is now cut into triangles here (earcut), between the very points its neighbours' meshes have along its edges, so the mesh stays closed. The same plate: shown in half a second less of meshing with no memory to speak of, an edit on it twice as fast, out as STL in 4 s and 163 MB. 900 holes: 1.4 s (13 s and 1.3 GB before). Earcut leaves out points that lie in line with their neighbours (rows of square holes lost corners): no three points are in line for it, and the triangles without area that makes are taken out again. The body's edge lines come from the same points. A point wanted on such a face (a push, a shell's checks) is found the same way. Tests: plates with 144 round, 144 square and 400 round holes - shown, closed, of the part's volume, out as STL closed, a face pushed, a side pulled. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
3e00e60b37 |
A shown body no longer keeps its mesh in the kernel
The view's triangles were left on a body once it was shown, and stayed for as long as the kernel held the body - which, for a body one of its tools made, is for good. They are taken off once the view has them: every edit works on a copy of the body, which has none, so nothing read them again. Dragging a fillet on a 44-face plate 400 times: 811 MB, now 496 MB; a shell on it 100 times: 595 MB, now 496 MB. No slower. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
337c802689 |
Engine review: memory given back, meshes come in as solids, sweeps that say why
Memory. The kernel build frees nothing when most of its things are deleted (one do-nothing function stands in for their destructors): a deleted handle still counted as a user of its shape, so no body the engine made was ever freed, and each tool kept what it had worked out. Now each is told to let go before it is deleted (release.ts): shape handles emptied, explorers pointed at nothing, booleans cleared and given a last tiny job so they drop their bodies. The validity check, which left over half a megabyte behind per check of a 35-face part, is pointed at nothing before it goes. A body's copy is written out and read back (the kernel's copier keeps both bodies for good). Rebuilding a hole 1500 times took the engine from 100 MB to 595 MB, now to 199 MB; a face pushed on a 44-face plate 400 times, 1871 MB, now 811 MB; a shell on it 200 times broke the engine, now it doesn't. Meshing. A body is meshed a few hundred faces at a time (meshing.ts): the kernel's mesher kept working notes on every face and edge at once - a body of 4 500 faces took 1.3 GB, one of 40 000 the 4 GB a browser allows. Same triangles, same order. STL is written from that mesh, of a copy of the body (the print mesh no longer stays on the model). A face's own triangles are made for that face alone, not by meshing its whole body. STL and 3MF meshes in. A closed mesh comes in as one solid, its flat triangles merged (the reader hands back loose triangles; every file came in as loose faces until Repaired, a 12-triangle block too). A binary file is told from a text one by its length (a blank heading and round sizes made the reader take it for text: a 10 mm cube out of a 3MF couldn't be read). Up to 250 000 triangles; more is refused at once with the count (it used to run the engine out of memory). A broken-down engine is no longer taken for an unreadable file. Sweep. Facing the same way along a path that runs in the profile's own plane never returned; a profile that changes size or turns left a sweep in pieces at a sharp corner: both refused in words. Joins and cuts made by a step go through one checked boolean. An unknown mode is a damaged step, not a step that does nothing. Tests: gridloft (340), gridio (51: up to a face or plane, STEP and STL out and back, meshes in, split by a body, copies, memory over 400 rebuilds). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
835816fef1 |
Engine review: faces with holes, Shell, a join's stray edge; grid tests
Each operation tried over a grid of shapes, places and sizes, every result held to a volume worked out by hand. What that found: - A face with a hole in it pulled out: the hole was closed with a lid (the slab added took the face's outer outline only). Pushed in with a boss standing on it: refused, "would break the body into pieces". The slab now stops at each hole's own walls, and such a face goes the exact way first (a round hole stays one true cylinder). - Shell, where two faces are closer together than two walls (a pocket 1.7 mm from a hole, a hole 2 mm from a side): the pocket's walls were left out without a word (the pocket a window into the hollow), the tube round a hole in the opened face ended a wall and a half short of the opening, and a broken shell came out "repaired" a sixth too light. Shell now takes a result only if it is sound, has a wall behind every face it kept and nothing left deep inside, trying each way in turn; the opening is cut from the hollow's own floor. What still can't be built says why (walls would run into each other; a pocket in the opened face would be left loose). - A join where an edge of one body lay in a face of the other left that edge lying across the face, bounding nothing: taken for a gap, "would tear the body open". Such edges are taken out of every boolean's result. Tests: grid.ts and gridbooleans (65), gridextrude (152), gridfaces (122), gridfillet (126), gridshapes (98), gridshell (48), gridsizes (90). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
f692ac9e92 |
Connect: a bridge never folds through itself
Where the faces are wide for how close they are (or far to the side of each other), no curve of the plain kind turns gently enough, and the bridge was swept along one anyway: its inner side ran backwards, a solid through itself that no join or cut could use (a triangle to anything: "the shapes only just overlap", or a body left torn). - Two arcs of circles, the gentlest way from one face to the other, where the plain curve would fold. - Where that folds too and the faces face each other: the outline slides along the curve instead of turning with it (two wide plates close together, one a little to the side). - The fold check carries the outline along the curve (an arch's top went unchecked) and takes it as far between the two ends' as it has got. - A sweep that went wrong without saying so (a bridge of 128 mm3 for one of 30 000) is no longer taken for the bridge. - Tests: 50 pairs of outlines, joined, cut and as a body of its own - all sound (14 were, before this week). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
3bc4c143ba |
Review fixes: Connect never leaves a damaged body, Add Another, Other plane
- Connect's result is checked like any other edit's: a join that tore the body open, or a cut that broke it, went through without a word. - The bridge from the faces' very edges that can't be joined or cut: made the other way (a little inside the edges), on the bodies as they were. - Create Variable from a field, then Add Another: the field gets its own variable, not the last one made; a bad name or value comes back as typed. - Other plane: only while the sketch is empty, and a shape just started is dropped with the old plane. - Tests: 50 pairs of outlines connected (join and cut); moved, mirrored and patterned bodies' edge lines. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
23e7932c7d |
Faster rebuilds: no measuring or meshing the same shape twice
- A step's working copy of a body keeps the body's known volume: a big housing was measured again on every step (a quarter of a small cut). - A cut that gives back one solid in a group: its volume, known already, isn't measured again. - Each face of a shown body: middle and area from one measuring, not two. - A body moved, turned, mirrored or patterned: its mesh is the original's, moved (a fan's rotated casing: 3 s of meshing to 12 ms; a pattern no longer meshes every copy). A small cut on the drill's housing: 2.5 s to 1.5 s; the drill built from nothing: 40 s to 32 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
0646991d21 |
Connect: the bridge starts on the faces' edges
Joined or cut, each end was set back into its body and the outline began changing into the other face's from there: where it left the face it was already part way to it (a 20 x 30 top into a small round end left the top as 19.5 x 28.9, inside its edges). Now it is swept face to face from the faces' own outlines, and a straight plug of each outline goes back into its body; where that can't be made one clean solid (a curved face, a triangle into a square), the bridge is made as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3f2f8811c3 |
Window build test: sketches follow their planes, points typed with variables
A parametric triple-glazed window for passive buildings, built by code
(tests/window.test.ts: 22 variables, every part's volume, no clashes,
glass cover, seal contact, ten variable sets) and by hand on a phone-sized
screen (tests/fixtures/window-hand.json). The hand build matches the code
build part for part, in volume and in place, after the variables change.
What the hand build found:
- A sketch drawn on a construction plane stayed where it was drawn when the
plane's offset (or its variable) changed. It now follows the plane.
- A sketch used by a feature and shown again in Items couldn't be tapped
through the bodies. It now draws on top, like a fresh one.
- A centre's X / Y typed with a variable ("Ws/2 - S/2") was worked out once
and forgotten. The centre is now held there and follows the variable.
- A point's card had no X / Y. Typed, the point is locked there, with a
variable kept.
- Editing a plane: From offered the plane itself and later planes, and
named its base just "Plane". It now leaves those out and says "XZ plane",
"Plane 02" or "Face of Body 1".
- After a shape's first tap the hint still said "Tap the centre". It now
says what's next.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
5090030843 |
Loft: guide curves along the sides, connection points; Fill: continuity per edge
- Loft > Guide curves: any number of curves that each run through every profile; the sides follow them. - Loft > Connections: a point on each profile in turn, and the loft joins them (a square's corner to a point on a circle, or a twist). - Both work by resampling the profiles on one shared parametrisation, with sections added between profiles that the guides pull into place. Sharp corners stay sharp; smooth profiles stay smooth (C2). - The old guide is now called Centre line. - Fill: each body edge of the boundary can have its own continuity (G0, G1, G2); the setting for all stays as the default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
495e1cef79 |
Split Body: several planes and other bodies at once
- More planes: a body cut into slices in one step. - Split with bodies: cut along other bodies' surfaces; those bodies stay as they are. A plane isn't needed when bodies are picked. - Every piece becomes a body; the biggest keeps the original's place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3d9cb2533b |
Fill: a surface over a network of curves
- Tools > Fill: tap the curves and edges round the surface (any sketches, any bodies' edges) and, if wanted, guide curves across it that the surface passes through. It's an open body of its own. - Along body edges it can just touch (G0), be tangent to the face there (G1), or match its curvature (G2) - G2 says so when it can't be held. - Starts with the curves and edges picked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e0a8f6a982 |
Sweep: profile position, orientation and corners; Loft: start and end continuity
Sweep - Profile position: where it is, or on the path's start (moved to the nearer end and turned square to the path). - Orientation: normal to path (it turns with the path), or parallel to profile (it keeps facing the same way). - Corners: round or mitre. Loft - Start and End: free, tangent (G1) or smooth (G2), each with a magnitude - the body leaves the first shape (meets the last) straight out of it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
272aee1888 |
History: a breakpoint (roll back without deleting) and Merge
- A step's menu: Insert Breakpoint After - the later steps are off and greyed under a bar, the model as it was there. New steps go in at the breakpoint (before the ones it switched off). Remove on the bar (or in the menu) switches them all on again. - Merge History…: every step becomes the bodies as they are now (each kept exactly, with its id, so names, colours, materials and folders stay). Keep the sketches and keep the variables are ticked by default. Undo takes it back. - The dialog can show tick boxes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9160a0669d |
Extrude: Through all, Up to a face or plane, a start offset, a draft angle, and Intersect
- Ends: Distance, Through all (Flip direction turns it), or Up to - a face (flat: its whole plane; round: split there, the part at the shape kept) or a plane, picked like any slot. - Start: it begins that far from the shape along its normal. - Draft angle: the sides lean in (negative: out) from the shape's plane. - Result gains Intersect (only what's in both stays), for Revolve, Sweep, Loft and Pattern too; Connect keeps its four. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
60c66fd731 |
Tools for checking the app: sg in the console, a project checker, pictures without a browser, a shared test kit, version.json
- sg (the browser's console): the project, tool, hint, open window, selection, errors and bodies in one look; pick things by name; list and run what's offered; read and set the open window's rows (slots, numbers, choices, toggles); give a waiting slot a face or edge; Done / Cancel; wait for the engine; each body's health; open a project. sg.help() lists it. - npm run check <project>: rebuilds it step by step and says what each step made, changed or took away, its error, and how sound each body is. - npm run render <project> <out.png>: a shaded picture with edges from any side, drawn without a browser. - tests/kit.ts: the engine started once, check / done, and quick sketches, shapes and steps (wrap.test.ts uses it). - version.json on the site: the commit it was built from; npm run live says whether main is live (--wait until it is). - The engine measures each body's health on request (valid, closed, solids, faces, volume, box). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
31ed4ad14b |
Drawings: base and projected views, view scales, arc angles, min-max distances, pictures; Project as Edge, Wrap & Emboss, edge tools
Drawings - Base View: the model from any side (front, back, top, bottom, left, right) or any isometric corner, put where it is tapped, at its own scale. - Projected View: tap a view, then beside it for the view square on (lined up with it, first or third angle), or past a corner for an isometric one. Projected from sections and added views too; deleting a view takes what was made from it along. - Scales per view: the isometric view and added views have their own; the front, top and side views share the sheet's (they line up). - Arc Angle: the angle an arc goes round, past 180 degrees too. - Min-Max Distance: between any two of a point, an edge, a circle or an arc; the nearest, or the farthest with Max. - Images: a picture from the device on the sheet, moved by dragging, made bigger or smaller in the bar. Modelling - Project as Edge (beta): a sketch drawn onto the faces of a body seen from it, or edges onto a face; the faces are split along them. - Wrap & Emboss (beta): a sketch wrapped round a round face with its lengths kept, raised from it or sunk into it. - Edges: Plane - Through Edge, Project as Sketch, Project as Edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a728e74d91 |
Drawings: section and detail views, angles, tolerances, centrelines, notes that point; toolbars that fit what is picked
Drawings, after a study of how a professional CAD app does them:
- Section View: draw the cut line on a view (corners, middles and centres
snap), tap the side it goes on. The model is cut there and the view is
lined up with its parent: cut faces hatched at 45 degrees, "A-A" under it,
a chain line with thick ends, arrows and letters on the parent. Flip turns
it round; dragging slides it along its line.
- Detail View: a circle on a view, drawn bigger where it is tapped, with its
letter and scale ("B (2:1)"); its scale can be changed when it is picked.
Dimensions can be put on details and sections.
- Dimensions: Point-to-Line, Line-to-Line, Line-to-Line Angle, 3-Point Angle
beside Line Length, Point-to-Point, Radius, Diameter. Points snap to the
middles of edges too.
- Text and tolerance on any dimension (double tap, or the bar when picked):
text before and after, symmetrical, deviation (stacked), limits, basic.
- Centrelines: centre mark, 2-point and 2-line centrelines.
- A note tapped on an edge points at it with a leader.
- The first drawing asks its title, sheet, scale and views first.
- Angle precision, centreline and hatching line widths, ANSI E.
- Fixed: a second note started while one was open lost the first (and threw);
taps off the paper made notes outside the sheet; the note box ran off a
phone's screen.
Picking in 3D:
- A round face shows only what works on it: Axis - Cylinder (on its axis),
Fillet and Chamfer of its rims, Pattern, Translate, Rotate, Mirror of its
body. Sketch, Extrude, Plane and the other flat-face tools are left out.
- A body has Fillet and Chamfer of all its edges, and Create Drawing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|