[vtkusers] VTK and molecules
Eric Germaneau
eric.germaneau at epfl.ch
Thu Sep 6 00:59:16 EDT 2007
Hello,
I'm a nwe pyvtk user and I've found this example
<http://public.kitware.com/pipermail/vtkusers/2006-August/086395.html>
code to display atoms with vtk but I get the following error:
/Traceback (most recent call last):
File "vtkex.py", line 127, in <module>
actorCreator.AddBonds(sample_atoms, sample_bonds)
File "vtkex.py", line 38, in AddBonds
self.polyData.SetPoints(atomPts)
ValueError: method requires a VTK object
/Does someone can tell why it doesn't work?
I'm looking for more examples ....
Thanks in advance,
Regards,
eric.
--
/ "Love, Gift from Life, is given naturally."
/
Eric Germaneau <http://lcr.epfl.ch/page37437.html>
Ecole polytechnique fédérale de Lausanne (EPFL)
FSB - IPMC
Laboratoire de Cristallographie(LCr) <http://lcr.epfl.ch>
BSP 518
CH-1015 Lausanne
Switzerland
eric.germaneau at epfl.ch <mailto:eric.germaneau at epfl.ch>
/Tel./: +41 (0)21 / 693 06 36
/Fax./: +41 (0)21 / 693 05 04
/msn/: aihaike at hotmail.com
/skype/: aihaike
/Please consider the environment before printing this email - Considérez
svp l'environnement avant d'imprimer cet email/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070906/cc2663a3/attachment.htm>
More information about the vtkusers
mailing list