14 Commits

Author SHA1 Message Date
superGeometry 6b796c06cf A check of security and of speed, and the words brought up to date; 0.6.0 (asked for: "check for speed and performance, also security" and "also update everything: about, help, guide text etc.").
Security. Looked for: code run from text (none: no eval, no Function made from text), text written into the page as markup, pages and messages from elsewhere, links opened, what is fetched, the packages' known faults (npm audit: none).
- A project file can come from anyone, and three things in one reached the page as markup. A body's colour was written into a tool's button ("<span style=background:...>"): a file with markup for a colour had it on the page when that body's tools were listed. A colour is given to the swatch as a colour now; and a project read from a file keeps only colours that are colours ("#rgb", "#rrggbb", "#rrggbbaa") and see-through levels that are numbers - anything else is dropped. A drawing's ids and its text's size, weight and colour went into the sheet's SVG as they were: escaped now, as its texts were.
- The site sends security headers on every file: a Content-Security-Policy (only the site's own scripts run - none written into the page, none from another site, no plugins; pictures and the Browser window's pages may come from anywhere, they are what the user opens), nosniff, and a referrer that names only the site. 'unsafe-eval' is in it for the geometry engine, which builds part of itself as it starts: without it the engine did not start (tried). With the policy, on a build served with these headers: the app opened, the engine started, the tutorial's first 24 steps were built (sketches, extrudes, chamfers), the Technical Sheet and Drawings opened - no violation reported.
- Found sound: the Browser window opens http and https pages only, in a sandboxed frame; links open with noopener; the About page escapes its text.

Speed. Measured, on a ten-step part:
- A change that leaves the model's steps as they were - a body renamed, coloured or hidden, a material, a joint, an assembly's pose (saved at the end of every drag), a pin - went to the geometry engine and back all the same: about a fifth of a second each. What is shown is brought up to date from the model there is now, the engine not asked (only when the model on the screen is the project's own, and none is being made). A change to a step still makes the model again; undo and redo as before.
- Nothing to change: the tutorial's work each frame and an assembly's parts placed on each move of a drag are a few thousandths of a millisecond; nothing is drawn while nothing happens, with the tutorial open or not.

Words. Help: Insert (Image on plane, File, Project), Assemblies (the pose is kept; Joint from two picked faces; where the parts are shown while a tool is open), the tutorial (New project at its end). About (the README): the tutorial, BIM and Assemblies, Insert, what a .super file holds, the project's joints and pose for scripts.

In the app: a project loaded with markup for a body's colour, its see-through level and a material's colour - none of it kept, nothing run, the body's tools listed; a pose saved five times - no engine call, the pose there; a colour and a name changed - shown, no engine call; a step's size changed and undone - the model made again each time. tests: joints, linked, sketchfollow, holepattern pass.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 17:01:43 +02:00
superGeometry 5478bc71c9 The app's name is written superGeometry.app wherever it is shown: the top bar, the page title and share tags, the install name, About, Help, the welcome, toasts, the screenshot mark, exported files' generator, the share image, README and LICENSE (web addresses, storage keys and the subreddit stay as they were)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:55:01 +02:00
superGeometry 409b01bab8 Logo: the G sits lower on the cape, where the cloth is wider, and is bigger
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:51:29 +02:00
superGeometry 21116bdcb3 Logo: back to the full-strength red, yellow and blue; the cape fills more of the tile and the G on it is bigger (the maskable icon keeps the cape inside the safe circle, the watermark crop follows)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:49:46 +02:00
superGeometry 9a54b500d2 New logo: a red cape in the wind, a faceted cloth surface shaded by its triangles, with a yellow clasp and a yellow hexagon bearing a blue G printed on the cloth (it folds and shades with the facets); muted red, gold and blue
scripts/logo.py draws it and writes public/icon.svg; scripts/icons.mjs now reads the paths from icon.svg for the home-screen icons (192, 512, maskable with safe-zone padding, Apple touch). The share image shows the cape, and the screenshot watermark takes the mark from icon.svg without its tile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:47:41 +02:00
superGeometry 6af3b1727d More: Support holds only MakerWorld
Buy Me a Coffee and Stripe are gone from the menu, the list behind it and
their logos; the button is just "Support".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 14:56:17 +02:00
superGeometry 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>
2026-11-11 21:23:25 +02:00
superGeometry 0d57e2a642 Plain guide text for every tool, Offline mode, and phone buttons that say their names
- Every tool's guide text rewritten for beginners: what to tap, in order, in
  everyday words. An empty project says to start with Sketch, which pulses.
- More -> Offline mode: the app's files are kept on the device (a service
  worker and a file list the build writes), so it opens with no connection.
  While online, a new version is downloaded in the background.
- Phones sideways: the guide text shows with History open, the sketch tools
  show their names until one is picked (tap it again to see them), and the
  right column's buttons are wider.
- Touch screens: press and hold any icon button to see its name.
- Phones: the Snap and Units cards are no taller than History.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 00:13:24 +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 bb7cbe3534 Welcome: the support buttons show the sites' own logos in colour (MakerWorld's mark on white, Buy Me a Coffee's cup on yellow, Stripe's S on purple - public/logos); the intro no longer narrows the app to 3D printing (a 3D printer, a laser cutter, a workshop or another CAD program)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 18:24:52 +02:00
superGeometry 72804cf110 Valid edge moves on concave faces, Stop button, independent copies + Link, smoother freeforms, sketch Copy to Plane, install prompt
- Move edge/vertex: bent faces are split by ear clipping in their own plane
  (concave faces no longer self-cross); results are checked with BRepCheck
- Stop next to the spinner: restarts the engine and takes back the change
- Copies of freeforms are their own freeforms unless Link is on; editing a
  copy no longer changes the original; copy panel stays after a drag
- Freeform patches fitted through limit-surface points (creases ~5x smaller);
  odd holes filled after refining the cage once (same shape)
- Cage points: bigger reach, drawn on top, quick taps don't deselect
- Sketch Copy to Plane (gimbal), live numpad preview for fillet / panel values
- Variables as one Insert entry; ƒx offers existing variables or a new one
- Font list as a drop-down; install-to-home-screen offer with PNG icons

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 16:12:36 +02:00
superGeometry fd5ca47813 supergeometry.app
A free, open-source CAD modeler that runs in the browser on any device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 01:58:43 +02:00