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

Possible to export/save settings for re-rendering later? #50

Open
linjmeyer opened this issue Aug 13, 2021 · 1 comment
Open

Possible to export/save settings for re-rendering later? #50

linjmeyer opened this issue Aug 13, 2021 · 1 comment

Comments

@linjmeyer
Copy link

Hi there! I was wondering if there was a quick way to export the settings (layers?) as a JSON file or some other format. General idea would be to re-use this file in the future to re-render and adjust the settings as needed.

I can export as an image currently which is great but if I need to tweak the visuals or settings layer I will have to recreate it again.

Thanks, this is a very cool project!

@linjmeyer
Copy link
Author

First attempt was this:

var test = scene.queryLayerAll(); JSON.stringify(test);


VM6296:1 Uncaught TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'WireCollection'
    |     property 'parent' -> object with constructor 'Element'
    |     property 'children' -> object with constructor 'Array'
    --- index 0 closes the circle
    at JSON.stringify (<anonymous>)
    at <anonymous>:1:40

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

1 participant