by thomthom » Mon Jan 02, 2012 1:54 pm
OverviewSketchUp's "Install Extension" button only allows .RBZ files, and you have to navigate through several clicks to get to the button. As someone who often installs plugin I wanted an easier and more flexible method which resulted in this small and simple utility to make it easier to install .RBZ, .ZIP packages. It also let you pick .RB files which will be copied to the Plugins folder. (Note, this feature has not been tested under systems with limited access, so it might fail - where the user will see an error message.) Version 1.1.0Added guard against VirtualStore under Windows. See this thread for more info on VirtualStore: viewtopic.php?f=180&t=48399 Installing RBZ File WindowPreferences.png InstallExtension.png SelectFile.png For more information on installing plugins: http://www.thomthom.net/thoughts/2012/0 ... -sketchup/AccessPlugins > InstallSimpleInstaller.png Features- ZIP Package
Allows for installation of .ZIP files as if they where .RBZ files. - RBZ Package
Does the same as SketchUp's "Install Extension" button. - RB File
Copies selected .rb file to the Plugins folder. ( As reported by Sketchup.find_support_file('Plugins') ) - RBS File 1.0.3
Copies selected .rbs file to the Plugins folder. - Open Extension Manager
Simply opens the Extension page under SketchUp's Preferences window. RequirementsDownload tt_simple_installer.rbz Footprint <Sketchup>/Plugins/ +- 
tt_simple_installer.rb 
Please, register (free) to access all the attachments on the forums.
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by mitcorb » Mon Jan 02, 2012 3:06 pm
Hi, thomthom: This looks good. I hope to try it out as I eventually move to Sketchup8...and I will.
-

mitcorb
- Top SketchUcator
-
- Posts: 3411
- Joined: Sat Mar 22, 2008 2:32 pm
- Location: USA
- Name: Tim
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by TIG » Mon Jan 02, 2012 3:36 pm
Thanks thomthom ! This a very good idea. However, if I rename your script with a leading '!', which is so that it loads very early and thereby puts the new submenu item at the start of the Plugins menu list, I find that it fails to load - with an error message at startup. This is because the module 'TT' has not [yet] been defined: however, some later installed 'tt_' tools require 'TT_Lib2/core.rb' that will then define it; so it works if it's left with its original name, because it loads after those, BUT of course then it's submenu item is buried in the rest of the Plugins list. This means that your new tool needs 'TT_Lib2' [and it would therefore benefit from a require 'TT_Lib2/core.rb' being added to it] - BUT currently the download page doesn't say this or have a link to get it... OR [better I think] you could to redefine the module so it is independent of 'TT' - naming it say ' module TT_SimpleInstaller' ? [I don't think it uses any of the TT_Lib_2's functions anyway ?] Currently I've renamed the module this way and added the '!' to the start of the file name and it works well. 
TIG
-

TIG
- Global Moderator
-
- Posts: 14015
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by thomthom » Mon Jan 02, 2012 3:37 pm
Ah!  That's a silly bug! I'll fix that asap! Done!
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by thomthom » Mon Jan 02, 2012 3:50 pm
If only the Ruby API wasn't so limited... I'd ideally like to be able to select multiple files and/or folders. Also wish the file pattern filter wasn't bugged so one could combine multiple file patterns...  
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by thomthom » Mon Jan 02, 2012 4:16 pm
Idea...  ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Dave R » Mon Jan 02, 2012 4:27 pm
Thomas, this is a great idea! Is it possible for the plugin to also run load"plugin_name.rb" after copying the file and installing it into the Plugins folder?
Inspecting mirrors is a job I could easily see myself doing.
-

