On Wed, Jan 23, 2013 at 10:52:23AM +0000, Matthias Schmerl wrote: > cp_pipe = scene.mlab.triangular_mesh(x, y, z, facets) > cp_pipe.mlab_source.dataset.lines = crease_lines > tube = scene.mlab.pipeline.tube(cp_pipe, tube_radius = 0.1 * scalefactor)
There is an attribute of tube to do this. To find out which attribute, you can look in the dialogs of the pipeline view and use the record feature to produce the corresponding lines of code, as described in: http://docs.enthought.com/mayavi/mayavi/mlab.html#changing-object-properties-interactively Hope this helps, G ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users