sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Cloud.rb for SU6

    Scheduled Pinned Locked Moved Plugins
    54 Posts 18 Posters 47.4k Views 18 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.
    • GaieusG Offline
      Gaieus
      last edited by

      @monotonx said:

      ...there could be (sometimes if someone ist willing to) a modification/upgrade to the existing cloud.rb, a "simplyfy mesh" routine. (easy-way: leave every scond point unused, great way: check which point are planar or nearly planar so it doesn't give much additional information )

      With another plugin by Didier it is easily possible:
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=11320

      Gai...

      1 Reply Last reply Reply Quote 0
      • M Offline
        Monotonx
        last edited by

        Heey...

        Finally It worked out with the Points_cloud_triangulation 😄

        ...sure it's hell of a file now, and it's really not easy to work with it.
        but THAT I have the model is, what counts for me at this moment.

        I'll try to simplify the mesh with that terrain-reshaper, but I don't know if this is the right tool for this - I mean the terrain is already regular, but there are way to much lines and polygones to work fluent. 😄

        again - thank you all 😄

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          Well, with the reshaper it would be possible to set a less dense network of points which means smaller file size / better performance.

          The overall appearance of the mesh would not change drastically.

          Gai...

          1 Reply Last reply Reply Quote 0
          • M Offline
            Monotonx
            last edited by

            here some pics 😄


            punktewolke_lines.jpg


            punktewolke.jpg

            1 Reply Last reply Reply Quote 0
            • GaieusG Offline
              Gaieus
              last edited by

              Well, that's a large one for sure!

              Gai...

              1 Reply Last reply Reply Quote 0
              • A Offline
                Arkadiusz
                last edited by

                @Didier Bur
                Great Work! Your scripts are very useful.

                @TaffGoch
                Thanks for helpfull info!

                “Do not go where the path may lead; go instead where there is no path and leave a trail”

                Btw, I'm looking for *.rb to approximate edge from cloud points.

                "I'd rather be hated for who I am, than loved for who I am not."

                1 Reply Last reply Reply Quote 0
                • S Offline
                  SAnderka
                  last edited by

                  Just tried the plugin with both SU6 free and SU7 free, but after selecting a file (even example.dat provided by the author) in the "select points cloud file" dialog, nothing happens.

                  Are there any dependencies that I'm missing?

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    johnpa
                    last edited by

                    Take a look at this post and download the revised script and you should be good to go. The link to the script is in the post at the top of the thread.

                    http://forums.sketchucation.com/viewtopic.php?f=323&t=15807&p=209535&hilit=cloud#p209535

                    JP

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SAnderka
                      last edited by

                      @johnpa said:

                      Take a look at this post and download the revised script and you should be good to go. The link to the script is in the post at the top of the thread.

                      http://forums.sketchucation.com/viewtopic.php?f=323&t=15807&p=209535&hilit=cloud#p209535

                      JP

                      Awesome, thanks!

                      There is one interesting thing: The plugin won't work on my PC if i copy the examples.dat on my desktop. If I copy it anywhere else, it works just fine, but locating it on the desktop just reproduces the "nothing happens" error it reported above...

                      EDIT: Some further testing revealed that the plugin can't handle umlauts in directory names (my user account contains a German umlaut). I created test directories with and without umlauts and this error seems quite reproducible.

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bigfatfool
                        last edited by

                        Hi Guys,

                        I have tried everything writen here and I still suffer the problems of many others... nothing happens when I try to import point?!

                        I am using windows 7 x86, sketchup 7 latest version... please help cos my head now hurts...

                        Cheers,

                        Nic

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          Open the Ruby Console before you try to import and post back any error.

                          Thomas Thomassen — SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            @sanderka said:

                            EDIT: Some further testing revealed that the plugin can't handle umlauts in directory names (my user account contains a German umlaut). I created test directories with and without umlauts and this error seems quite reproducible.

                            This is a limitation of the Ruby version that SketchUp ships with. On PC, SketchUp Ruby can not handle any files or folders with non-ASCII characters. The only workaround is for the user to ensure the file and path contains only ASCII characters.

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • Didier BurD Offline
                              Didier Bur
                              last edited by

                              Hi,
                              I'm just about to release a new version with some improvements, but thomthom is right: avoid local characters in pathes.
                              Regards,

                              DB

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                johnpa
                                last edited by

                                I have gotten cloud to work for me in the past. I even wrote a tutorial to use to teach landscape architecture students how to create a surface from data they gather in the field. But alas it doesn't want to work for me now.

                                I have downloaded Didier's latest version (Cloud67) and installed it. The first menu sees the file and then I click on the origin to create the surface. Nothing happens after that. The Ruby console reports the following error:

                                Error: #<TypeError: nil can't be coerced into Float>
                                (eval):1587:in *' (eval):1587:in draw_geometry'
                                (eval):1584:in each' (eval):1584:in draw_geometry'
                                (eval):1465:in `onLButtonUp'
                                (eval):1584

                                Any help would be really appreciated.

                                JP

                                1 Reply Last reply Reply Quote 0
                                • Didier BurD Offline
                                  Didier Bur
                                  last edited by

                                  Hi John,
                                  Cloud67 isn't the latest version, here you can try with 71:
                                  http://rhin.crai.archi.fr/RubyLibraryDepot/plugin_details.php?id=678
                                  Tell me if it works.
                                  Regards,

                                  DB

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    johnpa
                                    last edited by

                                    Didier,

                                    Thanks, you have come through for me again. Cloud71 works like a champ.

                                    I just read through the revised documentation. Nice job. I appreciate how much time it takes to write something like that.

                                    Regards,

                                    JP

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      foudegrat
                                      last edited by

                                      Hello
                                      I'm french so excuse my poor english
                                      I just instal the last version of Cloud ( cloud_v8b.rbs) with SU8
                                      when I try with the example file, it works perfectly but when i try with a personnal file, it doesn't work at all
                                      my file is a carrect scv file with ";" for separation, but after the choose of the ile in the windows, nothing appends.
                                      9 don't understand the reasons of this bug
                                      can you help me?

                                      tahnks a lot

                                      1 Reply Last reply Reply Quote 0
                                      • Didier BurD Offline
                                        Didier Bur
                                        last edited by

                                        Hi,
                                        @foydegrat: envoies-moi le fichier, c'est plus simple, sinon je ne vois pas comment débugger...

                                        DB

                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          foudegrat
                                          last edited by

                                          Voila le fichier
                                          en français c'est beaucoup mieux.
                                          Merci de ton aide Didier!

                                          1 Reply Last reply Reply Quote 0
                                          • F Offline
                                            foudegrat
                                            last edited by

                                            Voila le fichier (second essai avec un csv ca passe pas)
                                            en français c'est beaucoup mieux.
                                            Merci de ton aide Didier!


                                            MNT_25M.txt

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

                                            Advertisement