FWIW, there is something similar already (and yes it has the same limitations on in/out ports) https://github.com/sebpiq/pd-fileutils/ we are using it on Bela to preview Pd patches, so we made a couple of changes to fix some issues with it ( https://github.com/BelaPlatform/Bela/commits/master/IDE/public/js/pd-fileuti... ) Hope this helps. Best, Giulio
Andre Osku Schmidt wrote:
hello "pudists?",
i'm tinkering on a pd-patch-to-svg thing* for web-browsers and ran to couple show-stoppers with pd patches (when used outside pd).
- a pd-patch has no info how many in/out ports an element has.
i guess a "better" workaround could be a "cheat-list", but that would not work with "dynamic" inlets/outlets, right? what do you think about adding inlet+outlet port counts in the pd patch file?
- a pd-patch position/sizes are "hard-coded" to font size.
i guess its inevitable to not, right? what do you think about adding an official font (and size?) for pd? (that could then be included in pd and elsewhere)
or other solutions? or is this not "worth" the "trouble"? (its just for fun, and i got plenty of other fun ideas;)
cheerio .oskude
ps. been a whiiile since i last used pd, so excuse me if i forgot/missed something related/important.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list