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

    [Plugin] Cloud

    Scheduled Pinned Locked Moved Plugins
    72 Posts 25 Posters 92.5k Views 25 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.
    • M Offline
      mozzie
      last edited by

      For me, it's an essential tool.
      And it just gets better!
      Merci Didier!

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

        The Points Cloud Export function will be a wonderful new tool for me, but I am having trouble with the Export dialog - if I highlight a face with one divide line, then choose Points Cloud >> Export, nothing happens. The Ruby Console shows:

        Error: #<TypeError: no implicit conversion from nil to integer>
        (eval):655:in []' (eval):655:in initialize'
        (eval):1269:in new' (eval):1269:in exportPointsCloud'
        (eval):1281
        (eval):1281:in `call'

        screenshot attached

        Also - would it be possible to nominate a new (not World) origin for export, just as for Import? I will understand if you decide that it will make the tool too complicated.


        Screenshot showing Ruby Console

        1 Reply Last reply Reply Quote 0
        • MALAISEM Offline
          MALAISE
          last edited by

          Very useful, specially for terrain modelling

          MALAISE

          La Connaissance n'a de valeur que partagée

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

            Hi,

            @ Mozzie: please open the ruby console and copy-paste this line: Sketchup.active_model.options[0][2]
            Hit enter and post what happens. You should have an integer returned, from 0 to 4. Any other result shows who's the culprit...
            They changed the units options hash between 7.0 and 7.1 👿

            DB

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

              @didier bur said:

              They changed the units options hash between 7.0 and 7.1 👿

              !!! ?
              What? that has not been documented anywhere - has it?

              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,

                v6: length unit is: Sketchup.active_model.options[0][2]
                v7.0 length unit is: Sketchup.active_model.options[0][2]
                v 7.1. length unit is: Sketchup.active_model.options[3][2]

                Am I right ?

                DB

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

                  oh, you meant the array index - I thought the hash key had changed:

                  ` Sketchup.active_model.options.keys.each {|key| p key; Sketchup.active_model.options[key].each {|k,v| puts "> #{k} - #{v}"} }
                  "PageOptions"

                  ShowTransition - false
                  TransitionTime - 2.0
                  "SlideshowOptions"
                  LoopSlideshow - true
                  SlideTime - 1.0
                  "NamedOptions"
                  "UnitsOptions"
                  LengthPrecision - 0
                  LengthFormat - 0
                  LengthUnit - 2
                  LengthSnapEnabled - false
                  LengthSnapLength - 0.0393700787401575
                  AnglePrecision - 1
                  AngleSnapEnabled - true
                  SnapAngle - 15.0
                  SuppressUnitsDisplay - false
                  ForceInchDisplay - false
                  "PrintOptions"
                  PrintWidth - 7.0
                  PrintHeight - 5.0
                  ComputeSizeFromScale - false
                  SizeInPrint - 1.0
                  SizeInModel - 307.906005859375
                  VectorMode - false
                  FitToPage - true
                  NumberOfPages - 1
                  LineWeight - 0.5
                  PixelsPerInch - 150.0
                  SectionSlice - false
                  ModelExtents - false
                  PrintQuality - 3
                  ScaleAdjustment - 1.0
                  QualityAdjustment - 0.5
                  ["PageOptions", "SlideshowOptions", "NamedOptions", "UnitsOptions", "PrintOptions"]`

                  This is the same in all versions?

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

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    You shouldn't hard-code the units items like that [or any other option for that matter] - because the order can change with each build - instead use model.options["UnitsOptions"]["LengthUnit"] that will work no matter what 🤓

                    TIG

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

                      @unknownuser said:

                      use model.options["UnitsOptions"]["LengthUnit"] that will work no matter what

                      ☀ 💭
                      Of course ! I don't know why I didn't though of that before...

                      Bug fixed, new version available, same place.

                      DB

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

                        Thanks for the fix ... it is no longer necessry but result is;

                        Sketchup.active_model.options[0][2]
                        nil

                        for 7.1

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

                          There are four Cloud threads - can we clean these up please?
                          For instance;
                          Removing the download for the old ones,
                          Replacing [Plugin] with [Obsolete]
                          Add a link to the new version
                          Then finally lock the old ones?

                          When I was looking at the plugin index it was confusing to what was the latest version.

                          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

                            @unknownuser said:

                            Difficult to keep track of what's new, some topics contain plugins but not the [Plugin] prefix, other topics are posted as questions and then a plugin is added but the first post not renamed with the prefix, etc.

                            Yea - we should do a cleanup of all these - have them reposted fresh and remove any outdated version.

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

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

                              Thanks very much for providing this plugin, we've recently invested in a Total Station & this translates the point data reliably. Providing a help file is also a boon.
                              We're also using TIG's contourmaker plugin, which helps when exporting to data to AutoCAD.

                              Regards,
                              JGA

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                Erkki
                                last edited by

                                Hi,

                                How to get Cloud_71.rbs and Cloud_6.rb to work?

                                My intention is to load elevation data of a terrain collected with the help of a GSP-logger to create a terrain model for a village. I noticed that there is a plugin Cloud_71.rbs in the Ruby Library Depot by Didier Bur. I understand that the plugin accepts elevation data, if it is in the CSV-format described in the pdf of the plugin. I downloaded Cloud_71.rbs in the plugin folder of Sketchup 7.1 (Windows XP Pro).

                                For some reason the Cloud_71.rbs didn't show up in the Plugin menu or any other menu either after restart of Sketchup 7.1. The older "Clouds" with extension .rb show up, but unfortunately I wasn't able to get them work with the downloaded sample files, although I browsed all the possible SketchUcation discussion forums and also some others for help.

                                Does anyone know if there is an any easy way to get the Cloud_xx.rb plugins to work? And how to get the Cloud_71.rbs plugin show up and make terrain in Sketchup 7.1 or even in the newer Sketchup 8? I'm convinced that there are ways - I just couldn't find the way.

                                I'd be grateful for your help.

                                Kind regards Erkki Finni

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

                                  Hi,
                                  Avoid having more than one version of a plugin installed at the same time, remove older versions of cloud script, this may cause the problem.
                                  Hope this helps,

                                  DB

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Erkki
                                    last edited by

                                    @didier bur said:

                                    Hi,
                                    Avoid having more than one version of a plugin installed at the same time, remove older versions of cloud script, this may cause the problem.
                                    Hope this helps,

                                    Hi,

                                    Thanks for the hint! I'll try to do this.

                                    Regards Erkki Finni

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      Erkki
                                      last edited by

                                      @didier bur said:

                                      Hi,
                                      Avoid having more than one version of a plugin installed at the same time, remove older versions of cloud script, this may cause the problem.
                                      Hope this helps,

                                      Hi again,

                                      1. I removed the oldest versions of the Cloud_xx.rb plugins and
                                      2. left only Cloud_71.rbs in the Plugin folder of Skecthup 7.1.
                                      3. I started Skecthup
                                      4. As it was opened, the File menu included Points Cloud option
                                      5. After this everything was childsplay - all the test files were
                                        drawn beatifully on the screen. I didn't test the Export-option yet.
                                      6. I repeated the test with Skecthup 8.0.3117 and the result was also good.

                                      This success made me happy and confident to use the plugin for my orginal purpose; to create terrain by using GPS-logger data as input. So many thanks for your help!

                                      Kind regards Erkki Finni

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

                                        anyone tried this on a file with about half a billion points?

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

                                          Hi,
                                          It should import the points quite quickly, but for triangulation: forget it (the delaunay algorithm is slow and SU is lazy when drawing such a bunch of new entities).
                                          Regards,

                                          DB

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

                                            @didier bur said:

                                            Hi,
                                            It should import the points quite quickly, but for triangulation: forget it (the delaunay algorithm is slow and SU is lazy when drawing such a bunch of new entities).
                                            Regards,

                                            Tried building the geometry with fill_from_mesh ?

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

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

                                            Advertisement