SketchUcation Premium Membership

 

 

[Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

[Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby thomthom » Sun May 09, 2010 2:41 pm

Some plugin users like to organize plugins by author. To address this I have made this little optional plugin which users of my plugins can install.

When installed, my plugins that support this, will put their menus into Plugins -> ThomThom's Plugins.

My existing plugins will need to be updated in order to support this feature, but I hope to get around to do so.
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17673
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

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby Pilou » Sun May 09, 2010 3:07 pm

Hurry! :thumb:
Yes all plugs must be listed by Plugins/Author! :enlight:
That is mnemonic trick and save many place on the menu plugins!
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10073
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby thomthom » Sun May 09, 2010 3:15 pm

I personally don't like the Group by Author system - so I opted for a user choice system. In theory other systems can be made.
From now on my plugins will look for a variable $tt_menu which it will attach to if present. If not present it will use the default Tools, Plugins or whatever top menu I choose.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17673
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

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby chrisjk » Mon May 10, 2010 8:46 pm

Thanks for this Thom. I do like the Group by Author system - when it's got a TT stamp (or a TIG, Chris Fulmer, Fredo etc. stamp on it, there is some guarantee of quality!)

Ideally, a menu that could be sorted on the fly in the manner of a booklist - by author, purpose, date etc would be useful especially if it could load/unload plugins as needed..
Chris
chrisjk
 
Posts: 278
Joined: Fri Dec 05, 2008 8:16 am
Location: Keston, England
Name: Chris Knight

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby alz » Wed May 12, 2010 4:47 am

This is kinda like an idea I had a couple months ago (but not savvy enough with Ruby yet to try out) --> create an generic_menu.rb which passes in menu variables. Add this (require generic_menu.rb) to any existing plugin (yours or other peoples), then comment out the original plugin's menu. Now call the other script and send over the plugins menu commands and how you'd like to group it (submenu or even a separator).

For example, 5 different plugins from all places on the web. Re-route them where ever you like:

plugins
... Frequent
...... FredoScale
...... Mover2
... Utility
...... Weld
...... Cleanup
... SketchyPhysics2

You'd have to tweak existing plugins, but it'd only use one external script to do the routing. It could be expanded to also influence context menu options or even toolbar or cursor options.
alz
 
Posts: 123
Joined: Mon Mar 17, 2008 2:40 pm

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby Pilou » Wed May 12, 2010 11:54 pm

Why your ThomThom's Plugins is down page ?
I must scroll down my big list for find it!
It's not possible to put it on the top page? ;)
All script's heros are there ! :enlight:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10073
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby thomthom » Thu May 13, 2010 9:51 am

Pilou wrote:Why your ThomThom's Plugins is down page ?
I must scroll down my big list for find it!
It's not possible to put it on the top page? ;)
All script's heros are there ! :enlight:

What page?

(p.s. I moved the posts in regard to the TT_Lib to that thread: viewtopic.php?f=323&t=23307 )
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17673
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

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby Dan Rathbun » Thu May 13, 2010 11:19 am

thomthom wrote:What page?

He's speaking of the menu page. His menu is so large that it's scrollable, and your submenu appears near the bottom.

You (ThomThom or user) need to rename the script that creates the TT submenu to have a '!' as the first character:
tt_menu.rb rename to !tt_menu.rb
and then it will load as one of the first files from the plugins folder.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4091
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby Pilou » Thu May 13, 2010 11:34 am

Thx! I have now 2 possibilities a number and the "!" :thumb:
(I believe that Thomthom has linked the posts)
See my answer ;)
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10073
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby Edson » Wed Jun 16, 2010 7:54 pm

thom,

I installed this plugin but all I get in its menu is "website" and "sketchucation". no plugins. and I have tt lib installed. why do you think this is happening?

regards,
edson mahfuz, architect
http://www.mahfuz.arq.br

Anyone can get you more for more, but it takes genius to get you more for less.
User avatar
Edson
Global Moderator
 
Posts: 2658
Joined: Mon Oct 22, 2007 1:46 pm
Location: Porto Alegre, Brasil
Name: Edson Mahfuz
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby thomthom » Wed Jun 16, 2010 7:59 pm

Edson,
Only a few of my plugin supports this at the moment.
The one that does will add themselves to this menu under the Website and SketchUcation links.

If you don't have any of my plugins that support this then it'll be empty.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17673
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

Re: [Plugin] ThomThom's Menu (1.0.0) — 09 May 2010

Postby Krisidious » Sat Aug 04, 2012 10:34 am

This helps me because I sometimes can't remember the name of a tool but I know who made it...
Kristoff Rand
Home Designer
Custom House Plans with a Point of View
User avatar
Krisidious
 
Posts: 3262
Joined: Mon Oct 22, 2007 1:52 pm
Location: Springfield, Missouri. USA
Name: Krisidious
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: bsintzel, driven, Google Bot, jorge2011, karimtabbara, palatug and 7 guests