Dave R
- Global Moderator
-
- Posts: 9026
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
by thomthom » Mon Jan 02, 2012 4:28 pm
Dave R wrote:Thomas, this is a great idea! Is it possible for the plugin to also run load"plugin_name.rb" after copying the file and installing it into the Plugins folder?
Capital idea ol' chum!
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Jim » Mon Jan 02, 2012 4:55 pm
thomthom wrote:Idea...  ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!
Yep, but it would make a better stand-alone "Drop Pad" plugin that can dispatch various file types to user-configurable plugins.
-
Jim
- Global Moderator
-
- Posts: 4126
- Joined: Mon Nov 12, 2007 10:13 pm
- Location: NEOH
- Name: Jim
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
-
by thomthom » Mon Jan 02, 2012 4:57 pm
Jim wrote:thomthom wrote:Idea...  ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!
Yep, but it would make a better stand-alone "Drop Pad" plugin that can dispatch various file types to user-configurable plugins.
You mean being able to configure what plugin to handle what fileformat?
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Jim » Mon Jan 02, 2012 5:04 pm
Yeah, but the downside is that the plugins that handle the file types would likely all need modified to handle the Drop Pad dispatcher.
-
Jim
- Global Moderator
-
- Posts: 4126
- Joined: Mon Nov 12, 2007 10:13 pm
- Location: NEOH
- Name: Jim
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
-
by thomthom » Mon Jan 02, 2012 5:11 pm
Well, it won't be doable until IE10 is released anyway... 
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by thomthom » Mon Jan 02, 2012 5:15 pm
Jim wrote:Yeah, but the downside is that the plugins that handle the file types would likely all need modified to handle the Drop Pad dispatcher.
hm... you meant for the pad to dispatch to existing plugins...?
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by john2 » Thu Jan 05, 2012 11:59 am
any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?
Google SketchUp Pro 8, Vray 1.49, Windows 7 – 32 bit
-
john2
-
- Posts: 266
- Joined: Tue Oct 18, 2011 7:27 am
- Name: John
by thomthom » Thu Jan 05, 2012 12:12 pm
john2 wrote:any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?
Nope! It's too big of a project - I have too many other projects on my hand. But Dana is working such a manager. 
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by john2 » Thu Jan 05, 2012 4:18 pm
thomthom wrote:john2 wrote:any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?
Nope! It's too big of a project - I have too many other projects on my hand. But Dana is working such a manager. 
where's that plugin any idea 
Google SketchUp Pro 8, Vray 1.49, Windows 7 – 32 bit
-
john2
-
- Posts: 266
- Joined: Tue Oct 18, 2011 7:27 am
- Name: John
by thomthom » Thu Jan 05, 2012 4:20 pm
It is under development - along side with a plugin repository.
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by irwanwr » Thu Jan 05, 2012 6:50 pm
Requirements SketchUp 8M2 or newer - ( Other versions untested )
oops...
-

irwanwr
-
- Posts: 571
- Joined: Fri May 21, 2010 2:21 am
- Location: Medan, Indonesia.
- Name: irwanwr
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Beginner
-
by john2 » Fri Jan 06, 2012 3:49 am
thomthom wrote:It is under development - along side with a plugin repository.
no beta version ..link 4 download??
Google SketchUp Pro 8, Vray 1.49, Windows 7 – 32 bit
-
john2
-
- Posts: 266
- Joined: Tue Oct 18, 2011 7:27 am
- Name: John
by Dave R » Fri Jan 06, 2012 3:58 am
Just relax. It'll be available when it is available.
Inspecting mirrors is a job I could easily see myself doing.
-

Dave R
- Global Moderator
-
- Posts: 9026
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
by thomthom » Fri Jan 06, 2012 9:22 am
john2 wrote:thomthom wrote:It is under development - along side with a plugin repository.
no beta version ..link 4 download??
Keep an eye on this site: http://www.extendsketchup.com/As Dave said - it's done when it's done. He's working on it along side his full time job - like I do. Making it very hard to promise a deadline. (It's hard even if it is your full time job any way...  )
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by thomthom » Mon Jan 09, 2012 11:18 am
Hmm.... IE10 might not come until Windows8 is out... I hope it comes earlier - as I think Windows 8 comes late this year.
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by guanjin » Sat Jan 21, 2012 8:55 am
thomthom wrote:Hmm.... IE10 might not come until Windows8 is out... I hope it comes earlier - as I think Windows 8 comes late this year.
Really good, but can not load the RB file, tried many, will not work!
I come from China, is to learn
-

