[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110816":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},110816,"editor","BenchUp3D\u002Feditor","BenchUp3D","Free, open-source 3D woodworking and modeling software and SketchUp alternative. Built with Rust, WebAssembly and WebGPU. Runs in your browser or on desktop. 100% vibe-coded with great emphase on stability, rendering speed and UI\u002FUX.","https:\u002F\u002Fbenchup3d.github.io\u002Feditor\u002F",null,"Rust",988,64,4,18,0,89,452,79.44,"MIT License",false,"main",true,[25,26,27,28,29,30,31,32,33,34,35,36],"3d-modeling","cad","furniture-design","open-source","rust","sketchup","sketchup-alternative","woodwork","woodworking","woodworking-cad","woodworking-software","woodworking-tools","2026-11-24 04:01:29","# BenchUp\n\n![BenchUp editor screenshot](assets\u002Fscreenshots\u002Fbenchup.jpg \"BenchUp v0.6.8 desktop workspace\")\n\n[![Try BenchUp in your browser](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTry_BenchUp_in_your_browser-d63b32?style=for-the-badge)](https:\u002F\u002Fbenchup3d.github.io\u002Feditor\u002Fplay\u002F)\n\n## Download for desktop\n\n[![Download for Windows x64](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows_x64-0078D4?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002FBenchUp3D\u002Feditor\u002Freleases\u002Flatest\u002Fdownload\u002Fio.github.BenchUp3D.BenchUp-win-x64-Setup.exe)\n[![Download for macOS Apple Silicon](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FmacOS_Apple_Silicon-6E40C9?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002FBenchUp3D\u002Feditor\u002Freleases\u002Flatest\u002Fdownload\u002Fio.github.BenchUp3D.BenchUp-osx-arm64-Setup.pkg)\n[![Download for Linux x64](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLinux_x64-E95420?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002FBenchUp3D\u002Feditor\u002Freleases\u002Flatest\u002Fdownload\u002Fio.github.BenchUp3D.BenchUp-linux-x64.AppImage)\n[![See all downloads](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAll_downloads-555555?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002FBenchUp3D\u002Feditor\u002Freleases\u002Flatest)\n\nA free, open-source 3D modeling app for woodworking and furniture design, written in Rust. Plan individual boards, wood joints, and complete assemblies with exact measurements before heading to the workshop. The same editor runs as a native Windows, macOS, or Linux application and in a desktop browser through WebAssembly.\n\nThe workspace includes Select, Line, Rectangle, Circle, Polygon, Freehand, Push\u002FPull, Scale, Offset, Move, Rotate, Paint, Tape Measure, Protractor, Dimensions, a Union flyout, Erase, and Orbit, automatic geometry snapping, filled planar faces, measured lines, full-enclosure box selection, groups and components, a right-click object menu, geometry clipboard, undo\u002Fredo, local autosave, and portable `.bup` project files, with support for legacy `.k3d` and `.ketchup` projects. It starts with an empty model. File → Import\u002FExport adds SketchUp `.skp` import and Wavefront `.obj` export. Mobile and cloud storage are outside this version.\n\n## Woodworking features\n\nModel shelves, tables, cabinets, workbenches, and other furniture with precisely sized parts. Use groups, reusable components, and tags to keep the assembly organized, then inspect dimensions and fit from any angle. Measure three points with Protractor to place a persistent angle dimension automatically. The arc and label are saved in the project and follow attached geometry.\n\n### Wood joinery\n\nCreate mortise-and-tenon, half-lap, tongue-and-groove, rabbet, dovetail, and finger joints between boards, including angled connections. Adjust joint dimensions and clearance with live previews, inspect machining diagnostics and cut guides, and trim excess material past a joint while keeping the original boards editable.\n\n![Finger joint between two selected boards, showing the interlocking geometry and grain-direction guides](assets\u002Fscreenshots\u002Fwood-joinery.png)\n\n### Wood grain orientation\n\nSet the grain direction on groups and components and show grain-direction guides directly on the model. Review how the grain runs across each board and through the full assembly before building. Grain orientation is saved with the project and follows the parts when they rotate.\n\n### Plan materials and workshop work\n\nAssign stock materials and wood types to parts, configure sanding and finishing products, and prepare cut lists, cutting plans, and workshop labels. Export cutting plans and time and cost estimates to PDF to take the design into the workshop.\n\n## Documentation\n\nThis README covers developer installation, building, verification, and deployment.\nFor instructions on using BenchUp, see the [user documentation](docs\u002FREADME.md).\n\n## Prerequisites\n\n- Rust 1.95 or newer, installed with rustup; the repository was checked with Rust 1.97.1.\n- A C\u002FC++17 compiler for the native SketchUp reader (GCC\u002FClang on Linux, Xcode Clang on macOS, or MSVC on Windows). Browser builds do not require it.\n- A GPU\u002Fdriver supported by wgpu. The browser prefers WebGPU and falls back to WebGL2.\n- On Linux, development libraries for X11\u002FWayland, xkbcommon, and libudev. For Debian\u002FUbuntu: `sudo apt install build-essential pkg-config libx11-dev libxcb1-dev libxkbcommon-dev libwayland-dev libegl1-mesa-dev libudev-dev`.\n- On Windows, the MSVC Rust toolchain and Visual Studio Build Tools with the **Desktop development with C++** workload and a Windows SDK. SpaceMouse support uses Windows system APIs; no separate HIDAPI or libusb installation is required.\n- On macOS, Xcode Command Line Tools (`xcode-select --install`), including Clang and the macOS SDK. SpaceMouse support uses the system IOKit, CoreFoundation, and AppKit frameworks; no Homebrew HIDAPI or libusb package is required.\n\nLinux desktop builds use libudev through the `hidapi` dependency to discover SpaceMouse devices. The `libudev-dev` package supplies the headers and `pkg-config` metadata needed to compile this support, even if no SpaceMouse is connected. If compilation fails with `Unable to find libudev` or `Package 'libudev' not found`, install `libudev-dev` and retry. Browser builds do not use `hidapi`. See the upstream [HIDAPI build prerequisites](https:\u002F\u002Fgithub.com\u002Flibusb\u002Fhidapi\u002Fblob\u002Fmaster\u002FBUILD.md#prerequisites).\n\n## Run on desktop\n\n```sh\ncargo run -p benchup-app\n```\n\nOn Linux, register the application launcher and icons once after compiling:\n\n```sh\npython3 scripts\u002Finstall_linux_desktop.py\n```\n\nThis installs into your user data directory (`$XDG_DATA_HOME`, or `~\u002F.local\u002Fshare`) without root access. GNOME on Wayland uses the application's ID and matching desktop entry to find its icon. Restart BenchUp after installing. The launcher points to `target\u002Fdebug\u002Fbenchup-app`, so later development compilations update the same executable. For a release installation, pass its path: `python3 scripts\u002Finstall_linux_desktop.py target\u002Frelease\u002Fbenchup-app`. Keep that executable in place, or rerun the installer with its new path if you move it.\n\n## Run in a browser\n\nInstall the browser target and Trunk once:\n\n```sh\nrustup target add wasm32-unknown-unknown\ncargo install --locked trunk\n```\n\nFrom the repository root:\n\n```sh\ntrunk serve\n```\n\nOpen \u003Chttp:\u002F\u002F127.0.0.1:8080>. Keep the app on the same origin\u002Fport to restore the same saved model. No Node.js, JavaScript application framework, or backend is required. Trunk generates the JavaScript needed to load the Rust WebAssembly program.\n\nDevelopment builds use light optimization for application code and stronger optimization for dependencies and the geometry core, on both desktop and WebAssembly. Debug symbols, debug assertions, and overflow checks remain enabled. These optimizations target the cost of menu hovering, scrolling, and rendering in debug mode. The profile takes effect on the next development compilation; changing it recompiles affected dependencies once.\n\n## Application messages\n\nThe English catalog is [assets\u002Fi18n\u002Fen.json](assets\u002Fi18n\u002Fen.json). Use\n`tr!(\"area.message\")` for a label and `tr!(\"area.message\", name = name)` for a\ntemplate with a named variable. Keep the key stable when editing the text.\nTemplates use Rust format syntax, including precision such as `{value:.2}`.\nFor a quantity, put both complete messages under `one` and `other` and pass\n`count = quantity` before the other arguments. English uses `one` for exactly\n1 and `other` for zero and all other quantities.\n\nRust embeds English at build time and the browser startup screen reads the\nsame catalog. Keep storage keys, shortcuts, file-format tokens and wire codes\nseparate from display messages. Release-note content lives in its own feed.\n\n## Compile for distribution\n\nDesktop, on the OS you want to target:\n\n```sh\ncargo build -p benchup-app --release --locked\n```\n\nThe executable is `target\u002Frelease\u002Fbenchup-app` (`benchup-app.exe` on Windows). These commands produce executables, not installers or signed application bundles. Native builds should run on the corresponding OS; this project does not configure cross-linkers or signing identities.\n\n### Automated release builds\n\n[Build releases](.github\u002Fworkflows\u002Fbuild.yml) runs when a `v*` tag is pushed\n(for example, `git push origin v0.1.0`). The tag must be a stable `vX.Y.Z`\nversion matching `[workspace.package].version` in `Cargo.toml`. It builds with\nstable Rust and the committed `Cargo.lock`, runs update regression tests, then\npackages the desktop app with Velopack and the browser app with Trunk:\n\n| Artifact | Platform | Install \u002F run |\n|---|---|---|\n| `benchup-windows-x64` | Windows x64 (MSVC) | `*-win-x64-Setup.exe` (per-user installer) |\n| `benchup-macos-arm64` | macOS Apple Silicon | `*-osx-arm64-Setup.pkg` or the portable `.app` zip |\n| `benchup-linux-x64` | Linux x64 (built on Ubuntu 22.04) | `*-linux-x64.AppImage` |\n| `benchup-wasm` | Desktop browsers (WebAssembly) | Extract `benchup-vX.Y.Z-wasm.zip` and serve it with a static web server |\n\nAfter all desktop and WebAssembly builds succeed, the workflow creates a GitHub Release for the\npushed tag with the prepared release notes, installers, portable packages, full\n`.nupkg` updates, one `releases.\u003Cplatform>.json` feed per OS\u002Farchitecture, the browser app ZIP, and\n`SHA256SUMS`. It validates the packages against their feed hashes and publishes\nonly after every platform succeeds and all assets have uploaded. Reruns can\nreplace assets on an unfinished draft; a published version cannot be overwritten.\nTo ship another update, first add its user-facing notes to\n`assets\u002Frelease-notes.json` (newest version first, keeping previous releases),\nthen bump the workspace version and lockfile. Validate and preview the notes:\n\n```sh\npython3 scripts\u002Fdesktop_release.py version --tag vX.Y.Z\npython3 scripts\u002Fdesktop_release.py notes --tag vX.Y.Z\n```\n\nRefresh the README screenshot by launching an existing desktop executable as\ndescribed below. Deploy requests do not run local builds or tests; GitHub Actions\nperforms the desktop and browser builds, tests, and packaging. Commit and push\nthe release changes and notes before creating and pushing the matching tag.\nRelease validation rejects missing or mismatched notes. The same\ncatalog supplies the GitHub Release description and **Help → Release notes**\nin the app. Publishing uses GitHub's automatic token. Signing needs the credentials below.\n\n### Release signing\n\nWithout signing secrets, CI produces **unsigned packages for development**.\nBefore public distribution, configure signing and set the repository Actions\nvariable `BENCHUP_REQUIRE_SIGNING=true`. This makes packaging fail if Windows or\nmacOS signing is missing. Checksums detect damaged downloads; they do not\nreplace publisher signatures. Release access and signing credentials should be\nrestricted to maintainers. Velopack's [signing guide](https:\u002F\u002Fdocs.velopack.io\u002Fpackaging\u002Fsigning)\ndescribes certificate\u002Faccount setup.\n\nFor Windows, configure these repository Actions secrets:\n\n| Secret | Value |\n|---|---|\n| `AZURE_CREDENTIALS` | Azure service-principal credentials JSON for `azure\u002Flogin`, with permission to sign using the chosen profile |\n| `WINDOWS_AZURE_SIGNING` | JSON with `Endpoint`, `CodeSigningAccountName`, and `CertificateProfileName` for Azure Artifact Signing |\n\nThe workflow logs into Azure and passes a temporary configuration file to\nVelopack's Windows signing integration. The account needs the **Artifact Signing\nCertificate Profile Signer** role. Windows SDK signing tools are supplied by\nthe Windows build runner.\n\nFor macOS, export the Developer ID Application and Developer ID Installer\ncertificates **with their private keys** together into a password-protected\n`.p12`, then configure:\n\n| Secret | Value |\n|---|---|\n| `MACOS_CERTIFICATES_P12` | Base64 of the `.p12`, on one line |\n| `MACOS_CERTIFICATE_PASSWORD` | Password protecting the `.p12` |\n| `MACOS_SIGN_APP_IDENTITY` | Exact Developer ID Application signing identity |\n| `MACOS_SIGN_INSTALL_IDENTITY` | Exact Developer ID Installer signing identity |\n| `APPLE_ID` | Apple developer account email |\n| `APPLE_TEAM_ID` | Apple developer team ID |\n| `APPLE_APP_PASSWORD` | App-specific password for notarization |\n\nCI imports the certificates into a temporary keychain, stores a notarytool\nprofile, and asks Velopack to sign and notarize the app and installer. It removes\nthe `.p12` after importing and deletes the keychain even if packaging fails.\nPartially configured signing fails instead of silently producing unsigned files.\n\nThe Rust dependency, `VPK_VERSION` in the workflow, and the version in\n`scripts\u002Fdesktop_release.py` are pinned together at `1.2.161`. Update them\ntogether. Only the packaging machine needs .NET 8 for the `vpk` CLI; the Rust\napp does not require users to install .NET.\n\nBefore shipping publicly, install one packaged version on each supported OS,\nmake a test project, publish a newer version, and verify automatic download,\nrestart, restored work\u002Ffile association, the opt-out preference, and failure\nrecovery. Native update tests run in tag CI; package installation and OS trust\ndialogs still need this platform smoke test.\n\n### Browser distribution\n\nTagged GitHub Releases include `benchup-vX.Y.Z-wasm.zip`, containing the browser\nentry point, JavaScript loader, WebAssembly module, branding, translations, and\nlicense files. Extract the ZIP into a static web server's document directory;\nopen its URL rather than opening `index.html` directly from disk. The archive\nis also available as the `benchup-wasm` workflow artifact and is covered by the\nrelease's `SHA256SUMS`.\n\nTo compile the browser distribution yourself:\n\n```sh\ntrunk build --release --locked\n```\n\nServe the resulting `dist\u002F` directory with a static web server. Use HTTPS for WebGPU (localhost is also supported). `public_url = \".\u002F\"` allows serving from a subdirectory. There is no service worker or external asset dependency.\n\n### GitHub Pages website\n\nThe presentation page lives in [`site\u002F`](site\u002Findex.html). The\n[Deploy GitHub Pages](.github\u002Fworkflows\u002Fpages.yml) workflow downloads the\n`benchup-wasm` artifact from the successful release run and extracts it into\n`dist\u002Fsite\u002Fplay\u002F`. Each tagged release compiles the browser app once; GitHub\nReleases and Pages use the same bundle. Manual Pages runs build the browser app\nfrom the selected ref instead. The workflow adds the landing page and existing\nbranding and screenshot assets to `dist\u002Fsite\u002F`, and deploys them together. The\nmain browser entry point (`index.html`) and `trunk serve` continue to open the\neditor directly.\n\nTo enable publishing for `BenchUp3D\u002Feditor`:\n\n1. In the repository, open **Settings → Pages → Build and deployment** and set\n   **Source** to **GitHub Actions**. See the\n   [GitHub Pages setup guide](https:\u002F\u002Fdocs.github.com\u002Fen\u002Fpages\u002Fgetting-started-with-github-pages\u002Fconfiguring-a-publishing-source-for-your-github-pages-site#publishing-with-a-custom-github-actions-workflow).\n2. Push a `v*` tag (for example, `git push origin v0.1.0`), or run\n   **Deploy GitHub Pages** from the Actions tab with `main` selected. Version\n   tag pushes start the release workflow. Pages packages and deploys the\n   same commit only after that workflow succeeds, including publishing the\n   desktop and WebAssembly release. The updated Pages workflow must be on the default branch\n   for this automatic trigger to work. Ordinary branch pushes do not trigger\n   either workflow.\n3. After the deployment succeeds, the landing page is at\n   \u003Chttps:\u002F\u002Fbenchup3d.github.io\u002Feditor\u002F> and its **Try in browser** links open\n   \u003Chttps:\u002F\u002Fbenchup3d.github.io\u002Feditor\u002Fplay\u002F>. The workflow's environment link shows\n   the actual URL if a custom domain is configured.\n\nAll local page and editor asset links are relative, so the same package supports\nthe repository path or a custom domain. GitHub Pages supplies HTTPS. The editor\nuses browser-local autosave; visitors should download `.bup` projects they\nwant to keep. GitHub Pages is not cloud model storage.\n\nThe landing page includes a canonical URL, Open Graph image metadata, and a\nlarge-image Twitter\u002FX card using the editor screenshot. During deployment,\nthe workflow sets these absolute URLs from the GitHub Pages configuration,\nincluding a configured custom domain. Social previews require the deployed\npublic HTTPS page and image; the local preview URL cannot be fetched by social\nnetworks.\n\n## Development and verification\n\nRefresh the README screenshot from an existing desktop executable:\n\n```sh\npython3 -B scripts\u002Fcapture_readme_desktop.py\n```\n\nOn Linux, this requires X11 or XWayland, ImageMagick's `import` command, and\nPython Pillow. The script selects the newest existing executable from the native\nrelease and debug output directories; `--binary \u002Fpath\u002Fto\u002Fbenchup-app` selects one\nexplicitly. It launches the desktop app in an isolated temporary profile, loads\n[`assets\u002Fexamples\u002FExample.bup`](assets\u002Fexamples\u002FExample.bup) with its saved\ncamera and display settings, dismisses open dialogs and popups, captures the\nsettled window at 1920 × 1080, and updates `assets\u002Fscreenshots\u002Fbenchup.jpg` and its\nREADME link. Visually verify that no modal remains open before using the image.\nIt never compiles the app, runs tests, or starts benchmarks. The screenshot\nreflects the existing executable; a missing executable is reported without\nbuilding one.\n\n```sh\ncargo check --workspace --locked\ncargo check --workspace --target wasm32-unknown-unknown --locked\ncargo test --workspace --locked\n```\n\nThe vendored SketchUp reader, adapter, and browser shortcut handling can also be tested without compiling the application:\n\n```sh\nnode --test scripts\u002Ftest_skp_import.cjs\nnode --test scripts\u002Ftest_web_shortcuts.cjs\n```\n\nAn optional offscreen GPU test renders the actual UI and custom viewport to PNGs without opening a window:\n\n```sh\ncargo test -p benchup-app gpu_renders_empty_and_modeled_workspace --locked -- --ignored --nocapture\n```\n\nSnapshots appear in `target\u002Fqa\u002F`. This test requires a working native GPU adapter. Normal tests cover document validation, geometry, inference, camera math, selection, undo\u002Fredo, and synthetic keyboard\u002Fpointer interactions through egui.\n\nMeasure actual viewport frame intervals in the running Web app without starting a build:\n\n```sh\nnode scripts\u002Fbenchmark_viewport_web.mjs --headed --project \u002Fpath\u002Fto\u002FProject.bup --seconds 25 --min-fps 45 --output \u002Ftmp\u002Fbenchup-viewport.json\n```\n\nThe benchmark uses an isolated browser profile, preserves the complete project,\nwarms up for five seconds, and records FPS, frame timings, the hardware adapter,\ngeometry buffer rebuilds, screenshots, and the project hash. It rejects software\nadapters, blank screenshots, GPU validation errors, and missing measurements.\nUse `--mode select` to alternate selection while picking across the scene, or\n`--mode groups` to repeatedly enter\u002Fleave nested groups. `--mode draw-line`\nand `--mode draw-rectangle` drive real pointer\u002Fkeyboard events with snapping,\npreview, geometry creation and autosave enabled; their FPS includes the commit\nstall and counts actual GPU frame submissions. Reports include commit latency\nand the number of created edges. `--mode measure-tape` measures live tape\nsnapping with a saved guide present and checks that another guide is saved.\n`--mode walk` places a person on a real floor, walks with WASD and turns the\ncamera. `--after-walk` checks an editor tool after exiting Walk and restoring its\ncamera. The reports count Walk bridge mutations so repeated browser capture\nupdates cannot silently return. `--require-pointer-lock` additionally requires\nbrowser mouse capture; without it, a reported browser refusal uses ordinary\nmouse look. Each run pins its loaded artifact against development-server reloads.\n`--validate-snapping` compares indexed and exhaustive inference on the actual\nproject, including axis\u002Fplane locks, editing scopes and both projections.\n`--validate-state`\nchecks immediate selection\u002Fcontext restoration after reload and isolation from\nanother project; `--validate-shader` checks edge occlusion on the GPU.\nPass `--legacy` to compare\nthe CPU projection path on the same scene, or `--profile` for a separate CPU\nprofile (profiling adds overhead). The default server is `http:\u002F\u002F127.0.0.1:8080\u002F`;\nuse `--url` or `--browser` to override the server or Chromium executable.\nLarge opaque perspective scenes retain their face and edge geometry on the GPU;\nother display modes continue to use the precision renderer. Selection, hover,\nand editing scope update a small GPU state texture without rebuilding geometry.\nExact inspector measurements run in a background worker. Selection and editing\nscope persist immediately in a small record tied to the current autosave,\navoiding a complete document rewrite for each click.\n\nRun the repeatable CPU interaction benchmarks explicitly (10\u002F100-face drawing,\n10\u002F100-object Move, a 4,096-face imported model, axes on\u002Foff with 512 groups,\nand 256\u002F1,024 shadow casters over a large receiving face):\n\n```sh\ncargo test -p benchup-app --locked --config 'profile.test.package.benchup-app.opt-level=2' --config 'profile.test.package.benchup-core.opt-level=2' workload_benchmark -- --ignored --nocapture --test-threads=1\n```\n\nThese settings optimize application geometry and rendering code while retaining\nthe existing test dependencies. Timings exclude model construction and GPU\npresentation; compare runs on the same machine without other CPU-heavy work.\nThe shadow workload reports regeneration after sun changes and CPU mesh\u002Fedge\nrendering separately.\nThe normal suite also exercises all 22 tools through interrupted gestures,\nfocus loss, resizing, and document reload, plus display styles and effects.\n\nFor a sequential feature audit, including the normally ignored GPU comparisons\nand per-tool CPU workloads, run:\n\n```sh\npython3 scripts\u002Frun_feature_audit.py\n```\n\nThis uses an isolated temporary autosave directory and writes the feature\nchecklist, individual test results, GPU comparisons, timings, command logs, and\nremaining platform checks to `target\u002Fqa\u002Ffeature-audit\u002Freport.txt` and\n`report.json`. Every display field has an independent before\u002Fafter GPU case;\nnormal interaction tests click the individual toggles, face-style choices,\ncolor pickers, paint swatches, and project confirmation buttons.\n\nVerified during implementation: native Linux and browser WASM Cargo checks; core and UI interaction tests; offscreen Vulkan rendering of empty, modeled, and compact workspaces. Windows\u002FmacOS execution, browser startup, and runtime WebGPU\u002FWebGL2 fallback still require platform smoke testing. Production builds and hosted deployment were not run.\n\n## Layout\n\n- `crates\u002Fbenchup-core`: double-precision document geometry, planar face discovery\u002Ftriangulation, inference, picking, camera, tool definitions, and bounded history. It has no GUI or GPU dependencies.\n- `crates\u002Fbenchup-app`: egui workspace, gesture routing, local persistence, native\u002Fbrowser launchers, and the wgpu\u002FWGSL edge renderer. Model coordinates remain independent of GPU resources.\n- `index.html` and `Trunk.toml`: static browser host and WASM development configuration.\n\nThe viewport uses depth-tested filled triangles and antialiased triangle strips for consistent edge widths, CPU projection\u002Fclipping, and the same shader and editor behavior on every target. Rendering is event-driven rather than a continuous idle loop.\n\n### Account server\n\nGoogle login and account sessions are provided by the separate Ketchup Server\nrepository at `\u002Fhome\u002Fdcoulombe\u002Fdev\u002Fketchup-server`. See its `README.md` for OAuth\nconfiguration and startup instructions.\n\nThe account server is deployment configuration, with no address field in the app.\nLaunch the desktop app with `benchup-app --server-url https:\u002F\u002Faccounts.example.com`\nor `cargo run -p benchup-app -- --server-url http:\u002F\u002Flocalhost:8081`.\nBoth `--server-url URL` and `--server-url=URL` are supported.\n\nAlternatively, copy `.env.example` to `.env` in the workspace root and set\n`BENCHUP_SERVER_URL`. The example uses port 8080 for the local Web client through\nTrunk; for native-only development, use port 8081. Builds embed this value for desktop and Web; changing `.env`\ncauses Cargo to refresh it on the next build. You can also supply it directly:\n\n```sh\nBENCHUP_SERVER_URL=https:\u002F\u002Faccounts.example.com cargo build -p benchup-app\nBENCHUP_SERVER_URL=https:\u002F\u002Faccounts.example.com trunk build --release\n```\n\nDesktop precedence is launch argument, runtime `BENCHUP_SERVER_URL`, `.env` in the\ncurrent working directory, then the compiled value. Web uses the compiled value.\nThere is no implicit server address; without configuration the modeling app runs\nwith the account avatar, its separator, and the login dialog hidden. Saved user preferences\ncannot override the server address.\n\nFor local desktop development, use `http:\u002F\u002Flocalhost:8081`. For the local Web\nclient, compile with `BENCHUP_SERVER_URL=http:\u002F\u002Flocalhost:8080` to use the\n`Trunk.toml` account proxies to the server on port 8081. These proxies use\n`no_redirect = true` so Google login redirects reach the browser. Restart\n`trunk serve` after changing proxy configuration. Other browser deployments\nneed a same-origin reverse proxy or the server's explicitly configured CORS and\ncompatible cookie policies. Use HTTPS outside localhost.\n\n`.env` supports `BENCHUP_SERVER_URL=value`, single\u002Fdouble quoted values, optional\n`export`, and trailing comments. It is ignored by Git; do not put secrets in the\nURL because Web builds expose it to the browser.\n\nDesktop update feeds follow the repository that built the application. GitHub\nActions embeds `github.repository`, so fork releases update from that fork's\nGitHub Releases. Local builds use the GitHub `origin` remote; source archives\nwithout Git metadata default to `BenchUp3D\u002Feditor`. Set `BENCHUP_UPDATE_REPOSITORY`\nto `owner\u002Frepository` at build time to select an explicit feed. The fork must\npublish its own compatible installer and update assets through the release\nworkflow. Already installed upstream binaries retain their original update feed.\n\nForks use their own GitHub repository for website source, documentation, license,\nand release links. Pages resolves these links from `GITHUB_REPOSITORY` during\nstaging. Enable Actions in a fork and run **Synchronize repository links** once\n(or push a README change) to update the README links; later README changes on\nthe default branch synchronize automatically. Set the repository variable\n`PAGES_BASE_URL` when using a custom Pages domain. The fork must enable Pages\nand publish its own releases before its browser and download links are available.\n\n\n### BenchUp identity migration\n\nThe application, desktop package, and bundle ID are now `BenchUp` \u002F\n`io.github.BenchUp3D.BenchUp`; the executable is `benchup-app` and new\nprojects use `.bup`. Existing `.k3d` and `.ketchup` projects remain readable.\nDesktop workspaces, update preferences, restart metadata, and inspector settings\nare copied from the old KetchUp locations on first launch without deleting the\noriginal data. Browser storage migrates on the same origin; a change of hostname\nrequires exporting projects before moving because browsers isolate local storage.\nThe old `KETCHUP_DATA_DIR`, `KETCHUP_SERVER_URL`, and\n`KETCHUP_UPDATE_REPOSITORY` variables remain accepted as compatibility aliases;\nthe `BENCHUP_*` equivalents take precedence.\n\nThe official migration is a transfer\u002Frename of the **original** repository from\n`Ketchup3D\u002Fapp` to `BenchUp3D\u002Feditor`. Transfer and rename may happen in either\norder. Existing 0.6.5 applications retain the original GitHub URL in their binary;\nGitHub's repository redirects let those applications reach the new releases and\ndownload their assets. Do not create a new repository or fork at `Ketchup3D\u002Fapp`:\n[GitHub removes the transfer redirects when the old location is reused](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frepositories\u002Fcreating-and-managing-repositories\u002Ftransferring-a-repository).\nThe organization\u002Frepository transfer itself remains a GitHub administration step.\n\nBefore an official release builds, CI runs:\n\n```sh\npython3 -B scripts\u002Fverify_update_transfer.py --repository BenchUp3D\u002Feditor\n```\n\nThis uses public, unauthenticated GitHub API requests, like the installed updater.\nIt requires the old and new repository URLs to return the same numeric repository\nID and the same releases. A missing redirect, an incorrect transfer, or a recreated\nold repository blocks the release before publication. Forks skip this official\ntransfer requirement and continue using their own release source.\n\nThe first BenchUp release must be newer than 0.6.5 (for example 0.6.6). Packaging\nexplicitly uses `--delta None`; publication validation rejects delta feeds so old\nclients receive a complete replacement with the new app ID and executable. Keep\nthe existing `win-x64`, `osx-arm64`, and `linux-x64` channels. New official builds\nnormalize both intermediate repository names to `BenchUp3D\u002Feditor`.\n\nThe pinned Velopack 1.2.161 client is exercised in CI with an old 0.6.5 manifest,\nHTTP transfer\u002Frename redirects, synthetic full packages and real checksums on all\nthree channels. It checks discovery, download validation, pending-update discovery,\nand the new executable metadata. The test intentionally does not use BenchUp's\nnew update-preparation code, which is absent from the already-installed clients.\nAn actual installed-app replacement\u002Frestart with signed release packages remains\na separate OS-level verification; the fixture test does not execute an installer.\n","BenchUp3D 是一款面向木工与家具设计的免费开源三维建模软件，可作为 SketchUp 的轻量替代方案。核心功能包括精确板材建模、多种传统木工接合（如榫卯、指接、燕尾榫等）的参数化生成与实时预览、木纹方向设定、尺寸标注与测量工具，并支持 SKP 导入和 OBJ 导出。基于 Rust 编写，通过 WebAssembly 和 WebGPU 实现跨平台运行（浏览器或桌面原生应用），强调稳定性、渲染性能与直观操作体验。适用于木工爱好者、家具设计师及小型作坊在制作前进行结构验证与工艺规划。",2,"2026-11-18 04:40:20","CREATED_QUERY"]