PropVis scripting
For automated screenshot generation it's useful to set propVis parameters from scripts, e.g. colors, vector scaling, etc. The current API only allows for a default visualisation given an objectid and property name.
I implemented access to the settings using QObjects which read/write the corresponding visualizer GUI widget. This results in a bit of boilerplate code that translates javascript object properties to specific widgets. It might be possible to do it a bit cleaner using a custom QScriptClass, however I think the current implementation is not too verbose and much easier to understand and extend.
Example usage:
pv = propertyvisualization.getPropertyVisualizer(9, "vertex_shift");
print (Object.keys(pv));
pv.lineColor = Vector4(0,1,0,1);
Currently waiting for CI, it seems stuck?