Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add preview render #36

Open
dereknheiley opened this issue Jul 5, 2020 · 3 comments
Open

add preview render #36

dereknheiley opened this issue Jul 5, 2020 · 3 comments

Comments

@dereknheiley
Copy link

dereknheiley commented Jul 5, 2020

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:

  1. select a default
  2. preview default design
  3. update some parameters such as number of columns, or removing pinky bottom row, etc.
  4. see updated render
  5. tweak some more things to see what they do
  6. see updated render
  7. tweak final settings to get it just right
  8. finally happy with updated render
  9. 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
Screenshot 2020-07-05 13 41 41

@CreamyCookie
Copy link

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 😄

@rianadon
Copy link

rianadon commented Mar 3, 2023

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).

@CreamyCookie
Copy link

@rianadon Very cool what you did! Look forward to see what Cosmos will look like 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants