Alternative to for processing SVG -> CPP

Hi everyone!

Have been doing some plugin development recently and was getting frustrated with the loop of edit SVG -> regen CPP -> copy in needed edits by hand -> preview in Rack. Particularly since the green/red/blue circles for components were hard for me to visualize what they would look like.

So I wrote another script: It’s still pretty janky but I’ve found it useful so thought I’d share.


Things it doesn’t do:

  • Initial plugin setup, rewriting JSON file etc… I’d recommend running createmodule first, then deleting the CPP file and using this Ruby script.

Anyway, hope it’s useful to someone,

1 Like