Source

py2scad / examples / view_stl.py

Diff from to

examples/view_stl.py

 
 # Read configuration file if it exists
 if not options.configfile == None:
-    have_config = True
+
     with open(options.configfile,'r') as fid:
         config = pickle.load(fid)
 
     prop = stl_actor.GetProperty()
 
     if not prm == None:
-        print 'setting parameters'
         try:
             prop.SetColor(*prm['color'])
         except KeyError: