From 3e88cc8ef982ae188bdd6efc5ebcce7bbccf0272 Mon Sep 17 00:00:00 2001 From: Avatarsia Date: Mon, 6 Apr 2026 03:18:45 +0200 Subject: [PATCH 1/2] feat: save/load settings with export/import and auto-save Add preset export/import via .bumpmesh files (ZIP containing settings, optional model STL, optional custom texture PNG). Two icon buttons in the header open an export dialog with checkboxes and a file picker. - Export dialog lets users choose what to include (settings always, model and custom texture optionally) - Import via file picker or drag & drop of .bumpmesh files - Auto-save to localStorage on every settings change, restore on reload - Uses fflate (already bundled) for ZIP creation/extraction - Full i18n support (EN/DE) for all new UI elements --- index.html | 15 ++++ js/i18n/de.js | 11 ++- js/i18n/en.js | 11 ++- js/main.js | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++ style.css | 68 +++++++++++++- 5 files changed, 341 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 8b2b4fc..d0aea31 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,21 @@ BumpMesh by CNC Kitchen
+
+ + + + +