hrgdavor/jscadui

feature: data url export

Closed this issue · 3 comments

Export current script as gzipped data url

  • disable for multifile scripts

Not exactly this feature, but related:

I would like to make it so that if you open jscad.app and then hit ctrl-s for save, it pops up a save dialog, and then you can save the file locally, and continue editing it in the browser while updating the saved file any time you hit ctrl-s.

This will make it easy for users to go from experimenting in the browser, to saving their first designs as a .js file.

This idea inspired by the https://excalidraw.com/ workflow.

oh, nice, that is a cool idea. I like it.

if I drag drop a script, browser will allow saving but with a browser based dialog.

image

I will have to use some other shortcut to render if I do not want to save file. But saving and re-render is actually the perfect choice for CTRL+S.

I would like to make it so that if you open jscad.app and then hit ctrl-s for save,

made this in #92