dactyl-keyboard
dactyl-keyboard copied to clipboard
add preview render
i think someone else mentioned this, but there doesn't appear to be an issue / feature request for integrating a https://openjscad.org/ view somewhere on the page
Add support for showing a preview of the design which stays on the page to support the user with the following series of tasks:
- select a default
- preview default design
- update some parameters such as number of columns, or removing pinky bottom row, etc.
- see updated render
- tweak some more things to see what they do
- see updated render
- tweak final settings to get it just right
- finally happy with updated render
- download .scad file to export to stl for printing
maybe the openjscad would only be good for giving an "x-ray" type of preview for how different angle, row, tenting parameters affect on key switch placement, but it seems like it would still be a nice to have feature
That would be awesome, but I think it would probably tax the server too much..
Maybe it would be possible to compile the Clojure code to JavaScript using something like https://github.com/clojure/clojurescript :smile:
I ~am using OpenJSCAD~ was using JSCAD (now I'm using Manifold which matches OpenSCAD in quality) in my configurator: https://github.com/rianadon/dactyl-configurator/, which might serve as inspiration. OpenJSCAD does a fairly great job generating previews, but it sadly doesn't do as great of a job at generating previews as OpenSCAD (the renders tend to have more missing faces).
@rianadon Very cool what you did! Look forward to see what Cosmos will look like :+1: