6. September 2017 at 14:52 #7582AakashParticipant
- Posts 67
I really appreciate that every action is an icon, so I’m having a question.
Is it possible to create Custom Toolbar with Custom Py scripts or existing actions?
I think that it could slightly speed up the work because to favorites acrions will be the eyes.
That option might be a floating toolbar.6. September 2017 at 15:53 #10724
Not that i know of. Snapping is one of those context sensitive menu items that cannot go into the toolbar anyways.
You can call a menu by hotkey when you add such an entry in the input manager with the right values. This results in a floating panel then that appears under the mouse. But that’s a text menu then.
This is my signature7. September 2017 at 6:36 #10725AakashParticipant
- Posts 67
Any Idea?7. September 2017 at 7:30 #10726
You would need the term wm.call_menu. That one goes into up left field. And you need the name of the menu class. That one goes down right in the name field.
But this does not work with snap anymore. You need a menu type class. The snap menu that you have chosen here is not longer a menu in Bforartists, but a panel. We have put it into the tool shelf. And panels can’t be called this way.
This is my signature7. September 2017 at 8:02 #10727
Hm, this seems to be one of the caveats in Bforartists. In Blender all this stuff is menu, and can be called under the mouse by hotkey. In Bforartists i try to put as much content as possible into the tool shelf into the panels. And get rid of all those hotkeys and all those double menus. And then this method doesn’t work anymore.
What you could try as a substitute is the pie menu addon. But i have never worked with it before. So i cannot say if it is of any use.
This is my signature8. September 2017 at 14:50 #10733svenslyParticipant
- Posts 935
Seems the Snap Icons access from Blender floating menu is starting to feel missed. I have them pinned in the toolshelf all the time these days, cause it’s nicer than keyboard shortcuts – but having it in the pie menu or quick over viewport again would be nice. I should look into that.
I guess this also is a similar issue that got brought up with the opengl viewport render buttons in the toolbar, operators not working in the correct viewport? Due to context?8. September 2017 at 16:11 #10734
It’s another issue. I made the former text menu a panel, and now it cannot be called with a hotkey anymore. wm.call_menu requires a menu type class, not a panel type class.
I could make the panel class another name, and readd the text menu class. But this would introduce other trouble then. What mainly stops me here is that this menus would only be good for hotkeys and the Blender workflow then. And Bforartists does simply not stand for hotkeys and the Blender workflow.
When you want to work like in Blender, then you should use Blender.
This is my signature8. September 2017 at 16:51 #10735svenslyParticipant
- Posts 935
Yeah, I get it. I don’t really want to call floating menus by shotcuts to be honest. Just wish the snap icons worked in the toolbar, so I can hide and/or unpin that panel if needs be.8. September 2017 at 19:01 #10739
Me too. And i tried. But that’s unfortunately impossible. Those operators are context sensitive …
This is my signature
- You must be logged in to reply to this topic.