Tube is not visible

Jun 13, 2014 at 4:26 PM

I just started to use this wonderfull toolkit and I'm trying to create a 3D model consisting of spheres and tubes.
No problems with the spheres, but the tubes are not visible.

Code defining tubes:
int dia = 15;
HelixToolkit.Wpf.TubeVisual3D tube = new TubeVisual3D();
tube.Path = new Point3DCollection();
tube.Path.Add(new Point3D(15, 0, 0));
tube.Path.Add(new Point3D(-15, 0, 0));
tube.Diameter = dia;
tube.IsPathClosed = false;
tube.Fill = Brushes.DeepPink;
<hel:HelixViewport3D Name="3DWindow" ShowFrameRate="True" Grid.Column="1" Margin="5" Grid.Row="1">
                <hel:SunLight  />

What could eb the reason fo the tubes to not show up?
Am I missing sth?

Thanks in advance,

Jun 14, 2014 at 3:07 PM
Hi Thomas,

I encountered the same problem and reported it in the Issues section (Id #10054) with title TubeVisual3D.
It look like it does not like tubes where the Y value is the same.

Regards, Edwin
Jun 16, 2014 at 7:57 AM
Thanks a lot!

So the workaround for me is to alter the Y coord i.e. by 0.00001 which is still accurate enough.