Commit graph openscad-playground/src
Author SHA1 Message Date
ochafik
7057573134 Upgrade primereact deps 2024-12-23 13:55:20 +00:00
ochafik
1eef3dccca nits 2024-12-23 13:06:00 +00:00
ochafik
c155c156cb e2e: Wait for main viewer to have an src 2024-12-23 13:06:00 +00:00
ochafik
57c2d021ba Reinstate settings 2024-12-23 13:06:00 +00:00
ochafik
7a9e3f927f Add axes w/ rotation sync w/ main model viewer 2024-12-23 13:06:00 +00:00
ochafik
a01a7df0a0 Remove react-stl-viewer 2024-12-23 13:06:00 +00:00
ochafik
885a579a7a Fix translucency export to GLB (export primitives by color + set alpha blend) 2024-12-23 13:06:00 +00:00
ochafik
20f12a24e3 Default export to glb 2024-12-23 13:06:00 +00:00
ochafik
ba79a7cd87 Align orientation of model-viewer w/ OpenSCAD 2024-12-23 03:14:25 +00:00
Olivier Chafik
950dc7ec98
Use history.replaceState instead of setting location.hash (#68) 2024-12-23 02:38:52 +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
af98f19850 Service worker for offline usage w/ workbox (https://developer.chrome.com/docs/workbox/modules/workbox-cli; https://github.com/openscad/openscad-playground/issues/56) 2024-10-23 15:31:59 +01:00
Olivier Chafik
76f4f19e3d
Merge pull request #50 from Rotzbua/fix_css
fix(css): missing var()
2024-07-17 13:29:36 +01:00
Rotzbua
6739e28aeb
fix(css): missing var() 2024-07-16 23:08:38 +02:00
Rotzbua
c273d61e7f
fix: use https for openscad homepage 2024-07-16 23:02:51 +02:00
Jayden Lo
a662f21a8a added lasercut lib; use /usr/bin/env bash in makefile 2024-07-12 19:00:27 +08:00
ochafik
ce7ebdd921 tweak iOS fallback editor style 2024-07-08 02:54:13 +01:00
ochafik
9b95b87626 make F5 / F6 work globally 2024-07-08 02:46:15 +01:00
ochafik
b47300be7a add render sound 2024-07-08 02:45:23 +01:00
ochafik
76492bc903 add customizer 2024-07-08 02:34:46 +01:00
ochafik
980bf30323 fix error line shift for bundled files 2024-07-01 03:08:58 +01:00
ochafik
fd89c4c3b6 Render files from their original path to resolve relative paths 2024-06-29 01:27:12 +01:00
ochafik
b8a4a7423f Fix TS compilation errors 2024-06-29 01:27:00 +01:00
Olivier Chafik
ecf7f3b633 Merge remote-tracking branch 'origin/main' into ios-editor 2024-06-21 17:33:41 +01:00
Olivier Chafik
7ac0397f21 disable monaco editor on iOS 2024-06-21 17:30:18 +01:00
Olivier Chafik
4c64173551
Merge pull request #30 from ochafik/compress-state
compress state in url fragment w/ gzip now the APIs are standard
2024-06-21 17:25:28 +01:00
Olivier Chafik
7e7a408ea7 rename {revarbat -> BelfrySCAD}/BOSL2 2024-06-21 17:20:09 +01:00
Olivier Chafik
8efdd1f4fe compress state in url fragment w/ gzip now the APIs are standard 2024-06-21 17:14:16 +01:00
Olivier Chafik
3be50a21a3 Add missing doc links for openscad and brailleSCAD 2024-05-30 18:53:44 +01:00
Olivier Chafik
e3ca675dee Add MIT-licensed OpenSCAD-Snippet lib (https://github.com/AngeloNicoli/OpenSCAD-Snippet) 2024-05-30 18:53:17 +01:00
Olivier Chafik
50e462fe1b Add GPLv3 boltsparts lib (https://github.com/boltsparts/boltsparts) 2024-05-30 18:52:36 +01:00
Olivier Chafik
318dc531ee Add BelfrySCAD/brailleSCAD lib (LGPLv2.1) 2024-05-30 13:10:10 +01:00
ochafik
688ec84fb4 Add https://github.com/jon-gilbert/openscad_attachable_text3d lib 2023-10-18 01:55:21 +01:00
ochafik
86587a9933 Add https://github.com/dinther/pathbuilder lib 2023-10-18 01:55:05 +01:00
ochafik
81039ca673 Bundle PrimeReact CSS instead of relying on broken links 2023-10-18 01:51:30 +01:00
Kyle Davis
1d4911c153 download filename is based on scad filename 2023-07-02 12:22:11 -06:00
ochafik
43c3edd3ad Fix dual confirm dialogs 2023-03-28 19:16:30 +01:00
ochafik
e9cac96679 Fix download! (typo) 2023-03-28 19:11:59 +01:00
ochafik
3b47957af4 Fix regression (typo) on builtins autocomplete! 2023-03-28 18:52:22 +01:00
ochafik
8c53927f53 Persist state in localStorage for installed PWAs 2023-03-28 01:12:14 +01:00
ochafik
39edf6d28b More compact help links for libs 2023-03-28 00:45:18 +01:00
ochafik
efca3df1cb Editor font size 16px to prevent autozoom on edit on iOS 2023-03-27 22:38:49 +01:00
ochafik
5ec86067ca Bundle OpenSCAD examples + update default model 2023-03-27 22:38:22 +01:00
ochafik
4ade6017c4 Enable axes and shadows by default 2023-03-27 20:24:26 +01:00
ochafik
4a33262da0 Fix a stray misplaced height that seemingly tripped iOS safari on device but not in sim? 2023-03-27 20:19:37 +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
1eea991010 Forgotten change 2023-03-27 19:36:31 +01:00
ochafik
0ed2d658d0 Add metadata to zipArchives (display Github links in explorer) 2023-03-27 19:34:52 +01:00
ochafik
7d354f749b Tweak position of settings button on small screens 2023-03-27 16:56:26 +01:00