Hmmm, I tried the following code, but, after the objects load, I get the following output in the output window
--------------------------
Loading File: mplm.wrl
Loading File: truss2.wrl
** Load Time: 1.29 seconds
TypeError: an integer is required
-----------------------
import viz
viz.go()
mplm = viz.add('mplm.wrl')
truss = viz.add('truss2.wrl')
viz.clustermask(viz.CLIENT1)
viz.windowsize(320,240)
##viz.clusteroffset(30,0,0)
viewpoint = viz.add(viz.VIEWPOINT)
#viewpoint.rotate(0,1,0,20)
viewpoint.translate(0,0,-4)
viz.clustermask(viz.ALLCLIENTS)
viz.framerate()
|