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.
    • TIGT Offline
      TIG Moderator
      last edited by

      PM the author - Didier - he may have forgotten about fixing it...
      He has compiled his entire code set in the subfolder - so it's not readable.
      It's a good idea to setup a reference to the folder path in readable code [e.g. the loaded rb file] that the rbs then uses.
      Ruby's FILE doesn't work inside rbs files, but he could have set in the loader rb...
      $cs_Folder=File.join(File.dirname(__FILE__),'CompoSpray')
      and then used that is his rbs compiled code... instead of the hard-coded
      File.join(Sketchup.find_support_file('plugins'),'CompoSpray') that then looks in the wrong place IF the install is NOT into the standard folder...

      TIG

      1 Reply Last reply Reply Quote 0
      • dmonticalboD Offline
        dmonticalbo
        last edited by

        How come it doesn't work on SketchUp 2013?

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

          @dmonticalbo said:

          How come it doesn't work on SketchUp 2013?

          Can you explain what "doesn't work"? It's a bit vague description. Do you get any errors installing or using? (Keep Ruby Console open. Window > Ruby Console)
          Unexpected behaviour during operation?

          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
            jackwatson
            last edited by

            I can't seem to get it working on sketchup 2013 either.

            Installation seems to be fine, as the icons appear in the toolbar, but clicking 'Components Spray [Top-Down]' and 'Components Spray [Perpendicular]' does nothing.

            Clicking 'Settings' brings up a dialog box with a couple of drop down options, but playing with these seems to do nothing to make the actual tool function properly... unless I'm doing something wrong, which is a strong possibility 😄

            Any help would be appreciated!

            1 Reply Last reply Reply Quote 0
            • N Offline
              Nightgaunt
              last edited by

              I am having the same issue with SketchUp 2013.

              Ruby console reports the following when spray on horizontal is clicked.

              @unknownuser said:

              Error: #<Errno::EACCES: Permission denied - C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/CompoSpray/csSettings.html>
              (eval):373:in initialize' (eval):373:in new'
              (eval):373:in write_cs_dialog' (eval):111:in compoSpray_main'
              C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/compoSprayToolbar.rb:17
              (eval):373:in `call'
              (eval):373

              Which is odd as it is the only plugin to which this happens. Any ideas?

              .......Changing permisions for the "CompoSpray" folder in Plugins directory using Windows Explorer "properties" is a good place to start! Just answered my own question. 😳

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

                Certainly looks like a 'permissions issue'.
                Ensure that your Plugins folder... and all of its contents - its files and its subfolders and their files have FULL read/write properties>security permissions set for everyone involved, and they apply to all contents !

                TIG

                1 Reply Last reply Reply Quote 0
                • OxerO Offline
                  Oxer
                  last edited by

                  Hi, I'm having problem with the CompoSprayES.lingvo file and with the components name. I explain, if the words into translation file or into component name have accentuation signs, the plugin doesn't work.
                  Examples:
                  In .lingvo file
                  Triángulo--> plugin doesn't work Triangulo--> plugin works
                  Octógono--> plugin doesn't work Octogono--> plugin works

                  In component name
                  Trébol--> plugin doesn't work Trebol--> plugin works
                  Árbol--> plugin doesn't work Arbol--> plugin works

                  SU8 and Mac OSX 10.9

                  "The result is the end what is important is the process" by Oxer
                  [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

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

                    @Oxer

                    Is the file a UTF8 without BOM format [view in Notepad++] ?
                    It is best to avoid accents in SketchUp's Ruby [until SketchUp catches up with Ruby2...]

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • OxerO Offline
                      Oxer
                      last edited by

                      @tig said:

                      @Oxer

                      Is the file a UTF8 without BOM format [view in Notepad++] ?
                      It is best to avoid accents in SketchUp's Ruby [until SketchUp catches up with Ruby2...]

                      Yes, the file is in Unicode (UTF-8) format, always I give this format to all translation files. Other plugins don't have problems with the accetuation in the .lingvo file
                      TIG, see that the problem is in the component name too.

                      "The result is the end what is important is the process" by Oxer
                      [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                      1 Reply Last reply Reply Quote 0
                      • OxerO Offline
                        Oxer
                        last edited by

                        The plugin works in SU8 & Mac OSX 10.9 (but without accentuation in .lingvo file and component name)
                        The plugin doesn't work in SU 2013 & Mac OSX 10.9
                        When you click on Spray! with a component selected it appears an error window with this message:
                        No component selected.
                        Please select at least a component.

                        And in the Ruby Console this:
                        Error: #<LocalJumpError: unexpected return>
                        (eval):178:in cs_dialog' (eval):178:in call'
                        (eval):178

                        "The result is the end what is important is the process" by Oxer
                        [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                        1 Reply Last reply Reply Quote 0
                        • TommyKT Offline
                          TommyK
                          last edited by

                          @thomthom said:

                          @rv1974 said:

                          1/ work with preselected set of components;

                          +1

                          +1 from me too.

                          This would help save a lot of time trawling through a list of components in a complex model.

                          Also:

                          • I would love to use this tool to spray a pre selected bunch of components and groups, but ONLY once. Good for spraying people.
                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            srknytgn
                            last edited by

                            i don't know if it is about updating to su 2014 but i'm getting this error when startup. this is a very useful plugin in modeling, i hope it will be updated. thanks.

                            Error; #<SyntaxError; c;/documents and settings/xxx/application data/sketchup/sketchup 2014/sketchup/plugins/compospray/compoutils.rbs;511; Invalid break
                            c;/documents and settings/xxx/application data/sketchup/sketchup 2014/sketchup/plugins/compospray/compoutils.rbs;520; Invalid break>
                            c;/documents and settings/xxx/application data/sketchup/sketchup 2014/sketchup/plugins/compospray/compoutils.rbs
                            Error Loading File compoSprayToolbar.rb
                            Error; #<NoMethodError; undefined method `compSpray_env' for main;Object>
                            C;/Documents and Settings/xxx/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins/compoSprayToolbar.rb;7;in `<top (required)>'
                            
                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by

                              Didier needs to recode several of his Plugins to be v2014 compatible - usually it's some minor coding tweak or simple save_as UTF8-without-BOM encoding.
                              But since this tool uses rbs encrypted files we can't see what needs fixing...

                              TIG

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

                                So we need to wish Didier find time to do this update or to go on with SU2013.

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

                                  I'm in the same boat here... WTF 2014

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

                                    I've got an issue similar to others.
                                    I am on 2013. Windows 7.
                                    I had an older version of Compo Spray.
                                    The small toolbar with the to spray can icons did nothing.
                                    Under the Draw menu, I had Component Spray and also Component**s** Spray (note the plural)
                                    ComponentsSpray did the same as the toolbar; nothing.
                                    Component Spray gave me the full dialog box with all parameters. I tried many combinations of parameters and combinations of components...to no avail. I got the message something like "1000 tries...Try Again?" Nothing I would do could get the plugin to create any components.

                                    So I figured I'd just delete the old files in my Plugins folder. And reinstall 1.4.2.
                                    Now, I get the toolbar with the "Top Down" and "Vertical" options that does nothing.
                                    And the Components Spray menu item under Draw that does the same thing as the toolbar; nothing. I do not get the dialog box with all the options.

                                    This is such an awesome plugin that I'd really like to figure out what's wrong and start using this!

                                    My CompoSpray folder has full access permissions for me/OWNER.
                                    Any thoughts?

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      davecoopstl
                                      last edited by

                                      I know others have mentioned this, but here's the error dialogue box that pops up after Installing Compo Spray in SU2014.

                                      It appears every time I open SU2014...

                                      Hope this helps!
                                      Dave Coop.


                                      Compo_Spray_Error.JPG

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

                                        Nag Didier Bur - he needs to fix it...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          poiseis
                                          last edited by

                                          still waiting for su2014 !!! Hurry Didier it's my best plugin (actualy after 1001bits)

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

                                            Folks, the best tool in in this field (scattering) so far is Chris Fulmer's Repeat Copy (on Smustard.com). Works way better than compospray (will work with preselected set, will paint
                                            upon the stacked balconies, has 'no repeat' function.. etc)
                                            I really recommend to burn the giant sum of $10 and get it.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 14 / 14
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement