Point Triangulation Help
-
I need to create surfaces from point cloud data collected from a total station. I found a couple of tutorials here but the link to the ruby script is just text not a file.
http://rhin.crai.archi.fr/RubyLibraryDepot/Ruby/points_cloud_triangulation.rb
What am I doing wrong?
Thanks,
Matt -
Hi Matt,
Ruby scripts are essentially text files. If you are already directed to the file itself, select all the text in it, copy and paste it into a simple text editor (like typically notepad on Windows) then save the file with the exact name.extension
points_cloud_triangulation.rb
to your plugins folder under your SU app in Program files (wherever it is in Win7 - I am on XP and its location is:C:\Program Files\Google\Google SketchUp 7\Plugins
)
Edit: if you have the point data inan external file, here is another plugin you canimport it with:
http://forums.sketchucation.com/viewtopic.php?f=323&t=1533
points_cloud_triangulation.rb
is for construction (aka guide) points already in SU. -
Thanks. It didn't work. I don't see any options in SU for Point Triangulation. Basically I want to use SU for Crime Scene and Accident Reconstruction. I use a total station to collect point data from scenes. I import that data from the total station's data collector into a program called CADZone. From CADZone I export a dwg file. I want to create road, sidewalk and terrain surfaces from these points and lines. I can forward you an example from the software. Should I connect the points with lines and use the sandbox's from contours tool? Any ideas would be appeciated.
-
I've been trying to use the same plugin, now located at
http://rhin.crai.archi.fr/rubylibrarydepot/plugin_details.php?id=292
after correcting the spelling mistake calling delaunay2 when the file was called delauney2,
it loaded correctly. however, after trying to triangulate points in SU8 Pro the following is printed in the log
Error; #<NoMethodError; undefined method `position' for #<Sketchup;;Edge;0xa726168>> C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/points_cloud_triangulation.rb;63;in `points_to_array' C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/points_cloud_triangulation.rb;61;in `each' C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/points_cloud_triangulation.rb;61;in `points_to_array' C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/points_cloud_triangulation.rb;101;in `triangulate_points' C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/points_cloud_triangulation.rb;133
can anyone help?
thanks
Advertisement