<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Perhaps I wasn't clear. &nbsp;This is not a mesh for one of the vtk primitives for which a wireframe is available. &nbsp;It's a data structure that I created with nodes corresponding to the finite elements and edges that represent how these are interconnected. &nbsp;I represent the nodes with spheres and I want to show the edges as lines connecting them. &nbsp;I've had some luck with vtkUnstructuredGrid but in my other post you can see some problems I'm having there.</span></div><div><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Jothybasu Selvaraj
 &lt;jothybasu@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Gregory Propf &lt;gregorypropf@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org" &lt;vtkusers@vtk.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, June 1, 2012 2:27 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] Creating a simple mesh of lines<br> </font> </div> <br>
<div id="yiv1493230646"><div dir="ltr">Won't the wireframe representaion suffice?<br><br>Jothy<br><br><div class="yiv1493230646gmail_quote">On Fri, Jun 1, 2012 at 4:42 AM, Gregory Propf <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:gregorypropf@yahoo.com" target="_blank" href="mailto:gregorypropf@yahoo.com">gregorypropf@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv1493230646gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div>I'm working on a finite element tool and need to show the edges in the mesh as lines. &nbsp;I've tried various things based on the examples I've found but many of the examples seem way too complex and break when I modify them. &nbsp;Also I'm unsure exactly which vtk object to use to represent this. &nbsp;Can someone post a simple Python script (other languages OK too but I'm using Python). &nbsp;Ideally, I'd like an object that can show both the edges and the nodes with different colors for each. &nbsp;For now, I'm making a bunch of spheres for the node points.</div>
</div></div><br>_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>
</div><br><br> </div> </div>  </div></body></html>