Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: How to upload SVG files from local folder automatically?
z.chen
Newbie
Posts: 2
Permalink
z.chen
Post How to upload SVG files from local folder automatically?
on: November 13, 2019, 13:38
Quote

Hi, I made an input box with Processing, and I needed the audiences to type in some text and save it automatically as SVG files. How can the Polargraph controller automatically read the new SVG files in the folder and upload it to the vector, and complete drawing instructions automatically?
Thanks

sandy
Administrator
Posts: 1402
Permalink
sandy
Post Re: How to upload SVG files from local folder automatically?
on: November 15, 2019, 21:14
Quote

The controller saves it's configuration in a file usually called default.properties.txt and that contains the filename of the SVG file as well as it's location and size. You could easily build something that would rewrite that config file or of course, just change the SVG file itself.

However, the polargraph controller cannot be driven programmatically, so there is no way to trigger it to reload the SVG file, without using the pointy-clicky interface itself or reloading the app.

sn

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.033 seconds.