[Plugin] Compo Spray 1.4.2 Updated
-
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 -
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!
-
yes, u're correct. I'll check the code.
-
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!
-
@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.
-
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... -
How come it doesn't work on SketchUp 2013?
-
@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? -
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!
-
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:ininitialize' (eval):373:in
new'
(eval):373:inwrite_cs_dialog' (eval):111:in
compoSpray_main'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/compoSprayToolbar.rb:17
(eval):373:in `call'
(eval):373Which 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.
-
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 ! -
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 worksIn component name
TrΓ©bol--> plugin doesn't work Trebol--> plugin works
Γrbol--> plugin doesn't work Arbol--> plugin worksSU8 and Mac OSX 10.9
-
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 said:
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 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:incs_dialog' (eval):178:in
call'
(eval):178 -
@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.
-
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)>'
-
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... -
So we need to wish Didier find time to do this update or to go on with SU2013.
-
I'm in the same boat here... WTF 2014
Advertisement