Commit Graph

193 Commits

Author SHA1 Message Date
superGeometry 07dad071d3 Speed: a rebuild sends and draws only the bodies it changed. Every rebuild (each move of a cut or extrude drag too) sent every body's triangles from the geometry worker to the page, and the view rebuilt them all for the graphics card - 3.8 MB a move on the jet engine for one body changed (0.9 MB now). Meshes have a key: an unchanged one goes across as its key only, and the view keeps what it drew for it. Join / cut checks work out a body's volume, gaps and hair-thin faces once per shape (the target's volume was measured twice and the result's three times, and the body before the step was checked again on each drag move - slow on a freeform's curved faces)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:47:24 +02:00
superGeometry 6fc54e4871 Phone sketch cards: smaller and narrower, and none over the drawing while a shape is drawn
- Phones only: tool cards are at most 300 px wide (they ran across the whole screen), with shorter value boxes (48 x 28, was 58 x 34), smaller names, buttons, chips and icons. Tablets and desktops unchanged
- Phones, while drawing a line, arc, rectangle, circle, polygon, ellipse or spline: no values card, just a small Values chip (a spline keeps its Done beside it). Tap Values for the full card as before: X / Y of the first point, Length, Angle, Across / Up, Radius..., with Done placing it. It stays open for the rest of that shape or line chain. The finished curve's card shows when it's tapped in Select

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:59:07 +02:00
superGeometry de38479e43 Reload and More → Update: no flash of black text on a white page first - the page itself now carries the app's grey and keeps the text for search engines hidden (a few rules in index.html), so the moment before the app's stylesheet is in looks like the app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:34:15 +02:00
superGeometry a2dc0cc860 Feedback: the project file option taken out - a Reddit post takes text up to 40,000 characters and no files, so a real project rarely fit and pasting it was a chore. The window is back to a kind, a title, a description and the version / browser line; nothing from the project goes along
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
backup-2026-11-08-before-first-paint
2026-11-08 19:21:52 +02:00
superGeometry 1043a38051 Feedback: the project file is always copied as it is, for pasting into a Code Block of Reddit's own editor - the post marks the spot. It was filled into the post as Markdown (```json) when small and copied with those marks when big, which ended up inside Reddit's code block. The 40,000-character count stays
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:08:33 +02:00
superGeometry f905c20008 Feedback: a project file up to Reddit's whole 40,000 characters can go in a bug report - the window counted 4,500 for a description that might be written, so a 36k-39k project was turned away with a short one. Now the real post is counted: past 40,000 Open Reddit waits and the window says how many characters to cut from the description (or untick the file)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:05:19 +02:00
superGeometry ef9fa8ddf5 Project links taken out entirely: Feedback adds the project only as its file in a code block (filled into the post when it fits Reddit's address, else copied for pasting; one too big for a post can't be added), and the app no longer opens supergeometry.app/#p=… links. Removed io/projectLink, io/linkHash, their test and the fflate dependency. Feedback still loads on first tap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
backup-2026-11-08-before-feedback-text-only
2026-11-08 18:59:44 +02:00
superGeometry 98254380a6 File → Share by link taken out: chat apps (WhatsApp) show only the start of a long message, so a big project's link arrived cut short, and a short link would need the project stored on a server (the app promises work stays on the device). Sharing is the .super file (Save and its share mark). Links still open (bug reports on Reddit carry one); a cut-short link now says so and asks for the .super file instead
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:55:52 +02:00
superGeometry bb816bf60c File → Share by link (under Save project): copies a link with the whole project in it - paste it anywhere, and whoever opens it gets the project in supergeometry.app (a new project, theirs kept). Copied inside the tap (Safari needs that); where copying isn't allowed the link is shown to copy by hand; a very long link says some apps may cut it. Feedback and the link packing (with its compressor) now load on first use instead of with the app: only reading the address for a link (io/linkHash) is there at start
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
backup-2026-11-08-before-link-removal
2026-11-08 18:39:06 +02:00
superGeometry 4a6bee6a37 Project links about a third shorter (half for a small project): the long made-up ids become short ones in the link (and long unique ones again when it's opened, so two linked projects never mix), and it's compressed with a dictionary of the words every project file has. The first letter is the packing's version, so links made now keep opening later. Rounding off float noise was tried and left out: it changed what the fan rebuilt into. fflate (already installed with three's types) is now a dependency of its own. Test: tests/projectlink.test.ts builds every fixture project from its file and from its link (each in a fresh process) - same bodies, volumes and errors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:23:28 +02:00
superGeometry 95e4fdfd69 Project links: supergeometry.app/#p=... opens the project packed in it (compressed, after the # so it never reaches a server) as a new project of its own - the one open is kept as it was, the welcome window is skipped, and the address is cleared so a reload doesn't open it again. Works on a fresh visit and when pasted into an open tab. Feedback: a bug report puts such a link in the post ("Open it in 3D in supergeometry.app") along with the file as code; what doesn't fit in Reddit's address is copied for pasting (only the code first, then the link too), and only a project too big even as a link can't be added
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:40:21 +02:00
superGeometry 522bef980b Feedback: a bug report can carry the project's file as a code block (a .super file is JSON), ticked by default and said in the window. A small file is filled into the post; a longer one is copied and the post marks where to paste it (the button says Copy file and open Reddit); one too big for a Reddit post can't be ticked and the window says to save and share it with a link
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:28:08 +02:00
superGeometry cfaafde27d More → Feedback: report a bug, suggest something or start a discussion on r/supergeometry. Pick the kind, write a title and a description, and Reddit's new-post page opens in a new tab with it filled in (sign in there and press Post). A bug report adds the app version and browser (shown in the window, can be unticked); nothing from the project goes along
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:22:27 +02:00
superGeometry 4af534f04c Scale: X / Y / Z now stretches any body along one direction (not only freeforms - boxes, fillets, holes, threads are rebuilt face by face), and a new Scale by reference: tap two points, type what their distance should be and everything scales to it - for bodies and in sketches (the sketch's dimensions scale with it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
backup-2026-11-08-before-feedback
2026-11-08 17:01:11 +02:00
superGeometry 06dd940414 Welcome window on a phone on its side: two columns under the title bar - the words and the support buttons on the left, the projects on the right - so it fits without scrolling up and down (it had two scroll bars)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 16:30:52 +02:00
superGeometry 8e6f03816d Sketch: the Constraints column starts closed (also for anyone who had it on) - the constraints are in the card of what's selected; the Constraints button on the right still opens it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 16:27:20 +02:00
superGeometry 4de63456c2 Section View, Measure and Variables: the row stays while one's card is open, that one lit and pulsing (tap it again to close it). Welcome: Full screen stops pulsing once the app has the whole screen (from the button or the browser's own full screen). The projects window scrolls up and down on a short screen (a phone on its side showed no projects)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 16:09:44 +02:00
superGeometry c13cd89af0 Extrude (and revolve, sweep, loft): a curved side is one face however the curve was split in the sketch - pieces of one circle in a row (an arc drawn as two arcs, a line ending on it) become one arc, pieces of one spline one spline. Each piece made its own face with an edge down the round side, which broke later unions and threads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:59:02 +02:00
superGeometry d4ef8c9d56 Planes: a selected plane you made shows the move gimbal (its own axes) - drag to move it (the blue arrow just changes its offset, so one on a face stays on it) or turn it; Copy beside it makes a new plane, selected after so the next drag copies again
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:36:47 +02:00
superGeometry 769da0049e Extrude hides the sketch it was made from straight away (even when other shapes in it are still unused) - the eye in Items brings it back
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:23:32 +02:00
superGeometry 87c30cd481 Numpad: while sketching it stays up where it was put - a tap on the drawing (placing the next point) no longer closes it, and when the size box it types into is replaced (the next line's length) it moves on to the new one without jumping back to its spot. The last line's length box (touch) goes when another tool is picked, so the numpad goes with it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:14:44 +02:00
superGeometry 95958902f5 Sketch: Explode keeps the sides joined at the corners (a rectangle's stay square, its width / height become two sides' lengths) - the same lines a corner drag makes; they're selected after, so Delete constraints frees them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:07:02 +02:00
superGeometry f7870eac68 Sketch: dragging a joined point (or anything) keeps up - each frame's solve stopped too late: the pull towards the start never reaches zero, so it ran all its steps, heavily damped. Now the drag's passes start lightly damped and stop once nothing more is gained / the constraints are met: a joined corner of Sketch 11 solves in ~2 ms instead of ~9 (same shape, more exact)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:50:42 +02:00
superGeometry e8340ec466 Sketch: Coincident shows in the card of selected lines or a shape whose ends touch but aren't joined (after Delete constraints) - one tap joins them all again (Coincident (4) for a rectangle's corners); it then shows lit, tap to take it off
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:28:46 +02:00
superGeometry b92ca4ce40 Sketch: constraints live in the card of what's selected - only the ones that fit it, one tap each (H or V named), lit when already on (tap again to take it off); the selection stays so several go on in a row, and points get a card too. The Constraints column keeps just its two switches. Dragging a corner of a rectangle or polygon (directly or with the gimbal) turns it into lines joined at the corners and moves just that corner - a rectangle stretches and stays square. Project with curves or a tapped shape already selected only asks where to. Offset by chain past a narrow notch keeps every part of the shape: the offset is cut where it crosses itself and joins up there (a whole lobe was lost). Circular Pattern / Rotate About with curves picked ask for the centre and show where it snaps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:21:07 +02:00
superGeometry b50023e03b Sketch: on a phone, tapping inside a closed shape picks the shape (with its extrude arrow) unless the tap is right on its outline - a finger's reach used to catch the edge instead. An ellipse's Width keeps its value after the second point on touch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:36:09 +02:00
superGeometry bce1ce567a Sketch: Align moves only the first thing picked onto the second's axis - the target and everything else hold still when the constraints are solved again (only the ones the move breaks go); a line already selected is the one that moves, and a selected shape (or a rectangle's side) moves as a whole, turned the short way. Rotate About says what it does: "a point you tap", a Turn around field, and a dotted arc showing the path the selection's centre takes round that point. A linear pattern (sketch or bodies) starts with its first copy just clear of the original: its size along the pattern plus a fifth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:31:40 +02:00
superGeometry d554342620 Sketch: Offset by chain never crosses the original - across a narrow spike or neck the offset swung past the far side (Sketch 11); the parts nearer than the distance are cut away and the rest joined up again. Offset (sketch and Offset Edge on a body) starts at a tenth of the curve picked, not a fixed 2 / 5 mm. Fillet and Chamfer ask for the two lines (or two sides of a rectangle / polygon), not the corner, and start at a tenth of the first line. A selected line or shape has Delete constraints (n) in its card
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:27:11 +02:00
superGeometry 7cc05db0b8 Sketch > Project the other way: tap lines of the sketch being edited, then a plane or flat face parallel to it - they're copied onto it as a new sketch (still projects other sketches' curves and body edges in as before)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:18:43 +02:00
superGeometry d2efbd0140 Construct > Plane: a closed sketched shape of any sketch can be picked as the plane to start from (offset from a profile, parallel to it, the angle's reference) - its sketch's plane, placed where it was tapped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:16:39 +02:00
superGeometry 01ff8a3a61 Sketch: tapping inside a closed shape picks it and shows its extrude arrow with the sketch still open - only dragging the arrow starts Extrude. A tool's icon pulses while its window is open; Exit Sketch pulses once a shape is closed, until the next thing is drawn. While drawing, the card's sizes follow the pointer (an ellipse's Length was 0 until the second point) and can be typed for every shape: a 3-point arc's chord and radius, a centre arc's radius and angles (desktop too), a 3-point rectangle's side and height, a 3-point circle's first chord. A centre arc shows its centre and the dashed circle it will lie on; 3-point rectangles and circles a dashed guide to the second point
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:15:39 +02:00
superGeometry c6817dafe3 Constraints: Horizontal/Vertical on a nearly level line just works - the line itself moves (it was held still as the "first picked", so nothing could change), and constraints already in its way give way (an angle first, then a parallel/perpendicular or size; joins last, locks never) and are named in a message. A line squashed to a speck no longer counts as meeting a direction. Same for an angle typed in a line's panel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:59:48 +02:00
superGeometry 8eb4a02ede History: Ungroup beside Group - ticked steps that are in a group come out of it and show in their own place in the timeline (a group they were in the middle of splits around them; the steps themselves aren't moved). A group's row has a tick box for all its steps, and its ungroup button an icon of its own (a folder with an arrow out) in place of the X
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:18:32 +02:00
superGeometry a2f5ece1be Value boxes: the mouse shows the double arrows over a value whenever it can be dragged, selected or not, and a press and drag turns it up or down straight away (it selected the text instead). A click selects the whole value; a click in a box already in use puts the caret there. A formula shows the text cursor and is edited as text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:11:28 +02:00
superGeometry 1e37a1fbca Variables: a tapped tag marks one thing - where it is the value itself (arm1: the arm's length, once, not both sides or the formulas it's part of), a length with a tick across each end like a dimension, an angle as its arc. Its relations without lines across the view: the tags it's made from and made from it stay lit, the rest fade, and under the box what's made from it ("-> p2 = p1 + arm1"). A drag turns the view with the box still open; a tap elsewhere closes it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:05:07 +02:00
superGeometry 985b28898c Variables: a tapped tag shows what it changes - yellow dashes on the model where it acts (the base's radius from its centre to the rim, the arm's length along the arm, an extrusion's height, a turn's arc with its two arms, a joint's height), following the body as it's moved and turned. Lines to the variables it's made from (solid) and made from it (dotted) are thin and light blue
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:46:29 +02:00
superGeometry e3484168a9 Variables: lengths shown without the unit in use ("220", not "220 mm") in their tags' boxes and the Variables window; typed as a plain number they keep their unit. A tag's box changes the model once it's done (Enter, the drag let go, a tap elsewhere), not key by key - a big number threw the model and the box off the screen. Esc puts it back as it was
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:39:34 +02:00
superGeometry 28f65e3d5c Numpad: a tap in the value box puts the caret there (or keeps what's selected by hand), and the keys add to the value from there instead of replacing it - in every value box. The box held the pointer from the press, so a tap always put the caret at the start; it's held only once it's a drag now. A variable tag's box: each opening is its own undo step (one Undo took back earlier edits too)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:29:52 +02:00
superGeometry 21504649ef Variables in the view: the Variables button is a switch (like Section View) - on, a tag per variable where it acts on the model (its kind's mark: a length, an angle or a number, and its name, like a constraint mark), following later moves and turns of the body it's on (arm1 on the arm, p1 and a1 at the joint). Tap a tag: its value box opens by it - type a value or a formula, or drag the value, and the model follows; lines show its other uses, what it's made from and what's made from it. Its card has New Variable and the whole list. Numpad: fx adds + x / and a key per variable, and + New makes one from the value. The file readers no longer load the whole UI (DXF and import tests failed in Node since the last commit)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:16:06 +02:00
superGeometry 6a0f6cee6e Variables: one button with Section View and Measure (always there, "None yet" or how many), in place of Insert -> Variables and the box under Tools. Its window has New Variable at the top: what was typed is kept, and the window comes back with the new one in the list. Help and README say where it is
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:41:05 +02:00
superGeometry 83f3407cc0 Edit Variables under Tools: with variables set up, a box of its own below the tool column (a gap between) that opens them in one tap - at the end of the tool strip on phones, beside the column on phones held sideways. New Variable and Edit Variables get icons of their own (the x with a plus, the x with a pencil)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:36:46 +02:00
superGeometry f6cc115c14 Desk lamp stress test: a fully parametric lamp (base, turret, two arms, head, shade) built by code and by hand on a phone, both driven by the same variables and matching in every pose (tests/desklamp.test.ts, tests/fixtures/desklamp-hand.json). Fixes found on the way:
- A formula typed into the canvas size boxes (circle, arc, line length, extrude distance, fillet, thread, shell, offset) is kept as a formula; dragging the arrow unlinks it
- A line started on the origin stays held there
- A point snaps to the nearest spot (a line end over a side's middle), so the constraint is kept
- Taper has fx, up to 1000 %; number fields take variables with units
- Rotate Around Axis: Angle has fx, Pivot X/Y/Z fields, and they show again when it's opened from History
- A tapered extrude merges touching pieces first
- Windows with fields (Variables): a close X, a tap outside closes, and a long list scrolls with a bar while the buttons stay in sight

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 01:06:52 +02:00
superGeometry 79c9002319 Section View: Place Plane in its card - a construction plane where the cut is ("Section Plane 01"), to sketch on or split with. Cut from a face and not moved: on the face itself (not the hair inside it the cut starts at)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 00:05:16 +02:00
superGeometry d5867557b0 Freeform editing: the faces' outlines drawn on the smooth surface (dark lines where one face meets the next, hidden where the surface turns away, following every drag) - the faces of a smooth shape all ran together, hard to tell apart while picking
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:53:26 +02:00
superGeometry cd3ef2fc75 Link preview picture: Tablet and Computer with a capital letter, like Phone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:38:12 +02:00
superGeometry 5322dfefd1 Found by search engines: a title and description with what people search for (free 3D CAD, 3D modeling, in the browser, STL / STEP / 3MF), the app described as text (hidden on screen, read by search engines and screen readers), a real robots.txt and sitemap.xml (the app page was served for them), the canonical address, link previews with a picture (og-image.png), and structured data saying it's a free design app. A new, unnamed project keeps the page's title in the tab
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:36:27 +02:00
superGeometry b7e88f846e New logo: an icosahedron (20 faces, seen face-on, lit from the top left) in place of the blue cube - the app icon, the home-screen icons (192, 512, maskable, Apple touch) and the screenshot watermark
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:30:49 +02:00
superGeometry 1fb91f6824 Custom colour window: narrower (232 px, Cancel and Done side by side), and a grip along the top like the tool cards' to drag it aside and see the body in the new colour
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:14:14 +02:00
superGeometry 104268a64c Color → Custom…: the app's own colour window, like its other windows (the browser's looked different on every device): a square for pale/dark, a strip for the hue, the hex code to type, the body changing as you go. Done keeps it (one undo step); Cancel, Esc or a tap outside puts it back. The colour list is the grid of circles again
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:09:16 +02:00
superGeometry a877db8e79 A folded tool card stays folded while the same tool goes on (in a sketch, tapping another line opened it whole again); a new tool opens it whole. The colour list stays a list with names like the other menus (with a custom colour chosen it turned into a grid of bare circles)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:06:30 +02:00