Alternative to helper.py 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: https://github.com/xaviershay/vitamin-vcv-modules/blob/master/create_module.rb It’s still pretty janky but I’ve found it useful so thought I’d share.

Features:

Things it doesn’t do:

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

Anyway, hope it’s useful to someone,
Xavier

1 Like