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.
    • S Offline
      Sir
      last edited by

      Is it possible to set the density of the components sprayed?

      what are the trials to drop components? - this model has just gone past 64000 ❓

      1 Reply Last reply Reply Quote 0
      • mitcorbM Offline
        mitcorb
        last edited by

        Hi, Sir/ Mat: The density or frequency of the components is currently controlled by the choices of by vertex/ vertices, or by the use of "brushes" with triangular or rectangular shapes. See the first page of this topic and read down and you will see this mentioned. I am not entirely sure if I understand your question about "trials"?

        I take the slow, deliberate approach in my aimless wandering.

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

          @Sir: density is set with the "pressure" parameter of the dialog box.
          Take a look at the user guide just in case... 😒

          DB

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

            haha I did read the included pdf, couldnt see it - must have missed it.

            so what are the trials to drop components? does the plugin try to drop all the components in exponentially increasing numbers till it drops them all?

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

              No, it drops components one by one but when it cannot drop an instance at the location the ray hit the surface, this is considered like a "trial".

              DB

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

                @dcrites said:

                Does anyone have a solution for the problem which Pilou posted earlier? I have a 15" HP Laptop running windows 7, with Google Sketchup 8 -

                I'm a Landscape Architecture student, so spraying trees rather than placing them individually would be an absolute godsend. But if I can't get to the bottom of the screen, I can't do much. I've tried using the 'tab' key to get to the 'spray' icon, but it doesn't seem to work (though tabbing over to the 'close' icon does. Arg.

                768 pixels is the maximum height on my monitor.

                I had the same problem in a laptop asus K55V with the same maximun resolution for the screen. I don´t know if yours has this feature but my laptop alows to change the orientation of the scren using alt+ctrl+arrows. So, to use the plugin I change the orientation to vertical and then i can see displayed the ok button at the bottom. I hope you can at least use it this way.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  careca
                  last edited by

                  Hi.

                  What tweak would be needed to make this fantastic plugin work under the portable plugins extension? So far it would not show up in the Draw menu. I assume it has to do with the path reference somewhere?

                  Thanks.
                  martin

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    matt.gordon320
                    last edited by

                    Hi Didier,

                    I'm getting this error when trying to add CompoSpray to my plugins library that's hosted on my company's network drives (utilizing Fredo6's 000_Additional_Folders script). Any suggestions on how I can fix it so I can avoid the error, and still deploy the plugin network wide?

                    I'm trying to learn Ruby for SketchUp, so let me know if my assumption is correct. The error is resulting from CompoSpray being directed to look at C:...Plugins for the language file instead of the location that Additional Folders is redirecting it to, correct?

                    Thanks!


                    CompoSpray Network Error.png

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

                      yes, u're correct. I'll check the code.

                      DB

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

                        I'm getting the "No Component Selected" error message, even when a component IS selected in the drop-down menu. The error is occurring across different files and components. Any suggestions?

                        Sorry if this issue has previously been addressed.

                        Thanks!

                        Screen Shot 2013-05-28 at 7.28.58 PM.png

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          xaideoe
                          last edited by

                          @matt.gordon320 said:

                          Hi Didier,

                          I'm getting this error when trying to add CompoSpray to my plugins library that's hosted on my company's network drives (utilizing Fredo6's 000_Additional_Folders script). Any suggestions on how I can fix it so I can avoid the error, and still deploy the plugin network wide?

                          I'm trying to learn Ruby for SketchUp, so let me know if my assumption is correct. The error is resulting from CompoSpray being directed to look at C:...Plugins for the language file instead of the location that Additional Folders is redirecting it to, correct?

                          Thanks!

                          Same error here on Mac... Only in the new version.

                          1 Reply Last reply Reply Quote 0
                          • TIGT Online
                            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 Online
                                      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 Online
                                          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
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 13 / 14
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement