<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Read a nastran mesh file in vtk and keep GRID and ELEMENT ID</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hello all of you,<BR>
<BR>
I have just started with vtk in python.<BR>
What I try to do is:<BR>
1- Read a Nastran file (OK)<BR>
&nbsp;&nbsp; For that, I'm using the pyNastran library to extract nodes ID and coordinates and element ID, Type and the node connectivity<BR>
2- Visualize in VTK (Don't work)<BR>
&nbsp;&nbsp; I'm wondering what methodology used to do that(A Temporary files in vtk/A XML vtk file/Read directly). What I want, is to keep the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grid ID&nbsp; when I convert the nastran mesh in VTK format. In order to when visualize the mesh in a renderer windox, when I pick a node in the renderer window, display the grid ID information.<BR>
<BR>
3- (Future development)Visualize an assembly of mesh, composed of several nastran file...<BR>
&nbsp;&nbsp;&nbsp; Use Assembly in VTK or Composite Reader<BR>
Is anyone has an idea to do that?<BR>
Maybe someone already tried to do that, and is it in user's mail archive<BR>
<BR>
Thank in advance for any reply<BR>
<BR>
Best regards<BR>
<BR>
Pascal<BR>
&nbsp;&nbsp;<BR>
</FONT>
</P>

</BODY>
</HTML>