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

    [Plugin] Compo Spray 1.4.2 Updated

    Scheduled Pinned Locked Moved Plugins
    271 Posts 89 Posters 301.3k Views 89 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.
    • soloS Offline
      solo
      last edited by

      👍

      Thanks Tig, working now.

      http://www.solos-art.com

      If you see a toilet in your dreams do not use it.

      1 Reply Last reply Reply Quote 0
      • V Offline
        valerostudio
        last edited by

        Yes, working. Made sure to delete any old versions and working now in 2015 x64 Win7. HUGE THANKS!!!!

        1 Reply Last reply Reply Quote 0
        • V Offline
          valerostudio
          last edited by

          When you get the warning box that it will take X minutes to complete and you click NO the box doesn't go away and the plugin will not close.

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

            @valerostudio said:

            When you get the warning box that it will take X minutes to complete and you click NO the box doesn't go away and the plugin will not close.
            Didier's code is Byzantine in its complexity !
            I suspect it's because he used 'break' in the earlier version that itself broke in Ruby2.
            I replaced it with 'return', but that does nothing !
            Maybe the earlier 'break' effectively stopped the tool ?
            I'll look through and see if I can adjust things...

            TIG

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

              Here's an updated version in the PluginStore http://sketchucation.com/pluginstore?pln=compoSpray
              Now if you are about to add thousands of components and the warning dialog asks if you want to proceed and you answer NO, then the tool quits and the dialog closes.
              Answer YES and it continues...

              TIG

              1 Reply Last reply Reply Quote 0
              • CadFatherC Offline
                CadFather
                last edited by

                now it is perfect. thank you TIG 👍

                1 Reply Last reply Reply Quote 0
                • V Offline
                  valerostudio
                  last edited by

                  Actually I just got a Bugsplat when it tried to close. 😢

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

                    @valerostudio said:

                    Actually I just got a Bugsplat when it tried to close. 😢
                    Please outline your steps.
                    e.g. what was open, or what was the last thing you did when you closed and splatted ?

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • chonC Offline
                      chon
                      last edited by

                      TIG,

                      with your last version, i've got the same problem as Shape Bender, it works fine when i put the CompoSpray plugin in the C:\Users\XX\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins folder, but it doesn't work when i put it my Fredo6's AdditionalPluginFolder. 😳

                      I've got that : When you get the warning box that it will take X minutes to complete and you click NO the box doesn't go away and the plugin will not close.

                      Any suggestion ? 😕

                      SU2019 pro 19.3.253 + VRay 4.00.02 (Next) on Win10-64Bits

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

                        @chon said:

                        TIG,

                        with your last version, i've got the same problem as Shape Bender, it works fine when i put the CompoSpray plugin in the C:\Users\XX\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins folder, but it doesn't work when i put it my Fredo6's AdditionalPluginFolder. 😳

                        I've got that : When you get the warning box that it will take X minutes to complete and you click NO the box doesn't go away and the plugin will not close.

                        Any suggestion ? 😕
                        I deliberately removed the limitations of using when loading from a non-default Plugins folder - I have it working from a custom-folder on my PC, so it works - and so something is adrift with your set up...
                        Do you have the very latest version from the PluginStore ?

                        I also did a fix to stop when you say so...

                        That leads me to suspect you haven't installed the latest version in your custom-folder ?
                        How are you installing it ?
                        The SketchUcation submenu > Archive Installer... will install an RBZ in a custom-folder...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • chonC Offline
                          chon
                          last edited by

                          Thanks for response TIG !

                          I wrote my feedback too quickly : In the "official" SU2015 plugins folder, i still get the "X minutes to complete" message but i can say NO and in the AdditionalPluginFolder, i can't say NO.

                          Unfortunately, that not solves the "X minutes to complete" problem itself. Even then the plugin is in the official plugins folder, i've got 2 simple components and i try to spray them on a single short line and still have this message and no process.

                          For the installation, i've got your last compoSpray_v1.4.2xxx version and as all other plugins, i extract file and folder from the RBZ archive and paste them manually in my AdditionalPluginFolder.

                          SU2019 pro 19.3.253 + VRay 4.00.02 (Next) on Win10-64Bits

                          1 Reply Last reply Reply Quote 0
                          • I Offline
                            imranbangash
                            last edited by

                            Can anyone help me? i get this error message in sketchup 2013

                            Error Loading File compoSprayToolbar.rb
                            undefined method `compSpray_env' for main:Object

                            😳

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

                              Do you have the full error message ?
                              How have you installed this RBZ ?
                              If you have the latest v8[>=M2] or newer then Preferences > Extensions > Install button will install the RBZ contents properly.
                              Manually installing from an RBZ suffixed .zip and manually moving files/folders into Plugins is a recipe for disaster.
                              The 'loader' .rb and its subfolder[s] of all of its helper files etc needs to be kept intact...
                              Can we see you Plugins folder contents and the tool's subfolder's too ?

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rhinoferoce
                                last edited by

                                Hello, I have the exact same error here, with SU2013 Pro.
                                Used to work but broke up after update through Sketchucation Plugin Store plugin.
                                I tried to uninstall and reinstall the last version through the extension installer in preferences, but it still doesn't work.

                                "Error Loading File compoSprayToolbar.rb
                                undefined method `compSpray_env' for main:Object" is the only message I get when launching sketchup. Then no toolbar...

                                If anyone have an idea...

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

                                  I'll have a look into it...
                                  But first, can you post the FULL error-message...
                                  It is usually much longer than that 😕

                                  TIG

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

                                    More info...
                                    The command [aka method] compSpray_env() is called early on in the loading of the loader-file compoSprayToolbar.rb in line #9.
                                    This is set up by in line #43 of the CompoUtils.rbs file within the ../Plugins/CompoSpray subfolder.
                                    That file is 'required' in line #5 of the loader-file, so it should be already loaded and ready to use.
                                    It works fine for me in all recent versions...

                                    Can you confirm you have the relevant files in place...
                                    If not, try manually removing the loader-file and the subfolder, then reinstall from the latest RBZ, then restart SketchUp...

                                    If it still doesn't work, can you type this + <enter> in the Ruby Console and report the result...
                                    compSpray_env()
                                    then
                                    load "compoSprayToolbar.rb"
                                    then again
                                    compSpray_env()
                                    Does the tool's submenu then appear under the Draw menu 😕

                                    TIG

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

                                      Here's an updated version http://sketchucation.com/pluginstore?pln=compoSpray
                                      It corrects an obscure code error that was preventing the toolset loading in SketchUp versions earlier than v2014.
                                      It should now work in all SketchUp versions [ at least those > 7 ?]

                                      TIG

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

                                        tried installing the latest version at 2015 and all I get when I use the ruby console with your commands above is "Error: No such file or directory"

                                        this is the message I get when starting SKP2015

                                        Error Loading File compoSprayToolbar.rb
                                        Error: No such file or directory - C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/CompoSpray/CompoSprayUS.lingvo
                                        c:/users/usuário/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/compospray/compoutils.rbs:999:in readlines' c:/users/usuário/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/compospray/compoutils.rbs:999:in cs_translate'
                                        c:/users/usuário/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/compospray/compoutils.rbs:50:in compSpray_env' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/compoSprayToolbar.rb:9:in <top (required)>'

                                        which is weird, because there IS that path with those files inside. Here, right clicked at CompoSprayUS.lingvo and in properties copied it´s path:

                                        C:\Users\Usuário\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins\CompoSpray

                                        the only difference to the path I get at the SKP error message is the direction of the slash characters... backslash in properties, forward slash in Sketchup error window...

                                        C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/CompoSpray/

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

                                          @nghminh81 said:

                                          Thanks so much Oxer and MTriple. Your file works perfectly with my sketchup 2014!

                                          To anyone who using Windows and still can't install it: Please extract files(ComposprayToolbar.rb and 1 folder Compospray) to "C:\Program Files (x86)\SketchUp\SketchUp 2014\Tools".

                                          DON'T EXTRACT FILES TO "C:\Users\XX\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins"
                                          AND IF THEY WERE THERE (Because you tried to install it) Just DELETE.

                                          following your method, it is now working with Sketchup 2015.

                                          I don´t even know why I try installing by using the rbz file from inside Sketchup. With Sketchup 7 and 8 I installed 99% of the extensions by unzipping into the plugins folder.

                                          1 Reply Last reply Reply Quote 0
                                          • tt_suT Offline
                                            tt_su
                                            last edited by

                                            @aceshigh said:

                                            @nghminh81 said:

                                            Thanks so much Oxer and MTriple. Your file works perfectly with my sketchup 2014!

                                            To anyone who using Windows and still can't install it: Please extract files(ComposprayToolbar.rb and 1 folder Compospray) to "C:\Program Files (x86)\SketchUp\SketchUp 2014\Tools".

                                            DON'T EXTRACT FILES TO "C:\Users\XX\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins"
                                            AND IF THEY WERE THERE (Because you tried to install it) Just DELETE.

                                            following your method, it is now working with Sketchup 2015.

                                            I don´t even know why I try installing by using the rbz file from inside Sketchup. With Sketchup 7 and 8 I installed 99% of the extensions by unzipping into the plugins folder.

                                            I would strongly recommend to NOT follow that advice. Windows tries to enforce a strict lock down to Program Files. On many systems extensions will not be able to write to that location - which often they want to.
                                            I suspect that some of the issue in this case is due to non-English characters in the username. This should in theory be fixed in Ruby 2.0 - but there appear to be some bugs in the Windows version of Ruby. It should however be possible for the developers to work around this. Hard to tell exactly in this case without knowing the source.

                                            To work around this until the developer have a chance to update the extension you can try to install to the AllUser profile:

                                            C:\ProgramData\SketchUp\SketchUp 2015\SketchUp

                                            AFIK that should not have unicode characters. Create a Plugins folder and extract the RBZ content there. (Rename RBZ to ZIP and extract like you did in SU6-SU8).

                                            User should really not be modifying files in Program Files. Windows will fight back.

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

                                            Advertisement