Hi,

Has anyone imported a point cloud as individual points with the RGB color information intact?

Thanks

Views: 150

Reply to This

Replies to This Discussion

I don't think Rhino has native tools for that. 

I believe the RhinoTerrain plug-in does support that.

http://www.rhinoterrain.com/page392-0-products.html

John Brock
Tech Support
Rhinoceros
Seattle
USA

I have a Python script created by a dinosaur on the other newsgroup that imports xyz rgb files and creates a point cloud.  The format of the file should be  x y z r g b --> one line for each point, space as a separator.

----H

Attachments:

I want to thank you for the script.  It works great!  I can move forward now!

Chuck Rogers

That is exactly what i am looking for. However, i have never used python with rhino. Could you explain how to run it? Load it like a rhinoscript?

Thanks
Andrey

If you are only going to run the script occasionally, the easiest thing to do is to run it out of the Python script editor.  Type _EditPythonScript, in the editor use File>Open and browse to the script and OK.  Then press the green arrow to run the script.

For more consistent use you can run it from a button - like a Rhinoscript - just use RunPythonScript instead of Runscript.

! _NoEcho _RunPythonScript (

<paste entire script in here>

)

You can also use an alias - for that you need to set a search path to where your Python scripts are loaded.  In the Python editor, go to Tools>Options>Files tab and put in a search path to a folder where you are going to store your Python scripts (make sure you have permissions on this folder). Then, all you need to do is use:

! _NoEcho _RunPythonScript (put the file name of the script here)

You can set this up as an alias or that could also go in a toolbar button.

HTH,  ----H

RSS

Translate

© 2013   Created by McNeel Admin.

Badges  |  Report an Issue  |  Terms of Service