From 7d44359cf6d8271f9e90295f40a789ca5b11232d Mon Sep 17 00:00:00 2001 From: Steven Huff <62350898+shuff57@users.noreply.github.com> Date: Sat, 17 Oct 2026 03:22:52 -0700 Subject: [PATCH] Web: show the SolidCraft mark being cut from a cube while loading (#1908) Thanks @shuff57. --- ATTRIBUTION.md | 1 + apps/solidcraft-web/Cargo.toml | 2 +- apps/solidcraft-web/index.html | 3 +- apps/solidcraft-web/src/main.rs | 27 +++++++++- assets/styles/web/loading-logo.svg | 87 ++++++++++++++++++++++++++++++ assets/styles/web/loading.css | 5 +- 6 files changed, 121 insertions(+), 4 deletions(-) create mode 100644 assets/styles/web/loading-logo.svg diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index a9519830..2d66adb1 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -103,6 +103,7 @@ Editable drawing code, native projects and shipped exports are collected under ` | assets/platforms/windows/solidcraft.wxs | PhotoCraft / SolidCraft contributors | PhotoCraft packaging templates (https://github.com/storytold/photocraft), adapted for SolidCraft | Apache-2.0 | | assets/shaders/viewport.wgsl | SolidCraft contributors | Original SolidCraft resource data or drawing code, collected without redesign | MIT OR Apache-2.0 | | assets/styles/ui/palettes.rs | SolidCraft contributors | Original SolidCraft resource data or drawing code, collected without redesign | MIT OR Apache-2.0 | +| assets/styles/web/loading-logo.svg | SolidCraft contributors | Animation of the SolidCraft mark, built from the paths and gradients of assets/icons/app/macos/source/SolidCraft.icon/Assets/03-solid-blue-cutout.svg; original animation | MIT OR Apache-2.0 | | assets/styles/web/loading.css | SolidCraft contributors | Original SolidCraft resource data or drawing code, collected without redesign | MIT OR Apache-2.0 | | crates/io/src/native_cad/fixtures/block.FCStd | SolidCraft contributors | original 10 × 20 × 30 mm test box saved by FreeCAD 1.1.4 run as an external program (`make_block_fcstd.py` beside it); no third-party geometry | MIT OR Apache-2.0 | | crates/io/src/native_cad/fixtures/block.3dm | SolidCraft contributors | original 10 × 20 × 30 mm test box written with McNeel's MIT-licensed rhino3dm Python package (`make_block_3dm.py` beside it); no third-party geometry | MIT OR Apache-2.0 | diff --git a/apps/solidcraft-web/Cargo.toml b/apps/solidcraft-web/Cargo.toml index 4c615fb4..668fe086 100644 --- a/apps/solidcraft-web/Cargo.toml +++ b/apps/solidcraft-web/Cargo.toml @@ -29,5 +29,5 @@ web-sys = { version = "0.3", features = [ "Window", "Document", "Element", "HtmlElement", "HtmlCanvasElement", "Location", "Navigator", "StorageManager", "FileSystemHandle", "FileSystemDirectoryHandle", "FileSystemFileHandle", "FileSystemGetFileOptions", "FileSystemWritableFileStream", "WritableStream", "File", "FileList", "Blob", "BlobPropertyBag", "Url", "HtmlAnchorElement", "HtmlInputElement", "Storage", - "BeforeUnloadEvent", "Event", "EventTarget", "Response", "MediaQueryList", "Gamepad", + "BeforeUnloadEvent", "Event", "EventTarget", "Response", "MediaQueryList", "Gamepad", "Performance", ] } diff --git a/apps/solidcraft-web/index.html b/apps/solidcraft-web/index.html index 2157e05e..c1068d5b 100644 --- a/apps/solidcraft-web/index.html +++ b/apps/solidcraft-web/index.html @@ -23,6 +23,7 @@ + @@ -35,7 +36,7 @@ -
Loading SolidCraft…
+
Loading SolidCraft…