0e80cde156
CMMS embedding: follow the CMMS light/dark theme
...
Test Build / Node v26 (push) Has been cancelled
Test Build / Node v24 (push) Has been cancelled
Test Build / Node v22 (push) Has been cancelled
window.CMMS_SCAD_CONFIG.dark (set by edit.php from theme_is_dark()) now
drives: the primereact theme (runtime <link> to a bundled
primereact-theme-{light,dark}.css instead of a static light import), the
Monaco editor theme (vs-dark / light), and a body.cmms-dark class that
overrides the light-hardcoded bits in public/index.html. Standalone use
is unchanged (light).
2026-08-31 11:36:54 +10:00
ochafik
5a67b2d554
Fix lighting
2024-12-26 19:27:27 +00:00
ochafik
d2223e948a
Create InterVariable.woff2
2024-12-25 14:02:50 +00:00
ochafik
7a9e3f927f
Add axes w/ rotation sync w/ main model viewer
2024-12-23 13:06:00 +00:00
Olivier Chafik
f3cb9ae3f9
🌈 Colorful Playground ( #37 )
...
* glb (color-assimp2 branch) + model-viewer
* color support + customizable output format
* cleanup
* disable monaco on iOS
* reinstate STL viewer when output is stl
* default to stl
* fix iOS editor
* script to build openscad-wasm from a branch / local repo
* update fork link + build instructions
* Update build-openscad-wasm.sh
* Update initial-state.ts
* update openscad3 refs
* update wasm build script
* Update Dockerfile.wasm
* add jszip dep
* multimaterial: color conversion + 3MF face painting
* ignore ts error about compression apis
* Update tsconfig.json
* multimaterial support w/ extruder colors input component
* fix wasm build script
* symlinks for openscad.{js,wasm} under src
* fix error line shift for bundled files
* remove obsolete build script
* set OPENSCADPATH env var
* render-colors feature renamed
* Customizer + prepare Multi-asset support
* hide customizer button if unselected, hide it if no params,
* Create build-openscad-wasm.sh
* update build script
* complete sound
* fetchSource util
* wider rotation allowance
* use CSG-modules.scad as default
* Update CustomizerPanel.tsx
* Update index.html
* capture save, allow Ctrl+Shift+Save to save project
* customizer: fieldsets are better than accordion
* expand customizer tabs by default
* tooltip for reset buttons
* pretty c++ exceptions
* Delete inline-openscad-worker.ts
* shuffle ux
* use uzip instead of jszip for 3mf materialization
* handle legacy links
* update links to fork
* use render-modifiers feature from color-assimp2 in preview mode
* include NopSCADlib's STL files in archive
* bind global f5 / f6
* update homepage back to openscad2
* styling fixes (editor alpha, customizer margins)
* Add help link for customizer
* fix customizer sliders (also need to show value input)
* fix vector customizer component
* style fallback editor
* shorter logs button
* customizer: rm reset button tooltip
* customizer: allow dnd on viewer below, tweak background
* add lights to modelviewer using an env image (gltf lights hard to plug across assimp for now)
* update customizer styles
* Update .gitignore
* add license for UZIP.js (MIT)
* Update skybox-lights.jpg
* Update actions.ts
* include NopSCADlib's STLs
* Update LICENSE.md
* include YAPP_Box examples
* limit customizer height
* Update skybox-lights.jpg
* Update skybox-lights.jpg
* Update openscad-worker.ts
* build-openscad-wasm.sh fix: docker won't mount files outside home directory
* Use Google CDN instead of unpkg for modelviewer
* tmp updates before merge
* Add ccache support to build-openscad-wasm.sh
* Fix makefile
* Update README.md
* Fix ts imports
* Delete build-openscad-wasm.sh
* Crude off -> glb converter
* Remove assimp related code
* gltf diffs
* Build using head openscad
* readme: Update build prerequisites
* make: attempt to build wasm binary in parallel first
* Remove 3mf extruder color mapping & fix render / export flows (render all 3d to off)
* off2glb: triangulate faces + add default color
* Add simple e2e puppeteer test
* ci: update pinned build to master output artefact
* Update Makefile
* Update test.yml
* Update test.yml
* Update test.yml
* Update test.yml
* ci: use relative node version names
* Update test.yml
* state: Remove renderFormat, introduce is2D
* disable service worker in devel mode
* remove dead code
* build: fix NODE_ENV define
* ci: simplify env vars
* cleanups
* Update README.md
2024-12-22 22:41:35 +00:00
Olivier Chafik
7b99679fb6
Bundle fork me on GH ribbon css ( https://github.com/openscad/openscad-playground/issues/56 )
2024-10-23 14:54:00 +01:00
Olivier Chafik
8a0a062c3d
Bundle model-viewer.min.js ( https://github.com/openscad/openscad-playground/issues/56 )
2024-10-23 14:41:43 +01:00
Olivier Chafik
71c629c061
Merge pull request #48 from Rotzbua/fix_html
...
fix(html): various bugs
2024-07-17 13:30:38 +01:00
Rotzbua
e479da1ae2
fix(html): various bugs
...
* two meta viewport
* invalid trailing slashes on void element
* audio-tag moved to body
2024-07-16 22:57:41 +02:00
Rotzbua
589b0e7ebd
feat(ci): add github actions to perform a build
2024-07-16 22:37:20 +02:00
ochafik
ce7ebdd921
tweak iOS fallback editor style
2024-07-08 02:54:13 +01:00
ochafik
4ec135ac8f
fix customizer style
2024-07-08 02:53:28 +01:00
ochafik
b47300be7a
add render sound
2024-07-08 02:45:23 +01:00
Olivier Chafik
ee14692fb7
Remove files that shouldn't be versioned
2024-05-30 13:02:59 +01:00
ochafik
81039ca673
Bundle PrimeReact CSS instead of relying on broken links
2023-10-18 01:51:30 +01:00
ochafik
5ec86067ca
Bundle OpenSCAD examples + update default model
2023-03-27 22:38:22 +01:00
ochafik
e3856c0984
Fix iOS / iPadOS layouts w/ a funky JS+CSS trick
2023-03-27 20:01:24 +01:00
ochafik
28853b2da6
Update self-repo links to main branch
2023-03-27 19:41:43 +01:00
ochafik
7d354f749b
Tweak position of settings button on small screens
2023-03-27 16:56:26 +01:00
ochafik
b7f20aeed2
Prefetch assets!
2023-03-27 16:44:03 +01:00
ochafik
ab0f7ae801
Disable zoom on mobile as conflicts w/ viewer
2023-03-27 16:31:17 +01:00
ochafik
ba39e2ce9e
fix safari
2023-03-26 08:49:58 +01:00
ochafik
6528baa7b6
Gooood progress
2023-03-26 07:48:04 +01:00
ochafik
f996bbc1fb
widgets, file size and elapsed time
2023-03-25 20:41:16 +00:00
ochafik
4b11073437
Switch to webpack
2023-03-25 19:30:34 +00:00
ochafik
5e0dfaf13d
Fix typo
2023-03-25 17:01:19 +00:00
ochafik
f5ba146688
fork me on github ribbon + model refactor
2023-03-25 15:56:21 +00:00
ochafik
42d0d0a5d2
Add react-stl-viewer + fix preview vs. render flow
2023-03-25 15:23:54 +00:00
ochafik
6486d698d4
Basic React + TypeScript app skeleton + downloading of deps
2023-03-24 01:58:25 +00:00