[Plugin] Triangulate Points
-
Wow! While I was working on my reply TIG has triangulated my point cloud. Great! But it was a planar model and I did the same in SU 7.1 (I can still not manage TIG's package in SU 8), let's do something more difficult.
I scan with my3dscanner.com, I receive and download a .ply point cloud, than I import it into SU as CSV via Cloud_V7.1 (6 or 8).
I am testing SU plugins to triangulate. I get bad results if I try to triangulate the whole model either by Cloud_V8 or great TIG package.
I have scaled the model, but it didn't work. I am a little confused about scaling (my3dscanner HAS NO SCALE AT ALL which is bad), but scaling proposed by Rich did not work for Lion model.
My point is to illustrate bad results (this is what Rich has asked for) if you mesh the model as a whole and if it is complex, not planar.
This is a workflow: .ply dense point cloud, csv sparse point cloud imported into SU, bad triangulation results.
I do know that if I triangulate a model in portions it will work. Little by little. I also suspect model orientation is a key. You are welcomed to play with the file I tried to triangulate (unfortunately CSV format is not supported here).
Please be forgiving to my questions and comments. Sadly I know very little about SU and I am here to learn, not to promote my3dscanner which I used to be one of the developers. I feel awkward discussing these matters with gurus of SU.
-
You might have made it too big by x10 but that's better than too small...
The use of a points cloud import is typically from surveyed land, so it's not expecting a 3D object - more a countoured surface.
I suggest you slice you points in something like 'half' horizontally and then merge the two surfaces together later... More like making a mold or a face-mask than a full 3D object straight off... -
TIG,
I see your point. Size limitation comment was very helpull as well. Thank you, guys!
-
And TIG, your triangulation plugin works in SU8 beautifully. I was a dumb head...
-
It does not respect "Cancel" as a response to the inputbox...
-
It never did - even in Didier's original version!
If you cancel the layer naming dialog then it'll use layer 'nil' - e.g. 'Layer0'.
Once you run the tool it runs the processing to the end - the layer dialog only lets you determine a layer for the mesh-group if desired, with cancel canceling the layer naming but not the main tool's operation, which carries on relentlessly. Frankly the whole layer part could be omitted, it's results are all grouped and you could easily re-layer that as desired later... -
Here's v1.1...
http://sketchucation.com/plugin/1110-tig_points_cloud_triangulation
It fixes an issue discovered with the encoding of the helper file "delauney3.rb" - which was found to be incompatible with SketchUp v2014 and Ruby2... -
I don't know what I'm doing wrong. I'm working on Sketchup 2014, installed the latest compatible version of the extension and when trying to triangulate a point cloud it always tells me "no guide-points selected". What is that I might be doing wrong?
-
Same here
-
Are you actually selecting the guide-points before running the script ?
Remember that if they are inside a group/component you must edit it, then select them before running the script... -
Hi Im' searching for the related "delaunay3.rb" pluging but I cannot find it, as the link in teh beginnig of teh post is not working. Could you fix that or give us a different link?
Thanks a lot.
Advertisement