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.
    • charly2008C Offline
      charly2008
      last edited by

      Hi thomthom,

      have a look here:

      http://rhin.crai.archi.fr/rld/plugin_details.php?id=607
      http://forums.sketchucation.com/viewtopic.php?t=14770

      Charly

      He who makes no mistakes, makes nothing

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

        I tried to set up my plugins to be loaded from a custom folder so I could easily sync between multiple SketchUp versions and computers.
        For the most of the plugins it went fine, but I got an error with Component Spray because it tries to load the language files from the SketchUp plugins folder instead of where the plugin is actually located.

        If you use File.dirname( __FILE__ ) to get the path instead of Sketchup.find_support_file then it would solve this and the plugin could be installed to any location the user wants.

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

        1 Reply Last reply Reply Quote 0
        • 3 Offline
          32bits
          last edited by

          Hi,

          I have problems with this plugin, could anyone help?
          Here is what the console tells me:

          Error; #<FloatDomainError; Infinity>
          (eval);2844;in `to_i'
          (eval);2844;in `cs_n_points'
          (eval);1905;in `facesBrushTool'
          (eval);279;in `cs_dialog'
          (eval);340;in `call'
          (eval);340;in `show_modal'
          (eval);340;in `cs_dialog'
          (eval);116;in `compoSpray_main'
          C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/compoSprayToolbar.rb;17
          (eval);2486;in `call'
          (eval);2486
          

          Thank you very much! πŸ‘

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

            i'm havin' a problem using this tool i hv a horizontal resolution of 1024 pixels and i don't want to change that, i can't find the green tick button. please didier, can u tweak this window for me? πŸ˜’


            sprr.JPG

            Signature removed by SCF Admin

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

              Hi,
              As it is said in the doc, go to settings and change your dialog box style (with/without scrollbars)settings.jpg.

              DB

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

                @didier bur said:

                Hi,
                As it is said in the doc, go to settings and change your dialog box style (with/without scrollbars)[attachment=0:12is74un]<!-- ia0 -->settings.jpg<!-- ia0 -->[/attachment:12is74un].

                thanks a lot

                Signature removed by SCF Admin

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

                  Can this plugin be tweaked so that in the components lists, the thumbnails of the components be
                  shown, just like we see in the component window of the sketchup? 😎

                  Signature removed by SCF Admin

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lapx
                    last edited by

                    DB,

                    Thanks for such a useful program. I'm having more trouble with this one when I was having so much success with the old dialogue box 😞 I like the ideas though. I know it will work it self out.
                    What am I doing wrong here? tried to populate by selection not working well, "shape is not available yet". What is the "shape" refering to?

                    Is this tool similar to Chris's component on surface is similar?

                    Once again, thanks!


                    compspray.jpg

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

                      Hi Didier///

                      THank you for this amazing plugin... You Rock...

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

                        first at all thank's for this useful plugin didier, but i'm having problems changing the default settings in the panel, simply i can't, why?
                        i have a x64 xp os & the su v8 & of course the v 1.4.2 compo spray

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

                          Hi

                          @unknownuser said:

                          simply i can't, why?
                          😲 😲 πŸ˜’
                          Never heard of such a behaviour ! Are the fields blanks ? Can't you select items in the lists ? Can't you move the sliders ?
                          Please let me know more details...
                          Regards,

                          DB

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

                            thank you didier about your interest, but i resolved the problem, i just update the internet explorer (i was the v6,'cause i prefer chrome) so now its ok. πŸ˜„ πŸ˜„

                            anyway the problem was the sliders, they did'nt move, the other settings were able.. 😳

                            1 Reply Last reply Reply Quote 0
                            • boofredlayB Offline
                              boofredlay
                              last edited by

                              I keep getting 7 script errors every time I launch the tool. I have to close out as it is unusable. Hmmm.

                              I just downloaded it today and unzipped it into the plugins folder.


                              Script-Error.jpg

                              http://www.coroflot.com/boofredlay

                              1 Reply Last reply Reply Quote 0
                              • brookefoxB Offline
                                brookefox
                                last edited by

                                Reference is made to the related thread below where from these comments are copied:

                                http://forums.sketchucation.com/viewtopic.php?f=323&t=16446&p=395138#p395138

                                @unknownuser said:

                                When spraying grass components onto a large area and I want to keep the numbers down the lowest available setting of 1% is still very much too high, so I make a request for percentages below 1.

                                My work-round for this is to include within the component a large triangle so the spray density is thus limited and then edit this out of the component later. This works fine.

                                Please see Eric's post above this one as he seems to need some assistance.

                                ~ Brooke

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

                                  Hi Eric,

                                  The 7 errors you are getting are all 7 variables "update_..." I guess. These are the seven sliders 'updaters' in the Webdialog.
                                  So if 'update_pressure' and its friends aren't defined, this means that the Javascript script is either bad or not present.
                                  Please check that you have a file named 'slider.js' in your Plugins/CompoSpray/JS folder.

                                  Attached is the file that you need (you must unzip it) in case (for some reason) you don't have it.
                                  Let me know if it works or not πŸ˜‰

                                  elay.jpg


                                  Unzip in your Plugins/CompoSpray/JS folder

                                  DB

                                  1 Reply Last reply Reply Quote 0
                                  • boofredlayB Offline
                                    boofredlay
                                    last edited by

                                    Well you were right that file was not in the JS folder. However after unzipping it an placing it there I still get the same errors.

                                    I am on a network if that makes any difference although I don't see how it would.

                                    http://www.coroflot.com/boofredlay

                                    1 Reply Last reply Reply Quote 0
                                    • boofredlayB Offline
                                      boofredlay
                                      last edited by

                                      [flash=853,505:3hkk3iqb]http://www.youtube.com/v/lr2N_ZKpTqk&fs=1[/flash:3hkk3iqb]

                                      http://www.coroflot.com/boofredlay

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

                                        @unknownuser said:

                                        I am on a network if that makes any difference although I don't see how it would.

                                        Do you mean that your Plugins folder (and SU itself) is not on the local machine ? I've never tested such a config.
                                        Below are folders/files images so you can check your installation:
                                        main CompoSpray sub-folder of Plugins
                                        CSS sub-folder contents
                                        Images folder contents

                                        DB

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

                                          Didier, how do you compile the path to the support folder? Do you use Sketchup.find_support_file('plugins') assuming the plugin is installed in the SketchUp plugin folder?
                                          If you do, it's better to use File.dirname(__FILE__) to get the actual location of the plugin - allowing it to be installed anywhere.

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

                                          1 Reply Last reply Reply Quote 0
                                          • boofredlayB Offline
                                            boofredlay
                                            last edited by

                                            @didier bur said:

                                            @unknownuser said:

                                            I am on a network if that makes any difference although I don't see how it would.

                                            Do you mean that your Plugins folder (and SU itself) is not on the local machine ? I've never tested such a config.

                                            Oh no, the plugins folder is on my local, the lic. is a network lic. and points back to a server.

                                            My CSS, IMAGES and JS folders look the same but the Compo Spray folder looks like this:


                                            CompoSprayFolder.jpg

                                            http://www.coroflot.com/boofredlay

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

                                            Advertisement