Hi all,
PyMOL seems perfect for this. As Warren mentioned...
1) In PyMOL, save your figure in MAYA format (save scene.obj).
2) In Blender, import this file as WAVEFRONT format.
You can then easily add any mesh object you wish (such as a face in the very
crude example attached)
Thanks to all those who replied (esp. Warren).
AGS
>From: Warren DeLano <[log in to unmask]>
>Reply-To: Warren DeLano <[log in to unmask]>
>To: [log in to unmask]
>Subject: Re: [ccp4bb] Protein models in Blender
>Date: Thu, 13 Sep 2007 15:12:09 -0700
>
>PyMOL can save both VRML2 (.wrl) and native PovRay versions of the current
>scene via the save command. Limited support for Maya .OBJ is present now
>as well (export bug fixed in current open-source code).
>
>VRML:
>
>save scene.wrl
>
>POVRAY:
>
>save scene.pov
>
>MAYA (triangles only, w/o coor)
>
>save scene.obj
>
>However, for some scenes (on modern multi-core hardware), it can take more
>time to write out & read these rather verbose text files than it does for
>PyMOL to simply render the scene using its own built-in raytracer...
>
>Cheers,
>Warren
>
>________________________________
>
>From: CCP4 bulletin board on behalf of P Hubbard
>Sent: Thu 9/13/2007 12:57 PM
>To: [log in to unmask]
>Subject: Re: [ccp4bb] Protein models in Blender
>
>
>
>Hi,
>
>Thanks for the reply. With regards to Povray, I had mentioned that program
>as I had hoped that you could use a povray file generated in
>ccp4mg/povray/etc and then somehow read that into blender for futher
>editing
>(and make my life much easier - editing povray files to alter figures is a
>real pain). Blender can render figures using its own machine, with YafRay,
>or export it to povray format.
>
>From what I've read, VRML format is not a good one, as for some reason
>blender runs really slow after reading these files in.
>
>Thanks.
>
>
> >From: "Michel Fodje" <[log in to unmask]>
> >To: "P Hubbard" <[log in to unmask]>
> >CC: <[log in to unmask]>
> >Subject: Re: [ccp4bb] Protein models in Blender
> >Date: Thu, 13 Sep 2007 13:38:04 -0600
> >
> >Povray is just a renderer like the renderer in blender, only in the case
> >of povray, the input file defines the model. I would think that if it is
> >possible to generate a povray input file from molecule objects, it
> >should be possible to generate a VRML file which blender can open. If
> >I'm not mistaken, Mike Carson's Ribbons is able to write VRML files.
> >
> >/Michel
> >On Thu, 2007-09-13 at 12:23 -0700, P Hubbard wrote:
> >
> > > Hi all,
> > >
> > > I've had some spare time to teach myself blender, which seems to me to
> >be a
> > > powerful model editing and animation tool. However, I've not found any
> > > python scripts or software to convert objects such as ribbons mesh
>made
> >in
> > > ccp4mg or pymol into something that blender can use (I know its not
> >science,
> > > but it makes making figures more fun). I read a message posted a few
> >years
> > > back which suggested it is possible, but there were no details on how
>it
> >was
> > > done.
> > >
> > > Is there anyone out there who has done this?
> > >
> > > P.S: AFAIK, you can't do it via povray.
> > >
> > > Thanks!
> > >
> > > AGS
> > >
> > > _________________________________________________________________
> > > Kick back and relax with hot games and cool activities at the
>Messenger
> > > Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1
>
>_________________________________________________________________
>A place for moms to take a break!
>http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
>
>
>
>
_________________________________________________________________
Test your celebrity IQ. Play Red Carpet Reveal and earn great prizes!
http://club.live.com/red_carpet_reveal.aspx?icid=redcarpet_hotmailtextlink2
|