by chon » Tue Dec 09, 2014 4:43 pm
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
-

chon
-
- Posts: 450
- Joined: Fri Jan 30, 2009 9:57 am
- Name: chon
by TIG » Tue Dec 09, 2014 4:50 pm
chon wrote: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
-

TIG
- Global Moderator
-
- Posts: 20272
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by chon » Tue Dec 09, 2014 5:18 pm
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
-

chon
-
- Posts: 450
- Joined: Fri Jan 30, 2009 9:57 am
- Name: chon
by imranbangash » Tue Jan 06, 2015 9:27 am
Can anyone help me? i get this error message in sketchup 2013 Error Loading File compoSprayToolbar.rb undefined method `compSpray_env' for main:Object 
-
imranbangash
-
- Posts: 5
- Joined: Fri Mar 28, 2014 11:28 am
- Location: qatar
- Name: IMraN KhaN
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by TIG » Tue Jan 06, 2015 8:00 pm
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
-

TIG
- Global Moderator
-
- Posts: 20272
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by rhinoferoce » Fri Jan 23, 2015 10:30 am
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...
-
rhinoferoce
-
- Posts: 2
- Joined: Mon Jun 15, 2009 11:29 am
- Name: Rhinoferoce
- Operating system: Mac
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Fri Jan 23, 2015 10:54 am
I'll have a look into it... But first, can you post the FULL error-message... It is usually much longer than that 
TIG
-

TIG
- Global Moderator
-
- Posts: 20272
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Fri Jan 23, 2015 11:23 am
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
-

TIG
- Global Moderator
-
- Posts: 20272
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Sat Jan 31, 2015 4:43 pm
Here's an updated version Download 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
-

TIG
- Global Moderator
-
- Posts: 20272
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by AcesHigh » Thu Mar 12, 2015 6:20 pm
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/
-
AcesHigh
-
- Posts: 553
- Joined: Wed Mar 05, 2008 1:58 pm
by AcesHigh » Thu Mar 12, 2015 6:41 pm
nghminh81 wrote: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.
-
AcesHigh
-
- Posts: 553
- Joined: Wed Mar 05, 2008 1:58 pm
by tt_su » Thu Mar 12, 2015 7:16 pm
AcesHigh wrote:nghminh81 wrote: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.
-

tt_su
- SketchUp Team

-
- Posts: 1035
- Joined: Thu Aug 01, 2013 6:16 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Mac
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by AcesHigh » Thu Mar 12, 2015 8:33 pm
tt_su wrote:AcesHigh wrote:nghminh81 wrote: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.
but weren´t all plugins installed to Program Files in Sketchup 7 and 8?
-
AcesHigh
-
- Posts: 553
- Joined: Wed Mar 05, 2008 1:58 pm
by tt_su » Fri Mar 13, 2015 12:40 pm
AcesHigh wrote:but weren´t all plugins installed to Program Files in Sketchup 7 and 8?
Yes, however that came from a time before Microsoft had these restrictions. Additionally, Ruby 1.8 was unable to deal with unicode at all - and some users have unicode characters in their names that would break. What complicated things more was that XP has localized system folder so the least pain, most compatible folder used to be Program Files. That has changed now, with Ruby 2.0 and newer versions of Windows - so extensions should be installed to the default Plugins folder or the AllUsers profile. Anything else is not supported and is very likely to cause other problems.
-

tt_su
- SketchUp Team

-
- Posts: 1035
- Joined: Thu Aug 01, 2013 6:16 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Mac
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by TIG » Sat Mar 14, 2015 5:56 pm
Here's a new version, it is updated, where possible it will 'encode' the plugins folder-path [as extracted from __FILE__] into 'UTF-8' format. This means that in >=v2014 any 'accented' User-names might be now be possible with this tool. Please retry installing from this new RBZ into the main plugins folder as normal. Download But, if you still get errors because Ruby can't successfully parse the lingvo file-paths etc then please post them... It might not be immediately solvable, but at least we then know about it... If it works but you still get any similar errors in other plugins, then please post them in the appropriate threads, as the fix is relatively simple but not automatically used, as encoding was not possible up to v2014's arrival and there are also relatively few PC Users with accents in their names !
TIG
-

TIG
- Global Moderator
-
- Posts: 20272
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by tomaszdrgas » Wed Jun 15, 2016 3:42 am
Could you add one option for dropping down selected components... seems like softwere has got all whats needed for it.. just fird icon to add
Tomasz Drgas
-
tomaszdrgas
-
- Posts: 18
- Joined: Thu Jul 31, 2014 6:52 am
- Name: tomaszdrgas
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by majid » Wed Jun 29, 2016 6:54 am
I was missing this wonderful plugin, thanks for update. it works well with latest Su!
-

majid
- Top SketchUcator
-
- Posts: 2371
- Joined: Sun Dec 16, 2007 8:51 pm
- Location: Tehran, IRAN
- Name: Majid
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Advanced
by keithswd » Tue Jul 12, 2016 10:37 am
Hi
I am trying to use this tool to place 2D faceme components (plants) onto the ground. I keep getting a message stating
"1000 trials to drop components done. Continue?"
Whatever I press now, I get into an unbreakable loop where the either (if I press yes) the time to complete keeps going up exponentially and another message pops up or (if I press no) I get the spinning colour wheel. Either way I have to force exit sketchup.
I haven't used the tool for a while, but don't remember this problem before.
I have SU2016 on OS X.
thanks
-
keithswd
- Premium Member

-
- Posts: 17
- Joined: Wed Apr 11, 2012 3:41 pm
- Location: London
- Name: Keith Pocock
- Operating system: Mac
- SketchUp version: 2013
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Intermediate
-
by fredp » Thu Jan 12, 2017 5:40 pm
Hi, this is a great plugin, thanks everyone involved in it!
Is it possible to set a min/max rotation? I'm using it to spread deckchair on the shore, so they must be just slightly rotated, not fully random, as they should all be facing the sea
Thanks
-
fredp
-
- Posts: 4
- Joined: Tue Nov 06, 2012 8:48 pm
- Name: Federico
- SketchUp use: architecture
by Mike598601 » Thu Dec 14, 2017 3:13 pm
Is this excellent plugin still supported? - I'm using SU2018 Pro and having the sames issues as below after it initially working brilliantly. KeithSWD wrote:Hi
I am trying to use this tool to place 2D faceme components (plants) onto the ground. I keep getting a message stating
"1000 trials to drop components done. Continue?"
Whatever I press now, I get into an unbreakable loop where the either (if I press yes) the time to complete keeps going up exponentially and another message pops up or (if I press no) I get the spinning colour wheel. Either way I have to force exit sketchup.
I haven't used the tool for a while, but don't remember this problem before.
I have SU2016 on OS X.
thanks
-
Mike598601
-
- Posts: 7
- Joined: Tue Jul 11, 2017 2:06 pm
- Name: Mike Gardiner
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: product design
- Level of SketchUp: Beginner
by Einstein » Mon Jan 07, 2019 10:22 pm
Hi! I know it's been time since this plugin was hot but maybe someone could help me with problem I have with it.
Sometimes I get a message like this: "More than 2 minutes to complete." or something like "It will take 1000 trials to complete." The problem is that this window is inescapable. Regardless I click YES or NO, the same window pops up and totally blocks SketchUp (even if I choose the dialog to be non-modal). The only thing I can do is to close SU via Task Manager. The same problem with SU 16 and 17.
-
Einstein
-
- Posts: 213
- Joined: Sat Nov 01, 2014 11:12 am
- Name: Michal P
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by Sonia Ramos » Sat Mar 14, 2020 5:08 pm
Hi! I'm new to sketchup. I was wondering if there are written instructions on how to use the Compo Spray plugin, for example in PDF. Thank you.
-
Sonia Ramos
-
- Posts: 2
- Joined: Tue Feb 13, 2018 3:34 pm
- Name: Sonia Treu Ramos
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by Didier Bur » Wed Mar 18, 2020 8:18 am
Hi Sonia, Yes there is a PDF help file. See the Help button in the lower-right corner of the dialog ? Here it is  csHelp.jpg Latest version of Compo Spray is available here: https://extensions.sketchup.com/extension/213a8e60-208f-4b6d-95ff-ab367c09a959/compo-spray
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Sonia Ramos » Wed Mar 18, 2020 1:22 pm
-
Sonia Ramos
-
- Posts: 2
- Joined: Tue Feb 13, 2018 3:34 pm
- Name: Sonia Treu Ramos
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by sashaschiaviarchitect » Tue Apr 07, 2020 2:15 am
Hi I love this plugin, really helps me in creating varied landscapes.
I have an issue. sometimes when I select on face or along line it tries to put a lot of items even though I have the pressure set at its lowest, and I get the message 1000 trials of components.... I'm working in mm, might this have something to do? please help!
-
sashaschiaviarchitect
-
- Posts: 1
- Joined: Mon Feb 24, 2020 5:11 am
- Name: Sasha
- Operating system: Windows
- SketchUp version: 2019
- License type: Free/Make
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
by Didier Bur » Wed Apr 08, 2020 4:44 pm
Hi Sasha, I'll look into your issue. Stay tuned 
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by botj » Sat Jan 02, 2021 4:08 pm
Man this plugin would be great if it worked properly. No matter what I do I get loop error where I need to kill my SketchUp and restart it. Was it too hard to write a kill command that works? I click "No" and I still get the same question. Also sliders are gone.
-
botj
-
- Posts: 1
- Joined: Fri Mar 20, 2015 12:32 pm
- Name: Ilya Demidov
- Operating system: Windows
- SketchUp version: 2015
- License type: Free/Make
- SketchUp use: landscape architecture
- Level of SketchUp: Intermediate
by Dave R » Sun Jan 03, 2021 2:32 am
botj wrote:Man this plugin would be great if it worked properly.
Are you still using SketchUp 2015 Make as indicated in your profile?
Etaoin Shrdlu
%
(THERE'S NO PLACE LIKE)
G28 X0.0 Y0.0 Z0.0
M30
%
-

Dave R
- Global Moderator
-
- Posts: 18143
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Name: Dave R
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|