[Plugin] Custom Toolbars Plugin
-
The new icons are great touch to the whole.
One command that you might consider, which is buried deep, Toggle crosshairs on and off.
Best,
-
Unfortunately, there is no way to set or get the crosshairs option using Ruby.
-
hi Jim, i had a look at all the commands - 'is that it', or is there a way for me to add others - for example sandbox tools?
or... is there a list of all available su commands (not included in your plugin) i can try to tweak with one of your existing examples?
(fantastic plugin/icons btw)
-
@cadfather said:
hi Jim, i had a look at all the commands - 'is that it', or is there a way for me to add others - for example sandbox tools?
or... is there a list of all available su commands (not included in your plugin) i can try to tweak with one of your existing examples?
(fantastic plugin/icons btw)
I am working on including a way for anyone to add their own commands. I would like to keep it separated from the "offical" release, so likely will have a "user" folder for these.
-
great.. it could become the best way if google does not address the present toolbar layout nightmare
-
%(#0080FF)[PKast wrote:”
“One command that you might consider, which is buried deep, Toggle crosshairs on and off.”
Jim wrote:
Unfortunately, there is no way to set or get the crosshairs option using Ruby.]
I’m curious if Ruby can toggle (artificially) “Display crosshairs” check-box by causing a mimic of Window Key-suite…!
1.If ‘Click-drag-release’ radio-button is selected:
Alt+W, P,P, Enter, D, Tab, Tab, Tab, Tab, Spacebar, Enter
2.If ‘Autodetect’ or ‘Click-move-click’ radio-button is selected:
Alt+W, P,P, Enter, D, Tab, Tab, Tab, Tab, Tab, Spacebar, EnterCornel
-
But how for example I can add toolbars of my own, I got many one-button TB and I want to combine them all in 1, like that also, I won't have to spend 20 min on arranging the toolbar anytime.... is it possible to make it user friendly add add buttons?
-
@nankyo said:
But how for example I can add toolbars of my own, I got many one-button TB and I want to combine them all in 1, like that also, I won't have to spend 20 min on arranging the toolbar anytime.... is it possible to make it user friendly add add buttons?
Right now, there is no easy way to add your own buttons. If you have a specific button you would like available, I can add it to the list.
-
Cheers Jim for a great solution!!!!
I need to get here a big more frequently, I miss so much!!!
-
Hi Jim, i actually have a request for a button (perhaps it's more a new script or added to the ruby toolbar)
basically i imagine a button that when pressed can call/load a script previously assigned: and that i can change/reassign a different script.. how does that sound?
-
Hi Jim !
Is it possible to create a button that changes its icon depending on the result of the function? All icons are created before, and result of the function gives the adress of the specific icon... -
@cadfather said:
Hi Jim, i actually have a request for a button (perhaps it's more a new script or added to the ruby toolbar)
basically i imagine a button that when pressed can call/load a script previously assigned: and that i can change/reassign a different script.. how does that sound?
Yes, this can be done. I use a similar technique when writing and testing my scripts. I have a load and reload button. Load lets me browse for a Ruby script and then loads it. Reload reloads the last loaded script.
Can you clarify that you do mean to load a script, and not assign some selectable function to a single button?
-
@matt666 said:
Hi Jim !
Is it possible to create a button that changes its icon depending on the result of the function? All icons are created before, and result of the function gives the adress of the specific icon...I don't know, Matt. I'm not sure a Command can be modified after it is added to the Toolbar. Why not try and let us know?
-
Hi Jim, i do use the ruby toolbar to load the scripts.. but there are so many! i'm thinking of a way to load a script without browsing for it (click to open/load the tools)
say there is a way to link a specific script to a button, eg. i make it load subdivide and smooth whenever it's clicked.
say to another button i assign fredo's TOS. (ideally you can re-assign your favourite/s for different purposes)
not loading all the plugins at startup would make opening SU a faster and simpler situation - knowing that by clicking an icon i open only the specific set of tools i actually need..
the ruby masters could include their loader button with their plugin... or ?
-
I don't see why not. Would be a sort of "Favorites" toolbar?
I agree about not loading all the plugins at startup - this is exactly how I work. I keep only a few "essential" plugins in the Plugins folder, and load other as needed using the Ruby Toolbar Load button.
-
yes a favourites toolbar - having a custom button/s would be an advantage to start with.. eventually who knows what will happen with v7 and webdialogs.
time eating difficult task?
-
@cadfather said:
yes a favourites toolbar - having a custom button/s would be an advantage to start with.. eventually who knows what will happen with v7 and webdialogs.
I can only hope I am not wasting my time on V7 built-in features.
@unknownuser said:
time eating difficult task?
Not really. It's easy to create a toolbar button to load Subsmooth, but I can't get the SubSmooth icons to show using this method. We'd need to ask Whaat to fix that.
-
..so you can load subsmooth but the icons toolbar doesn't show up
it's probably worth waiting for the next release of SU - i heard it's very soon........ (jokin')
thanks Jim
-
-
@cadfather said:
Hi Jim, i do use the ruby toolbar to load the scripts.. but there are so many! i'm thinking of a way to load a script without browsing for it (click to open/load the tools)
say there is a way to link a specific script to a button, eg. i make it load subdivide and smooth whenever it's clicked.
say to another button i assign fredo's TOS. (ideally you can re-assign your favourite/s for different purposes)
not loading all the plugins at startup would make opening SU a faster and simpler situation - knowing that by clicking an icon i open only the specific set of tools i actually need..
the ruby masters could include their loader button with their plugin... or ?
Isn'it precisely what the Sketchup extension manager does?
Advertisement