[Plugin] s4u_Align
-
Installed the last version from the store, receive this error message now.
Error Loading File C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb
Error: #<NameError: uninitialized constant S4U::S4u_AlignTool::S4u_aligntoolStrings>
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:11:in<module:S4u_AlignTool>' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:6:in
module:S4U'
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool/s4u_aligntool_menu.rb:3:in<top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in
require'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:inload' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:14:in
register_extension'
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:14:in<module:S4u_AlignTool>' C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:4:in
module:S4U'
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb:3:in `<top (required)>'Note: Re-installed from store. Not sure what happen, but all my toolbar were displaced.
I see that no one else seems to be having this problem.
Thanks for you replies.
Ken
-
Hi Ken!
Delete files:
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb
and folder
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool
Re-installed from store.
Don't rename file and folder plugin. -
@hdpv said:
Hi Ken!
Delete files:
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/57-s4u_aligntool.rb
and folder
C:/Users/Ken/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/s4u_aligntool
Re-installed from store.
Don't rename file and folder plugin.Oops! my bad, that file was from your Version 1.0.5. I believe you did not have a toolbar with that version, so I added a toolbar. Note, it didn't crash until this version. So why would I rename a file when adding a toolbar. Because I name the icon with the number, and add the number to the tool text. This way I have a reference on what the icon's plugin is, and what the is the name of the icon. On some plugins, it is almost impossible to associate the toolbar icon with the actual RB file. So I guess it caught up to me.
So thank you. Will now be more careful.
Ken
-
Hi, I tested the plugin on mac OSX 10.9.3 & SU and it works fine.
-
Thanks Oxer!
I will publish it. -
See the folder "es" there is another folder called "es" into it too. Fix this little problem.
-
Help me test my plugin on Mac.
key Ctrl and Tab on Mac do work?
I have attached the Spanish Language file. -
I have update my plugin:
-Fix error
-Hold Ctrl(PC and Mac)for multi-select -> Double click or Enter for finish.
-Press Tab on PC, Alt on Mac for change align or align+move.
Help me update the Spanish Language file. -
The Ctrl key on Mac is like right click, for this reason the multiselect doesn't work on mac.
I have done the spanish translation but it is necessary fix the problem with Ctrl key on Mac. -
Thanks Oxer!
I have fix it
Ctrl on PC,Alt on Mac for multiselect.
I don't know Tab key on Mac ,so I use Left or Right key for align+move -
Downloaded V 2.0.2 but the toolbar has only the red icon (the blue one is "missing")
-
hi Bob!
new version have only 1 icon for 2 function. -
I have created the Spanish Language File.
-
-
Thanks for the update but the Spanish Translation doesn't work.
-
Thanks,I had fix it.
please check again. -
i downloaded your plugin yesterday and tested it today. Unfortunately, Su13 (Mac) wasnt able to load your plugin and i got following errors in the ruby console:
undefined method `instance_variable_defined?' for S4U;Module Error Loading File s4u_aligntool.rb undefined method `instance_variable_defined?' for S4U;Module
I corrected some errors:
- i installed a missing ruby: langhandler.rb
- i changed line 4 to:
@s4u_menu=UI.menu("Plugins").add_submenu("Suforyou") if !@s4u_menu #if !S4U.instance_variable_defined?(;@s4u_menu)
the same applies also for s4u_material!
now everything works. Please review your code, else thank your very much!
-
French Version
PS Seems there is no Toolbar!
Icon is existing in the files ressource but not appear when Enable Menu Display Tools Bar!
(works fine for other s4u plugins translated or not)PSS I see that I have not translated Titles for s4u-Make Face and s4u-Components!
And have some more Plugins to translate! A study summer!
PSS I see that I have not translated Titles for s4u-Make Face and s4u-Components!
And have some more Plugins to translate! A study summer!
-
Merci Pilou!
I will fix it in next version.
Advertisement