@jim said:
Need a test model?
I'm afraid 'pnts2mesh.rb' will fail in such test
You see, plugin creates only rectangular 3d mesh and calculates only one z level for each x,y position. It has no enough power to process a bunny
@jim said:
Need a test model?
I'm afraid 'pnts2mesh.rb' will fail in such test
You see, plugin creates only rectangular 3d mesh and calculates only one z level for each x,y position. It has no enough power to process a bunny
@mitcorb said:
Currently, I am correcting z's by moving the geometry one by one.
OMG, it's no good... I'll try to fix z calculation as soon as possible. But I guess you need to try alternative terrain generation tools also, because I doubt whether little (btw, experimental) plugin has enough power to perform complex topo site work.
@mitcorb said:
You mentioned the Constrained Delaunay Triangulation. Is this available for use in Sketchup 6 or 7 through the User Interface?
Yes it is available. If you have terrain contours (horizontals), then you may try to generate triangulated surface from contours. It is one of "Sand box tool" (built-in) possibilities.
@chris fullmer said:
Maybe a roadkill bunny that got squashed by a truck, so all its z values are the same?
Chris
Well... Actually a rectangular (not necessary flat) bunny would be more suitable, I guess .
The initial 6000 points girl:
Failed 'pnts2mesh.rb' test:
Only rectangular hat is more or less succesful:
Well, the current algorithm is better when you've got few construction points and need to obtain a smooth rectangular piece of terrain (similar to the sandbox tool).
The plugin treats each construction point as a local extremum of the result surface.
If the points cloud is quite dense, then Constrained Delaunay Triangulation (CDT) is more proper choice.
Thanks for feedback! Especially for progressbar, of course I keep it
Didier, you did not miss about exactness... As I mentioned in description, plugin creates only approximate 3d mesh surface and it is really due to the "z" calculation formula.
I'm going to make it more accurate. I just need to adapt cumulative mesh length minimization algorithm from another project (more info: http://lss2008.livejournal.com/9938.html). Of course, it will take a little time
Description: Little plug-in, which creates approximate 3d mesh from a set of selected construction points.
Usage: 1) put “pnts2mesh.rb” to “Google SketchUp 6\Plugins” folder
2) start SketchUp 6
3) draw some construction points (or import dxf file with points cloud)
4) select a set of construction points, which you want to be processed, on the screen
5) choose “Plugins>> Create 3d mesh from construction points...” command from the main menu
6) “Mesh Settings” input box appears, specify appropriate values for “Cells count” and click “Ok” (note: big values of “Cells count” takes a lot of time to process)
Videos of usage:
http://www.youtube.com/watch?v=iM4foc0MLTU
http://www.youtube.com/watch?v=NZw-PwH9bDY