From: Raluca Mihaela ANDREI (
Date: Tue Mar 10 2009 - 10:02:01 CDT

Sorry, I'll try to explain better: I have a protein displayed
as surface and I render it using Wavefront. I obtain an .obj
file that cannot be imported into Blender for example. I saw
that if I remove the spaces from the begining of each line I
obtain an .obj file that can be imported into Blender. I would
like to know how to create an .obj file without these 2
spaces, rather than modifing it afterwards. I found
WavefrontDisplayDevice.C script in the source of VMD. Now, if
I modify this script I have to compile VMD, right? I'm working
on Windows and I have some problems compiling it.
Thank you,

On Tue, 10 Mar 2009 10:24:01 -0400
  Axel Kohlmeyer <> wrote:
> On Tue, 2009-03-10 at 09:27 +0100, Raluca Mihaela ANDREI
>> Hello!
> hello raluca,
>> VMD exports obj in a format that the other programs can't
>> read. There are 2 spaces at the begining of each file. Does
> sorry, can you please explain in more detail about what
> and what "obj" you are referring to. for example by
> exactly what steps you do. i doubt that otherwise somebody
> help you. please keep in mind that answers can only be as
> and clear as the questions are.
> thanks,
> axel.
>> anyone know which is the script that exports obj? I would
>> to delete these 2 spaces from the obj format.
>> Thank you,
>> Raluca
> --
> =======================================================================
> Axel Kohlmeyer
> Center for Molecular Modeling -- University of
> Department of Chemistry, 231 S.34th Street, Philadelphia, PA
> tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel:
> =======================================================================
> If you make something idiot-proof, the universe creates a
>better idiot.