[Plugin] SUTool: a new way to manager your RB script
-
Daniel,
It should be in the Plugins menu:
-
Not in my plugins menu..
Perhaps is because i have not installed the full Ruby languageDaniel S
-
@daniel s said:
Not in my plugins menu..
Perhaps is because i have not installed the full Ruby languageDaniel S
The iconv.dll and iconv.so files are used for converting or translating strings. I think if you edit the convert.rb file in the RO folder you can make it work.
#require "iconv" def sutool_convert_string(s) # Iconv.iconv("GB2312//IGNORE","uTF-8//IGNORE",s)[0] s end
-
Thank you Jim!!!! Now is working!!!
And i try removing the iconv.dll and works too... the problem was the convert.rb code.
Now i have to see how to add the plugins
Thank you again!!
Daniel SEDIT: the iconv.dll is needed.. if you open more than one sketchup it pop-up a msg. With the .dll in the plugins folder all works fine.
-
This plugin is really good for all those "other", infrequently used plugins you use.
You can create any number of dropdown menus. The menus are controlled by .ini files - one for each menu.
In the SuTools folder there is a sub-folder named "ini" Inside are the files that the plugin uses to create each menu. Each ini file start with a 2-digit code - the code goves the order of the menus in the plugin dialog. The 2-digit code is followed by the menu name.
01SelectTool.ini 02FaceTools.ini ...
Before you begin adding plugins, you can create your own personal menu list. Just create a new, blank file using the ##Name.ini code.
When you reload SuTools plugin, your menu will be available.
-
Hem hem, I can't read chinese...
-
-
V0.08 has corrected two bugs that cause SUTool loading error.
Now,SUTool window can remembers it's size and position,Thank to Jim! -
Jim,
Been try to decipher this thread. Looks like a convenient way to organize/reorganize scipts.
Would you mind summarizing "how" this works (in general terms), how to install and modify?
J
-
I'm working on a tutorial now... and here it is. I hope it's good.
-
Hi Wikii! This is just what I've been wishing for! Great work! Thank you!
Sorry to write with a problem...
I downloaded this: SUTool_v0.08en.rar
It seems to load just fine, but I get this...
-
@fletch said:
Hi Wikii! This is just what I've been wishing for! Great work! Thank you!
Sorry to write with a problem...
I downloaded this: SUTool_v0.08en.rar
It seems to load just fine, but I get this...
Just try to click "SUTool Rebuild" in plugins menu~
-
Hi Wikki, that worked... and I could have SWORN I tried that very thing last night, but it didn't work.
Jim, you're tutorial was the perfect thing for a guy like me! Blessings upon you a thousand times!
-
ok... don't hate me!
I started loading my rubies...1st - Jim, there's an easier way that Wikki provided for us to create new menu items instead of manually creating the ini file, you just add new ruby and give the new menu group item a name. I really like it! Maybe just add that in your tut.?
2nd - Wikki, when a name is very long for the ruby script description, the box cuts off the name of the file... so you almost can't tell what it is in some cases. If possible, do you think in the future you will be able to make it so that when you re-size the window it will also re-size the rectangles to show the whole ruby name?
-
@fletch said:
2nd - Wikki, when a name is very long for the ruby script description, the box cuts off the name of the file... so you almost can't tell what it is in some cases. If possible, do you think in the future you will be able to make it so that when you re-size the window it will also re-size the rectangles to show the whole ruby name?
PLZ,edit SuTool.css file to resize the width of cmd button that been showed in SUT window.
-
ok, Wikii, thx!
got a screenshot of the exact place/way I would do this? (I'm no programmer! ) -
@fletch said:
ok, Wikii, thx!
got a screenshot of the exact place/way I would do this? (I'm no programmer! )Edit CSS file.
Replace 'width:89px;' with 'width:150px;',4 places
Replace 'width:110px;' with 'width:170px;',2 placesRefresh SUTool window.
-
If I put a ruby in the SUtool... then move the ruby to a folder in my plugins folder called 'backup' in order to shorten my list of rubies in the pulldown menu... I lose my ability to use my ruby with the shortcut I had set up for that ruby... any advice? (for now, I just put those rubies with shortcuts back into the plugins folder.
-
wellcome to http://www.sketchupbbs.com
Look this page:
http://www.sketchupbbs.com/viewthread.php?tid=3486&extra=page%3D1简介:
SUTool是一个以类似CAD屏幕菜单方式组织SU插件的工具,用户可以通过自定义INI文件,增加或者减少项目。让大家能够方便的管理自己喜欢的插件!只支持SU6版本,使用SU5的朋友请不要下载~
SUTool不是一个插件工具集,它是一个插件管理器,使用者可以用它添加、删除、调整组织方式。
安装:
将SUTool.rbs和SUTool文件夹复制到SU的Plugins文件夹下,重启SU,点击Plugins菜单下的SUTool即可。更新记录
20080310 发布 v0.25版
1 支持在ini文件中直接为插件定义快捷键
2 增强了编辑插件的功能
3 支持直接双击分组标签打开ini文件
4 修正0.24版的几个BUG
5 安装方法:由于更新幅度较大,需要删除plugins目录下所有SUT开头的文件及文件夹,将下载的压缩包中的文件和文件夹直接复制到plugins目录下,重启SU。
20080304 发布 v0.19版
1 可以直接将一组工具生成工具条,前提是为每个工具定制相应的图标文件。
2 顶端增加SketchupBBS的logo
3 支持RBS文件
4 几乎包含了目前常用的插件。
20080226 发布 v0.12版
1 修复了几个bug;
2 可以显示插件收集人自定义的信息;
3 以后只更新主程序,希望大家能够自己管理组织自己的SU插件。
鉴于部分坛友态度,下载售价设定为10U币
20080211 发布 v0.08版
1 修正了2个BUG,感谢sfancys和zyc7877两位坛友!
2 不再强制SUTool窗口出现在固定位置,SUTool每次会出现在上次你关闭它时所在的位置。
3 0.07版内部测试,未公开发布。
4 请大家多反馈使用信息,只有大家多提建议,SUTool才能越来越好~
20080204.2321 发布 v0.06版
1 重新调整文件夹设置;
2 自动添加新的插件到SUT:直接对RB文件进行分析,并将其中的命令自动添加到用户指定的ini文件中,只需Reload SUT一下,即可使用新的插件。 注意,被分析的RB文件不要放在含有中文字符的路径下,比如桌面。
3 RO文件夹放置程序运行所需要的支持文件。
4 其中 convert.rb文件中定义了编码转换函数,默认是将UTF8转换为GB2312,港澳台地区可能需要改写此函数,我这里没有条件测试,有需要的朋友请自行测试或者和我联系。20080204 发布 v0.05版
1 按照ruby特点重写了所有结构;
2 增加了RB文件分析功能,可以分析出部分RB文件(包括部分加密的)中的命令,可以比较方便的为SUTool增加新的插件,具体看演示,这个功能有待大家测试。
20080126 发布 v0.04版
1可以为一组工具建立单独的按钮窗口,具体看演示。
20080123 发布 v0.03版
1 支持按钮鼠标掠过时变换样式,可以更加醒目
2 修改了CSS样式20080122 发布 v0.02版
1 支持图标显示,具体方法看说明文件;
2 支持显示分隔条,方法看ini文件夹中的说明;
3 支持ini注释语句;
4 重名了CSS中的样式名,并为每种样式增加了说明,方便大家修改;
5 修改Rebuild Html为Reload SUT,这个按钮可以直接生成html并自动加载,不必手动按F5更新。
2008 01 20 发布 v0.01版
-
@jim said:
I'm working on a tutorial now... and here it is. I hope it's good.
[attachment=0:2363623y]<!-- ia0 -->SUTool_Tutorial.zip<!-- ia0 -->[/attachment:2363623y]
I followed this Tut. to the letter, and everything worked out great. My compliments to the author a fantastic easy to follow tutorial.
And maybe a small respectful suggestion that more Tuts like this be posted to help us "apprentices" , and then we can do the same when we are as skilled.
Advertisement