On Wed, Mar 21, 2012 at 02:54:34AM +0000, Andreas wrote: > After plotting tubes from a python script, when I enter the pipeline > editor, under "Edit TubeFilter properties" there is a property "Radius > factor" which seems to default to 10.0. However this seems to inflate > smaller radii visually if radius varies by scalar. A "Radius factor" of > 100 seems to more closely reflect the relative scalar values visually > (i.e. 0.1 gives a tube ten times as thin as 1). Is this correct?
I am not sure what you mean. If you want absolute and not relative scaling of the tube radius, there is an option somewhere that says someting like 'scale radius by absolute scalar'. That might help. > Secondly: how can I set this radius factor from within my python script? First, if you are using 'tubes' via an mlab.plot3d command, there is a 'tube_radius' keyword argument that should control it. Second, in general when you know how to set something in the GUI and want to find out how to set it in a script, you can use the record feature, as described on: http://github.enthought.com/mayavi/mayavi/mlab_changing_object_looks.html#changing-object-properties-interactively HTH, Gael ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users