Forgot password?

Create an account!

Forum

« back

Python – Exporting triangles

Messages

Please log in to write a message.

  • 3. eclatdigital (Dec 29, 2012 23.17):

    Hi,

    Thanks for the help. I just figured out that 'Rhino' import is a much more powerful python interface than 'rhinoscript' with tons of features.

    Currently, this only export meshes that were already generated (for instance by using render or mesh poly count before) but I should figure out how to trigger mesh generation in python.

    Regards,

    Etienne

  • 2. Hanno (Dec 24, 2012 11.11):

    Hi Etienne,

    have a look at Rhino.DocObjects.RhinoObject.GetRenderMeshes, this should do what you need.

    Hope that helps!

    Hanno

  • 1. eclatdigital (Dec 21, 2012 16.01):

    Dear users and developpers,

    I am writing a python script for exporting scene geometry to an xml file for scientific analysis. I need to export all surfaces to triangles or quads.
    Currently this works for meshes, bu I would like to export all other surface types.
    I could create meshes from every surface object in the script, then export the meshes, then delete them. But is there a way to read the "render meshes" that rhino creates for previewing/rendering directly?

    Thanks,

    Etienne

Recommend

Why are these buttons gray?