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

faster preview with image generation #57

Open
yannickbattail opened this issue Nov 15, 2022 · 2 comments
Open

faster preview with image generation #57

yannickbattail opened this issue Nov 15, 2022 · 2 comments

Comments

@yannickbattail
Copy link

Is your feature request related to a problem? Please describe.
In some model preview takes a lot of time (and cpu every time the file is saved)

Describe the solution you'd like
Generate a preview image with openscad and display it instead of rendering the SLT model.

Describe alternatives you've considered
You can generate an image with openscad

openscad -q -o ./images.png -D "\$fn=10" --imgsize 512,512 --preview ./model.scad
@ldenisey
Copy link
Owner

Hello,

Thank you for your feedback. Good idea.
How would you see this feature, a toggle switch somewhere to choose between stl or image rendering ?

Not sure what is the best level to do it. What do you think would be the best :

  • a global setting, that affect all the scad files of all your projects
  • a project setting that affect every scad files in a project
  • a setting for each file

@yannickbattail
Copy link
Author

  • maybe a global setting
  • or a preview by image every time the file is saved and a button for rendering the 3D model with display in the IDE

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

2 participants