Hi Bob -

The reason you're getting these errors is because having negative values in a color tuple is not meaningful (you can't have a negative amount of color), and results in undefined behavior.  RGB colors use a number in the range 0.0-1.0 (inclusive) for each value in the tuple.  What color are you using for your model before exporting VRML?  Try setting everything to white (`color white` on the command line) and see what that does.

Cheers,
Jared

--
Jared Sampson
Xiangpeng Kong Lab
NYU School of Medicine
kong.med.nyu.edu

From: Grateful Frog [gratefulfrog@gmail.com]
Sent: Friday, May 02, 2014 7:07 PM
To: Marcelo Marcet
Cc: pymol-users@lists.sourceforge.net
Subject: Re: [PyMOL] Pymol wrl output

these are the errors that Shapeways sent back:
----
Unfortunately, the model you recently uploaded TMD11Ultra.wrl did not pass our initial printability checks, so it's not yet ready for 3D printing. Printability Error:
  • Model failed during repair. This is likely due to problems merging shells.
Please visit your 3D model page to update your file:http://www.shapeways.com/model/upload-and-buy/1932482

Our tutorials and FAQ can be super helpful for more detailed information, or you can always ask the community a specific question on our forum

If you're stuck or have any questions, don't hesitate to reach out at service@shapeways.com. Please include the file as an attachment to the email, as well as any notes on your design, so we can help you solve your problem as quickly as possible.

Additional non-critical errors:

  • Invalid field, unparsable value, name: Material.diffuseColor , value: [-1.0, -1.0, 1.0]. Value ignored.
  • Invalid field, unparsable value, name: Material.diffuseColor , value: [-1.0, -1.0, 1.0]. Value ignored.
  • Invalid field, unparsable value, name: Material.diffuseColor , value: [-1.0, -1.0, 1.0]. Value ignored.

-> this goes on for tons of lines...




On Sat, May 3, 2014 at 12:39 AM, Grateful Frog <gratefulfrog@gmail.com> wrote:
Hi Marcelo,

Thanks for your help and suggestion!

I did that and the surface is much nicer. 

However, the Pymol rendering in VRML still won't load to Shapeways without error.

I have to re-render in VRML in MeshLab.

My goal is to do it all in Pymol.

Any more ideas would be great!

Ciao,
Bob


On Sat, May 3, 2014 at 12:17 AM, Marcelo Marcet <MMARCET@nait.ca> wrote:
Hi Bob,

Before you save your file from pymol try increasing the quality to max, then save as VRML. This increases the number of polygons in the file and after exporting from meshlab the final molecule will look a lot smoother.

Cheers,
Marcelo

On May 2, 2014, at 2:15 PM, Grateful Frog <gratefulfrog@gmail.com> wrote:

> Hi all,
>
> I'm new to this list and to this tool.  I have encountered a problem with exporting as wrl in pylolk 1.7 that I compiled on my Ubuntu 12.04 platform.
>
> I load a PDB file and it displays fine.
>
> I then type the command "show surface" and this works fine, too.
>
> I then save image as VRML 2, and write the file to disk.
>
> This file can be visualized fine in MeshLab.
>
> However, it cannot be 3D printed at Shapeways. The error message does not say what is wrong.
>
> The work-around that I have found is to open the wrl file, generated by Pymol, in Meshlab and re-save another copy as wrl, but generated by Meshlab. This new file can be 3D printed at Shapeways.
>
> However, the look of the surface is not as nice when it comes out of Meshlab, as it is in Pymol...
>
> Any thoughts would be great!
>
> Thanks,
> Bob
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs_______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net



------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================