Hello, i have a little problem with MayaVi. I've build a visualization tool with MayaVi, showing a pattern with tubes as lines. For a better visualisation i want to be able to change the radius dynamicaly. But i don't know where i can change it, after initialising the tubes. Heres a code example, how i build the tubes:
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) scene.mlab.pipeline.surface(tube, color = (1.0, 1.0, 0.9)) scene.mlab.pipeline.surface(cp_pipe, color = (0.6, 0.6, 0.6)) I hope you understand what i try. Greetings, Matthias ------------------------------------------------------------------------------ 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