I am aware that there exists https://github.com/iem-projects/patch2svg-plugin :
This adds a new menu-item to the "File" menu: "Save patch as SVG..."
It allows you to save the current Pd patch as an SVG graphics.
... which is exactly what I need - but for Purr Data. Since patch2svg
is a TCL script for vanilla PD, and (https://agraef.github.io/purr-data-intro/Purr-Data-Intro.html mentions:
Purr Data is Pd-l2ork with the Tcl/Tk GUI part ripped out and replaced with modern web technology. To these ends, it uses an open-source framework called nw.js a.k.a. “node-webkit”, which is essentially a stand-alone web browser engine (Chromium) combined with a JavaScript runtime (Node.js).
... it seems, I can't really use patch2svg
for Purr Data.
Then again, Purr Data should already be drawing everything in SVG, it seems, - so it seems there should be a way for it to save the patch canvas as SVG natively; but I cannot see an obvious way to do it ...
I can print to PDF from Purr Data, and then convert that to SVG using inkscape - but in that case all texts become "curves"/"paths", and are not editable as texts ...
So, I was wondering - is there a way to export a patch in Purr Data as an SVG vector image (and preferably, with text information present)?