I've created torus like so:
from mayavi import mlab
s = mlab.pipeline.parametric_surface()
s.function = 'torus'
And can change it's geometry like:
s.parametric_function.ring_radius = 10.0
But how do I transform and locate the object in the main coordinate system?
I can't seem to figure this out...
Jason
moorepants.info
+01 530-601-9791
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users