init.py 444 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
importPlugin = schnapps.loadPlugin("ImportSurfacePlugin");
differentialPropertiesPlugin = schnapps.loadPlugin("DifferentialPropertiesPlugin");
renderPlugin = schnapps.loadPlugin("RenderPlugin");

hand = importPlugin.importFromFile("/home/kraemer/Media/Data/surface/midRes/handman_12k.off");

v = schnapps.getView("view_0");

schnapps.linkViewAndPlugin(v.getName(), renderPlugin.getName());
schnapps.linkViewAndMap(v.getName(), hand.getName());