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

[Plugin] Cloud V6 update

Scheduled Pinned Locked Moved Plugins
15 Posts 10 Posters 17.5k Views 10 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.
  • D Offline
    Didier Bur
    last edited by 21 Nov 2007, 18:50

    Hi all,

    Here is an update of the "import points cloud" script.
    As a user requested, you can now click a point to translate the cloud to a new origin.

    Bugs fixed Sat Nov 17 2007:

    • Files countaining multiple data per line now OK
    • Problem with component instances fixed

    Cloud_V6.zip


    Cloud V6.pdf

    DB

    1 Reply Last reply Reply Quote 0
    • M Offline
      mozzie
      last edited by 21 Nov 2007, 18:51

      Wow!
      ๐Ÿ˜„
      Thanks Didier ... 24 hour turnaround is impressive!

      I'll try it out tomorrow.

      1 Reply Last reply Reply Quote 0
      • A Offline
        ARUNKUMAR
        last edited by 21 Nov 2007, 18:52

        Hello Didier,

        I'am new user of SU Pro (ver 6). I have gone thru your previous postings regarding ruby scripts and I sincerely thank you for the help provided to the SU user community.

        Through one of your links, am able to download cloud.rb and also the related pdf document for installation & usage.

        Now am trying to check it with my existing data file which is in .txt format. I'am able to see a message at the bottom left of my screen as "2045 points to import" after providing required info in "Points Cloud Option" dialog box but nothing is created on screen.

        I'am using a space delimited file. Is there any restriction with no. of input points.....please suggest.

        Thanks

        @didier bur said:

        Hi all,

        Here is an update of the "import points cloud" script.
        As a user requested, you can now click a point to translate the cloud to a new origin.

        1 Reply Last reply Reply Quote 0
        • J Offline
          juju
          last edited by 21 Nov 2007, 18:53

          People, please do not discuss the scripts here, this is the repository. Use the regular Ruby subforum.

          Save the Earth, it's the only planet with chocolate.

          1 Reply Last reply Reply Quote 0
          • V Offline
            vincenz
            last edited by 10 Sept 2008, 10:08

            hi,
            downloaded the zip file and unzipped but cloud_v6.rb seems packed, can not be read, what is wrong?

            vinc.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gaieus
              last edited by 10 Sept 2008, 10:11

              It's just encod4ed I believe. It works without you being able to read the script.

              Gai...

              1 Reply Last reply Reply Quote 0
              • M Offline
                muawiyadotcom
                last edited by 13 Jan 2011, 07:58

                wow amazing !!!
                many many thanx ......
                very great help....
                again thanx.......

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 13 Jan 2011, 09:31

                  @vincenz said:

                  hi,
                  downloaded the zip file and unzipped but cloud_v6.rb seems packed, can not be read, what is wrong?
                  vinc.

                  For cloud_v8b.rbs - it's a .rbs file and therefore it is strongly 'encrypted'.
                  The earlier versions of the script [like cloud_v6.rb] might be .rb files... BUT it is still possible to 'pack' these to make them unreadable to the users - however, some of us with more developed Ruby skills can 'unpack' these back into human-readable code, that will still work as a script [I actually helped Didier 'unpack' one of his scripts, after he'd 'lost' the original readable base code and needed to change it!]. You must remember that authors 'pack' their code to protect it from casual pilfering of algorithms and 'encrypt' their code to completely protect it - personally I rarely try to 'hide' my code from the users... If a script is somehow obfuscated there should be some separate help file - pdf/html - to help users without them needing to be able to read the script itself...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xrok1
                    last edited by 14 Jan 2011, 05:06

                    does this work with SU8? i can't even get the example file to work.
                    i get this in the ruby console :

                    Error: #<TypeError: nil can't be coerced into Length>
                    (eval):305:in *' (eval):305:in draw_geometry'
                    (eval):302:in each' (eval):302:in draw_geometry'
                    (eval):217:in `onLButtonUp'
                    (eval):305

                    โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

                    http://www.Twilightrender.com try it!

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Didier Bur
                      last edited by 14 Jan 2011, 11:03

                      Hi,
                      I suggest you download the latest version for SU8 here: http://rhin.crai.archi.fr/RubyLibraryDepot/plugin_details.php?id=777
                      Regards,

                      DB

                      1 Reply Last reply Reply Quote 0
                      • X Offline
                        xrok1
                        last edited by 14 Jan 2011, 22:29

                        can't get it to show up in the plugins menu?

                        โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

                        http://www.Twilightrender.com try it!

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          xrok1
                          last edited by 15 Jan 2011, 00:35

                          ๐Ÿ˜ณ ๐Ÿ˜ณ nevermind! found it in the file menu ๐Ÿ˜ณ ๐Ÿ˜ณ

                          โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

                          http://www.Twilightrender.com try it!

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            phessels
                            last edited by 23 Jan 2012, 18:12

                            Hi Didier,

                            thanks for all your great work!

                            Unfortunately, after hours of trying, i too can't get it to show up in the plug in menu.
                            This is the message i get when starting up SU8:

                            Error Loading File animation.rb
                            undefined method GetString' for nil:NilClassError Loading File attributes.rb undefined method GetString' for nil:NilClassError Loading File box.rb
                            undefined method GetString' for nil:NilClassError Loading File examplescripts.rb no such file to load -- examples/box.rbError Loading File ocean.rb undefined method GetString' for nil:NilClass

                            Any idea?

                            Pieter

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 24 Jan 2012, 09:44

                              @phessels said:

                              Hi Didier,

                              thanks for all your great work!

                              Unfortunately, after hours of trying, i too can't get it to show up in the plug in menu.
                              This is the message i get when starting up SU8:

                              Error Loading File animation.rb
                              undefined method GetString' for nil:NilClassError Loading File attributes.rb undefined method GetString' for nil:NilClassError Loading File box.rb
                              undefined method GetString' for nil:NilClassError Loading File examplescripts.rb no such file to load -- examples/box.rbError Loading File ocean.rb undefined method GetString' for nil:NilClass...
                              This error appears to have nothing to do with the tool in this thread... Have you installed other tools or moved files around etc ?
                              The Examples folder within the Plugins folder contains several example script files that you can activate from Preferences > Extensions [so can 'Ocean']. These are the .rb scripts listed in the error message. They use 'GetString' which is loaded by langhandler.rb which is itself loaded from inside the Tools folder that loads after the Plugins items - however, to ensure that such files are available, then any 'earlier loading' scripts should use " require 'langhandler.rb'" [they often also "require" other files like ' sketchup.rb' and ' extensions.rb' which provide other vital functionality], which loads them [if they are not already loaded] from anywhere in the list of possible auto-load-folders, this way loading errors are avoided.
                              The files that are in Tools should NEVER be moved into Plugins.
                              There should never be files with the same names in Plugins as they will be found first and loaded instead of the Tools ones, and cause confusion; there are some 'collections' toolbar sets that ill-advisedly packaged a number of these Tools scripts [older versions] that users then install into Plugins with unexpected effects!
                              You must have the latest scripts for v8 in its Tools folder only!!
                              So, first question... do you have a Tools folder - it should have been automatically made/populated when Sketchup was installed.
                              Does it contain several .rb files like those mentioned above.
                              Do you have versions of any of these inside Plugins? [if so remove them!]
                              If you have 'lost' any of these Tools .rb files then reinstall Sketchup to restore them.
                              One of the errors also suggests that the Examples folder might not be in Plugins ?
                              You should leave [have left] all of its contents where they are !
                              Can you post a screenshot of your folder/files setup ?
                              ๐Ÿ˜•
                              EDIT:
                              One final idea... I note you are on MAC.
                              The examples.rb uses the code require 'LangHandler.rb' but the file itself is actually called ' langhandler.rb', similarly the Examples folder is refered to as examples/.... On a PC lowercase/uppercase letters in folder/file-names are taken as equivalent, so there are no issues [CAT.rb==cat.RB].
                              This is the same on a MAC - with the default settings [I think] - BUT because MACs are Unix based you can set a System 'flag' to consider 'Examples' and 'examples' as two distinct folders that can then coexist in the same parent folder, and the same with file-names. SO... do you have that system flag set ? If so can you unset it !?
                              It can lead to all sorts of issues because Ruby files can be sloppily written and disregard 'character-case' ๐Ÿ˜’

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                phessels
                                last edited by 24 Jan 2012, 11:37

                                Hi Didier,

                                thanks for your message, very kind indeed!
                                When uninstalling Sketchup I realised I had been putting all my plugin's into a different SU folder, namely directly into the SU folder from my Applications shortcut. I guess I had added a Plug-in folder when not seeing one there, silly me. ๐Ÿ˜‰
                                I then went to the original folder through app support and realised where they were supposed to go.
                                Beginner Mac mistake I guess.

                                Many thanks again for your help.
                                It works like a charm now!!!

                                I ended up using the Triangulate rb. I use the TIG's to make a DTM (digital terrain model) for landscape design, rendering it with my drawings and then adding 3d features which I'll then make 3d sketches of as I still don't think SU does the job for presentation quality landscape design. just still feels too cheap.

                                See below:


                                result

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

                                Advertisement