I’m trying to create a panel in inkscape, whenever I create the panel through helper.py, the background of the panel is transparent and the text doesn’t appear, only the inputs and outputs are visible.
If I use the VCV rack Tutorial image, the panel appears with background and text.
Any explanation on how to create background and text in inkscape?
Hi thanks for the tip. I checked the log file and found load error in svg file.
I use the command: $RACK_DIR/helper.py createmodule ComparatorModule res/comparator.svg src/Comparator.cpp
comparator.svg is the name of file in my /res developer folder.
After i do make install, I checked in the comparator.cpp file and found: setPanel(createPanel(asset::plugin(pluginInstance, “res/ComparatorModule.svg”)));
But in the rack2/plugin/res/ folder the file is comparator.svg,
i rename the file to ComparatorModule.svg and now is working
I need to understand the helper.py syntax command. I assume helper.py copy the file to plugin/res folder without changing the name.
this is actually an issue i’ve run into recently. when you create a module with the ‘createmodule’ helper.py command, no matter what you put as your svg file name, it will override that and use your module’s slug as the filename of the svg. so if your svg file is named differently than your module, you will always need to make sure you go into the module widget’s code and change the filename manually after creating the module.