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>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
supergeometry.app - free browser-based solid modeler
|
||||
Copyright (C) 2026 supergeometry.app contributors
|
||||
superGeometry.app - free browser-based solid modeler
|
||||
Copyright (C) 2026 superGeometry.app contributors
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# supergeometry.app
|
||||
# superGeometry.app
|
||||
|
||||
**A free 3D design (CAD) app that runs in your web browser** - on a computer,
|
||||
an iPad or Android tablet, a phone, or a VR headset like the Meta Quest 3.
|
||||
No account, no download, no subscription. Your work stays on your device.
|
||||
|
||||
👉 **Open it:** [supergeometry.app](https://supergeometry.app)
|
||||
👉 **Open it:** [superGeometry.app](https://supergeometry.app)
|
||||
|
||||
Use it to design things for 3D printing, woodworking, laser cutting or just to
|
||||
think in 3D: brackets, boxes, vases, knobs, threads, enclosures, furniture parts…
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Architecture
|
||||
|
||||
supergeometry.app is a static web app. There is no server: everything (geometry kernel
|
||||
superGeometry.app is a static web app. There is no server: everything (geometry kernel
|
||||
included) runs in the browser, so it can be hosted for free and works offline.
|
||||
|
||||
```
|
||||
|
||||
+11
-11
@@ -19,16 +19,16 @@
|
||||
<link rel="canonical" href="https://supergeometry.app/" />
|
||||
<!-- Link previews (WhatsApp, Reddit, Discord, X, Facebook...). -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:site_name" content="supergeometry.app" />
|
||||
<meta property="og:site_name" content="superGeometry.app" />
|
||||
<meta property="og:url" content="https://supergeometry.app/" />
|
||||
<meta property="og:title" content="supergeometry.app - Free 3D CAD and 3D modeling in your browser" />
|
||||
<meta property="og:title" content="superGeometry.app - Free 3D CAD and 3D modeling in your browser" />
|
||||
<meta property="og:description" content="Free 3D CAD app in your browser, for phone, tablet, computer and VR headset. Sketch, extrude, fillet and design parts for 3D printing. Export STL, STEP and 3MF. No account, no download." />
|
||||
<meta property="og:image" content="https://supergeometry.app/og-image.png" />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="630" />
|
||||
<meta property="og:image:alt" content="supergeometry.app - free 3D CAD in your browser" />
|
||||
<meta property="og:image:alt" content="superGeometry.app - free 3D CAD in your browser" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="supergeometry.app - Free 3D CAD and 3D modeling in your browser" />
|
||||
<meta name="twitter:title" content="superGeometry.app - Free 3D CAD and 3D modeling in your browser" />
|
||||
<meta name="twitter:description" content="Free 3D CAD app in your browser, for phone, tablet, computer and VR headset. Sketch, extrude, fillet and design parts for 3D printing. Export STL, STEP and 3MF. No account, no download." />
|
||||
<meta name="twitter:image" content="https://supergeometry.app/og-image.png" />
|
||||
<!-- What it is, for search engines: a free design app that runs in the browser. -->
|
||||
@@ -36,7 +36,7 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebApplication",
|
||||
"name": "supergeometry.app",
|
||||
"name": "superGeometry.app",
|
||||
"url": "https://supergeometry.app/",
|
||||
"description": "Free 3D CAD app in your browser, for phone, tablet, computer and VR headset. Sketch, extrude, fillet and design parts for 3D printing. Export STL, STEP and 3MF. No account, no download.",
|
||||
"applicationCategory": "DesignApplication",
|
||||
@@ -55,15 +55,15 @@
|
||||
<link rel="manifest" href="./manifest.webmanifest" />
|
||||
<link rel="icon" href="./icon.svg" type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
|
||||
<title>supergeometry.app - Free 3D CAD and 3D modeling in your browser</title>
|
||||
<title>superGeometry.app - Free 3D CAD and 3D modeling in your browser</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- What the app is, as text (the app itself is a 3D canvas and buttons):
|
||||
for search engines and screen readers. Not shown on screen. -->
|
||||
<main class="sr-only" aria-label="About supergeometry.app">
|
||||
<h1>supergeometry.app - free 3D CAD in your browser</h1>
|
||||
<main class="sr-only" aria-label="About superGeometry.app">
|
||||
<h1>superGeometry.app - free 3D CAD in your browser</h1>
|
||||
<p>
|
||||
supergeometry.app is a free 3D design (CAD) and 3D modeling app that runs in your web browser, on a computer
|
||||
superGeometry.app is a free 3D design (CAD) and 3D modeling app that runs in your web browser, on a computer
|
||||
(Windows, Mac, Linux, Chromebook), an iPad or Android tablet, a phone, or a VR headset like the Meta Quest 3.
|
||||
No account, no download, no subscription. Your work stays on your device.
|
||||
</p>
|
||||
@@ -88,7 +88,7 @@
|
||||
<div id="pins"></div>
|
||||
|
||||
<header id="topbar">
|
||||
<div class="brand"><img class="brand-icon" src="icon.svg" alt="supergeometry.app" width="30" height="30" /><span class="brand-name">supergeometry<span class="brand-tld">.app</span></span></div>
|
||||
<div class="brand"><img class="brand-icon" src="icon.svg" alt="superGeometry.app" width="30" height="30" /><span class="brand-name">superGeometry<span class="brand-tld">.app</span></span></div>
|
||||
<span id="project-name" class="project-name" role="textbox" tabindex="0" spellcheck="false" title="Project name - click to rename" aria-label="Project name"></span>
|
||||
<div class="menu-wrap">
|
||||
<button id="file-btn" class="text-btn">File</button>
|
||||
@@ -119,7 +119,7 @@
|
||||
<button id="m-tutorial">Tutorial <span class="menu-soon">soon</span></button>
|
||||
<button id="m-update">Update</button>
|
||||
<button id="m-feedback">Feedback <span class="menu-soon">Bug / Idea</span></button>
|
||||
<button id="m-about">About supergeometry.app</button>
|
||||
<button id="m-about">About superGeometry.app</button>
|
||||
<button id="m-donate">Support <span class="menu-soon" id="m-donate-arrow">▸</span></button>
|
||||
<div id="m-donate-list" class="menu-sub" hidden>
|
||||
<button id="m-support-makerworld">MakerWorld - Boost <span class="menu-soon">↗</span></button>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "supergeometry.app",
|
||||
"short_name": "supergeometry",
|
||||
"name": "superGeometry.app",
|
||||
"short_name": "superGeometry",
|
||||
"description": "Free 3D CAD and 3D modeling in your browser, for phone, tablet, computer and VR.",
|
||||
"start_url": "./",
|
||||
"display": "standalone",
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 87 KiB |
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Is the push live? Compares the commit supergeometry.app was built from
|
||||
// Is the push live? Compares the commit superGeometry.app was built from
|
||||
// (its /version.json) with main here.
|
||||
//
|
||||
// npx tsx scripts/live.ts once
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
"""supergeometry.app logo: a faceted red cape blowing in the wind, a yellow clasp, and a yellow
|
||||
"""superGeometry.app logo: a faceted red cape blowing in the wind, a yellow clasp, and a yellow
|
||||
hexagon with a blue G printed on the cloth (it folds and shades with the facets).
|
||||
|
||||
Run: python scripts/logo.py (writes public/icon.svg; then node scripts/icons.mjs for the PNGs)"""
|
||||
|
||||
+3
-3
@@ -165,7 +165,7 @@ export class App implements AppContext {
|
||||
checkVR();
|
||||
(navigator as Navigator & { xr?: EventTarget }).xr?.addEventListener("devicechange", checkVR);
|
||||
vrBtn.addEventListener("click", async () => {
|
||||
if (!(await vrSupported(handheld))) return this.ui.toast(handheld ? "This browser can't show AR - try Chrome" : "This browser can't open VR here - open supergeometry.app in the headset's own browser (not an installed app window)");
|
||||
if (!(await vrSupported(handheld))) return this.ui.toast(handheld ? "This browser can't show AR - try Chrome" : "This browser can't open VR here - open superGeometry.app in the headset's own browser (not an installed app window)");
|
||||
vr.enter().catch((e: unknown) => this.ui.toast(`${handheld ? "AR" : "VR"} didn't start: ${e instanceof Error ? e.message : e}`));
|
||||
});
|
||||
this.pinLayer = new PinLayer(this.view);
|
||||
@@ -1352,7 +1352,7 @@ export class App implements AppContext {
|
||||
if (root.requestFullscreen) void root.requestFullscreen().catch(() => this.ui.toast("This browser won't go fullscreen here"));
|
||||
else if (root.webkitRequestFullscreen) root.webkitRequestFullscreen();
|
||||
// iPhone Safari has no fullscreen for pages: the Home Screen app is.
|
||||
else this.ui.toast("Tip: Share → Add to Home Screen opens supergeometry.app full screen");
|
||||
else this.ui.toast("Tip: Share → Add to Home Screen opens superGeometry.app full screen");
|
||||
};
|
||||
moreItem("m-fullscreen", () => {
|
||||
if (isFull()) return void (document.exitFullscreen?.() ?? doc.webkitExitFullscreen?.());
|
||||
@@ -1477,7 +1477,7 @@ export class App implements AppContext {
|
||||
const show = () => {
|
||||
if (document.activeElement !== name) name.textContent = this.store.doc.name;
|
||||
// A new, unnamed project keeps the page's own title (what search results show).
|
||||
document.title = this.store.doc.name === "Untitled" ? PAGE_TITLE : `${this.store.doc.name} – supergeometry.app`;
|
||||
document.title = this.store.doc.name === "Untitled" ? PAGE_TITLE : `${this.store.doc.name} – superGeometry.app`;
|
||||
};
|
||||
const rename = () => {
|
||||
const v = typed();
|
||||
|
||||
+1
-1
@@ -406,7 +406,7 @@ export function parseProject(text: string): ProjectDoc {
|
||||
export function migrate(raw: unknown): ProjectDoc {
|
||||
const doc = raw as ProjectDoc & { version: number };
|
||||
// "tessel" is the format name of files saved before the rename.
|
||||
if (!doc || (doc.format !== "super" && (doc.format as string) !== "tessel") || !Array.isArray(doc.features)) throw new Error("Not a supergeometry.app project file");
|
||||
if (!doc || (doc.format !== "super" && (doc.format as string) !== "tessel") || !Array.isArray(doc.features)) throw new Error("Not a superGeometry.app project file");
|
||||
if (doc.version === 2) return { ...emptyDoc(), ...doc, format: "super" };
|
||||
// A newer app saved it: read as an old one, it would come out mangled.
|
||||
if (doc.version > 2) throw new Error("This project was saved by a newer version of the app - reload the page to update");
|
||||
|
||||
+1
-1
@@ -194,7 +194,7 @@ export function glb(bodies: GlbBody[], title: string): Uint8Array {
|
||||
nodes.push({ name: b.name, mesh: i });
|
||||
});
|
||||
const json = {
|
||||
asset: { version: "2.0", generator: "supergeometry.app" },
|
||||
asset: { version: "2.0", generator: "superGeometry.app" },
|
||||
scene: 0,
|
||||
scenes: [{ name: title, nodes: [0] }],
|
||||
nodes,
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ function modelXml(bodies: MeshBody[], title: string): string {
|
||||
out.push('<?xml version="1.0" encoding="UTF-8"?>');
|
||||
out.push('<model unit="millimeter" xml:lang="en-US" xmlns="http://schemas.microsoft.com/3dmanufacturing/core/2015/02">');
|
||||
out.push(`<metadata name="Title">${esc(title)}</metadata>`);
|
||||
out.push('<metadata name="Application">supergeometry.app</metadata>');
|
||||
out.push('<metadata name="Application">superGeometry.app</metadata>');
|
||||
out.push("<resources>");
|
||||
if (colors.length) {
|
||||
out.push('<basematerials id="1">');
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ export function showAbout(): void {
|
||||
const back = el("div", "dialog-back");
|
||||
const box = el("div", "dialog about");
|
||||
const head = el("div", "library-head");
|
||||
head.append(el("div", "panel-title", "About supergeometry.app"));
|
||||
head.append(el("div", "panel-title", "About superGeometry.app"));
|
||||
const closeBtn = el("button", "icon-btn library-close");
|
||||
closeBtn.type = "button";
|
||||
closeBtn.title = "Close";
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ export function deviceLine(): string {
|
||||
}
|
||||
|
||||
export function infoLine(): string {
|
||||
return `supergeometry.app ${__APP_VERSION__} · ${deviceLine()}`;
|
||||
return `superGeometry.app ${__APP_VERSION__} · ${deviceLine()}`;
|
||||
}
|
||||
|
||||
/** Reddit's "new text post" page for the subreddit, filled in. */
|
||||
|
||||
+2
-2
@@ -91,7 +91,7 @@ const SECTIONS: { title: string; intro?: string; items: Entry[] }[] = [
|
||||
{ icon: "numpad", name: "Numpad", text: "Tap to switch the on-screen numpad on or off: value boxes then open it instead of the keyboard. Typing replaces the value; ↵ applies it. ƒx adds + × / and your variables (tap one to type its name), and + New makes a variable from the value." },
|
||||
{ icon: "display", name: "Display", text: "Shaded, wireframe or X-ray; edges and hidden edges." },
|
||||
{ icon: "vr", name: "VR", text: "With a headset (its own browser, or a PC with one connected) the top bar shows Enter VR: your model stands in your room at real size, through the headset's cameras where it has them. Point the right hand at a table or the floor and pull the trigger to put it down there. Grip picks it up to move and turn it; both grips pulled apart or together size it (it stops at real size on the way). The scale over your left hand shows how big it is: 1:1 is real size, 2:1 twice as big, 1:2 half. A: real size or hand size. B: back in front of you. Y: X-Ray. Right stick: turn it, or size it. Left stick: raise or lower it. Hold X for the wheel (Real size, Hand size, Bring here, X-Ray, Edges, Exit): tilt the stick to a button and let go. On a phone or tablet the button says Enter AR (Chrome on Android): point it at the floor or a table and tap to put the model there, tap again to move it, pinch to size it and twist to turn it; Exit AR at the top. It's a viewer: edit on the screen." },
|
||||
{ icon: "camera", name: "Screenshot", text: "Snapshot on the Settings wheel: save a picture of the view, marked faintly at the bottom right with the project's name, the isolated bodies (when isolating) and supergeometry.app." },
|
||||
{ icon: "camera", name: "Screenshot", text: "Snapshot on the Settings wheel: save a picture of the view, marked faintly at the bottom right with the project's name, the isolated bodies (when isolating) and superGeometry.app." },
|
||||
{ icon: "history", name: "History", text: "History in the top bar: every step in order. Tap one to change it, hover to see what it works on, the eye switches it off, the bin deletes it (two taps, as in Items and the projects: the first turns it red). Select several (Ctrl/Shift+click) to group them: fold, rename, switch all off or on, ungroup. Ticked steps in a group: Ungroup (beside Group) takes just them out, in their own place in the timeline (a group they were in the middle of splits around them); a group's tick box ticks all its steps." },
|
||||
],
|
||||
},
|
||||
@@ -113,7 +113,7 @@ export class HelpPanel {
|
||||
constructor() {
|
||||
this.el.hidden = true;
|
||||
const head = el("div", "help-head");
|
||||
head.append(el("h2", "", "How supergeometry.app works"));
|
||||
head.append(el("h2", "", "How superGeometry.app works"));
|
||||
const close = el("button", "icon-btn help-close");
|
||||
close.innerHTML = icons.close;
|
||||
close.title = "Close help";
|
||||
|
||||
+3
-3
@@ -71,7 +71,7 @@ export class Install {
|
||||
|
||||
/** The notice: Install / Not now (or, on iOS, how to do it). */
|
||||
offer(fromMenu = false): void {
|
||||
if (isInstalled()) return void (fromMenu && this.toast("supergeometry.app is already installed on this device"));
|
||||
if (isInstalled()) return void (fromMenu && this.toast("superGeometry.app is already installed on this device"));
|
||||
this.banner.innerHTML = "";
|
||||
const ios = isIOS() && !this.deferred;
|
||||
if (!ios && !this.deferred) {
|
||||
@@ -83,8 +83,8 @@ export class Install {
|
||||
"span",
|
||||
"",
|
||||
ios
|
||||
? "Add supergeometry.app to your Home Screen: tap Share (the square with the arrow), then “Add to Home Screen”."
|
||||
: "Install supergeometry.app on this device? It opens like an app, full screen.",
|
||||
? "Add superGeometry.app to your Home Screen: tap Share (the square with the arrow), then “Add to Home Screen”."
|
||||
: "Install superGeometry.app on this device? It opens like an app, full screen.",
|
||||
);
|
||||
const yes = el("button", "text-btn primary", ios ? "Got it" : "Install");
|
||||
yes.addEventListener("click", () => void this.accept(ios));
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ export function showLibrary(entries: LibraryEntry[], currentId: string | null, a
|
||||
const box = el("div", "dialog library");
|
||||
if (opts.welcome) box.classList.add("welcome");
|
||||
const head = el("div", "library-head");
|
||||
head.append(el("div", "panel-title", opts.welcome ? "Welcome to supergeometry.app" : "Projects"));
|
||||
head.append(el("div", "panel-title", opts.welcome ? "Welcome to superGeometry.app" : "Projects"));
|
||||
// No projects yet: New project is the way in.
|
||||
const newBtn = el("button", entries.length ? "text-btn" : "text-btn primary", "New project");
|
||||
newBtn.type = "button";
|
||||
|
||||
@@ -1600,7 +1600,7 @@ export class Viewport {
|
||||
/**
|
||||
* The view as a PNG, with see-through marks at the bottom right: the
|
||||
* project's name, the isolated bodies' names (when isolating), and the
|
||||
* supergeometry.app logo and name.
|
||||
* superGeometry.app logo and name.
|
||||
*/
|
||||
async screenshot(label?: { project: string; isolated?: string[] }): Promise<Blob | null> {
|
||||
const logo = await watermarkLogo();
|
||||
@@ -1620,15 +1620,15 @@ export class Viewport {
|
||||
const right = out.width - pad;
|
||||
g.globalAlpha = 0.45;
|
||||
g.textBaseline = "middle";
|
||||
// Bottom line: logo, "supergeometry" and ".app", ending at the right edge.
|
||||
// Bottom line: logo, "superGeometry" and ".app", ending at the right edge.
|
||||
let y = out.height - pad - icon / 2;
|
||||
g.font = font(750, 20);
|
||||
const tld = g.measureText(".app").width;
|
||||
const name = g.measureText("supergeometry").width;
|
||||
const name = g.measureText("superGeometry").width;
|
||||
g.fillStyle = "#3d8bff";
|
||||
g.fillText(".app", right - tld, y);
|
||||
g.fillStyle = "#cfd6e4";
|
||||
g.fillText("supergeometry", right - tld - name, y);
|
||||
g.fillText("superGeometry", right - tld - name, y);
|
||||
if (logo) g.drawImage(logo, right - tld - name - 8 * px - icon, y - icon / 2, icon, icon);
|
||||
// Above it, right-aligned: the isolated bodies, then the project's name.
|
||||
g.textAlign = "right";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
rem Starts the supergeometry.app dev server and opens it in Chrome.
|
||||
title supergeometry.app dev server
|
||||
rem Starts the superGeometry.app dev server and opens it in Chrome.
|
||||
title superGeometry.app dev server
|
||||
cd /d "%~dp0"
|
||||
|
||||
rem Node may not be on PATH in older terminals right after installing it.
|
||||
@@ -22,7 +22,7 @@ if not exist node_modules (
|
||||
rem Open Chrome in the background as soon as the server answers.
|
||||
start "" /b powershell -NoProfile -WindowStyle Hidden -Command "for ($i=0; $i -lt 60; $i++) { try { Invoke-WebRequest http://localhost:5173 -UseBasicParsing -TimeoutSec 2 | Out-Null; break } catch { Start-Sleep 1 } }; try { Start-Process chrome 'http://localhost:5173' } catch { Start-Process 'http://localhost:5173' }"
|
||||
|
||||
echo Starting supergeometry.app at http://localhost:5173 (close this window or press Ctrl+C to stop)
|
||||
echo Starting superGeometry.app at http://localhost:5173 (close this window or press Ctrl+C to stop)
|
||||
call npm run dev -- --port 5173 --strictPort
|
||||
pause
|
||||
exit /b
|
||||
|
||||
Reference in New Issue
Block a user