guanjin
-
- Posts: 190
- Joined: Thu Apr 08, 2010 6:52 am
- Name: XIAOLONG
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: interior design
- Level of SketchUp: Intermediate
-
by Dave R » Sat Jan 21, 2012 12:32 pm
guanjin wrote:Really good, but can not load the RB file, tried many, will not work!
That's mostly useless if you're asking for help. You have given nothing for anyone to help you with. Go back to the first post and make sure you've installed the plugin so it shows as described under "Footprint" Footprint <Sketchup>/Plugins/ +- 
tt_simple_installer.rb
If you don't get it to work, post a screen shot of your Plugins directory or give something useful so you can be helped.
Inspecting mirrors is a job I could easily see myself doing.
-

Dave R
- Global Moderator
-
- Posts: 9026
- Joined: Tue Nov 13, 2007 11:52 pm
- Location: SE Minnesota
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: woodworking
- Level of SketchUp: Advanced
by thomthom » Sat Jan 21, 2012 12:47 pm
guanjin wrote:thomthom wrote:Hmm.... IE10 might not come until Windows8 is out... I hope it comes earlier - as I think Windows 8 comes late this year.
Really good, but can not load the RB file, tried many, will not work!
As Dave said, you need to be more spesific. How did you try to "load" the plugin? And what "doesn't work"? Unexpected behaviour? Errors? Menu items not found?
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by guanjin » Tue Jan 24, 2012 4:36 pm
thomthom wrote:guanjin wrote:thomthom wrote:Hmm.... IE10 might not come until Windows8 is out... I hope it comes earlier - as I think Windows 8 comes late this year.
Really good, but can not load the RB file, tried many, will not work!
As Dave said, you need to be more spesific. How did you try to "load" the plugin? And what "doesn't work"? Unexpected behaviour? Errors? Menu items not found?
RB can not import files??Thank you! lllll.gif
Please, register (free) to access all the attachments on the forums. I come from China, is to learn
-

guanjin
-
- Posts: 190
- Joined: Thu Apr 08, 2010 6:52 am
- Name: XIAOLONG
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: interior design
- Level of SketchUp: Intermediate
-
by TIG » Tue Jan 24, 2012 4:41 pm
Guanjin Read what it says about non-ASCII characters in file-paths... Ruby's 'File' tools [in Sketchup's v1.8~] can't accept UTF-8 characters... like in your Chinese!
TIG
-

TIG
- Global Moderator
-
- Posts: 14015
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by guanjin » Wed Jan 25, 2012 7:24 pm
TIG wrote:Guanjin Read what it says about non-ASCII characters in file-paths... Ruby's 'File' tools [in Sketchup's v1.8~] can't accept UTF-8 characters... like in your Chinese!
Most use UTF - 8 characters! ! TIG welcomes you to China, I will entertain you 
I come from China, is to learn
-

guanjin
-
- Posts: 190
- Joined: Thu Apr 08, 2010 6:52 am
- Name: XIAOLONG
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: interior design
- Level of SketchUp: Intermediate
-
by thomthom » Wed Jan 25, 2012 9:02 pm
guanjin wrote:Most use UTF - 8 characters! !
Unfortunately this is a limitation due to the Ruby version SketchUp use. There is nothing we(plugin developers) can do. It needs to be addressed by Google
-

thomthom
- Global Moderator
-
- Posts: 17687
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by tomasz » Thu Jan 26, 2012 9:12 am
thomthom wrote:guanjin wrote:Most use UTF - 8 characters! !
Unfortunately this is a limitation due to the Ruby version SketchUp use. There is nothing we(plugin developers) can do. It needs to be addressed by Google
It can be done through a C/C++ extension. I have it in mind to create such a 'library', but I am currently too busy to invest my time in it. SU2Thea can save/read files containing non-ASCII characters in their paths/filenames.
-
tomasz
- SU2TH & SU2KT Developer
-
- Posts: 777
- Joined: Fri Nov 16, 2007 8:46 pm
- Location: Poland
- Name: Tomasz
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Ad Machine » 5 minutes ago
Not a Premium Member yet? Check out the great time-limited deal we are offering.
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|