• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Create 3d mesh from construction points... ver 1.0

Scheduled Pinned Locked Moved Plugins
15 Posts 8 Posters 20.0k Views 8 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    Jim
    last edited by 3 Aug 2009, 14:41

    Need a test model?


    stanford_bunny_verts.jpg


    stanford_bunny_verts.skp

    Hi

    1 Reply Last reply Reply Quote 0
    • I Offline
      ideas_arte
      last edited by 3 Aug 2009, 14:49

      This is very impressive, thank you very much! πŸ˜„

      1 Reply Last reply Reply Quote 0
      • C Offline
        Chris Fullmer
        last edited by 3 Aug 2009, 18:52

        Maybe a roadkill bunny that got squashed by a truck, so all its z values are the same? πŸ˜„

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • K Offline
          kirill2008
          last edited by 4 Aug 2009, 08:20

          @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:

          http://pics.livejournal.com/lss2008/pic/0003htxh/s320x320

          Failed 'pnts2mesh.rb' test:

          http://pics.livejournal.com/lss2008/pic/0003gckr/s320x320

          Only rectangular hat is more or less succesful:

          http://pics.livejournal.com/lss2008/pic/0003f5eg/s320x320

          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).

          http://pics.livejournal.com/lss2008/pic/0003k5dx/s320x320

          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.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mitcorb
            last edited by 4 Aug 2009, 12:00

            Hi, kirill2008:
            Thank you for this timely and very useful plugin.
            I am in the process of using it for a site topo.
            I hope you can refine the z precision. Currently, I am correcting z's by moving the geometry one by one. This probably affects the local surrounding slopes and elevations and produces a surface no more accurate than leaving the z's alone.

            You mentioned the Constrained Delaunay Triangulation. Is this available for use in Sketchup 6 or 7 through the User Interface?

            Thanks once again.
            mitcorb

            I take the slow, deliberate approach in my aimless wandering.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gaieus
              last edited by 4 Aug 2009, 13:08

              Hi Mitcorb,

              You could either use points_cloud_triangulation (if you already have the points imported) or Cloud_V6 (if you "only" have the xyz data). Practically, both use the same (Delaunay) triangulation method - at least as far as I know.

              Gai...

              1 Reply Last reply Reply Quote 0
              • M Offline
                mitcorb
                last edited by 4 Aug 2009, 14:00

                Thanks, Gaieus
                I will give these a look.
                I salute you for your tireless efforts.
                mitcorb

                I take the slow, deliberate approach in my aimless wandering.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kirill2008
                  last edited by 4 Aug 2009, 16:47

                  @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.

                  http://pics.livejournal.com/lss2008/pic/0003q03p

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kirill2008
                    last edited by 4 Aug 2009, 16:52

                    @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 😳

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mitcorb
                      last edited by 4 Aug 2009, 17:00

                      OK, thanks.
                      I did not realize that Sketchup was already using these concepts in its standard tools.
                      That is what is so good about this forum.

                      By the way, I am merely experimenting with the plugin and I do realize that the original intention of Sketchup was to be a "quick" vizualization tool. Actually, doing the tedious knitting to tweak a model is a learning process in itself, and having gone through the process, I feel that my learning curve is beginning to level out a bit, as far as modeling goes. (still much to learn about ruby and rendering)

                      Thanks again, I am having fun.
                      mitcorb

                      I take the slow, deliberate approach in my aimless wandering.

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kirill2008
                        last edited by 5 Aug 2009, 03:55

                        @mitcorb said:

                        That is what is so good about this forum.

                        I agreee. This forum keeps very friendly atmosphere as well and it's great πŸ‘ and positive.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        1 / 1
                        • First post
                          14/15
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement