Page 1 of 4 123 ... LastLast
Results 1 to 20 of 67

Thread: [Addon] Wazou's RMB Pie Menu

  1. #1
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757

    [Addon] Wazou's RMB Pie Menu

    Hi,

    This pie is for me and my workflow, but maybe someone would find it usefull.

    RMB_pie_menu.jpg

    The Goal is to have everything I use on the RMB.

    https://github.com/pitiwazou/Scripts...u_RMB_Pie_Menu



    You can test my Wouzou's Pie Menus > http://www.blenderartists.org/forum/...ou-s-Pie-Menus
    Last edited by pitiwazou; 10-Feb-16 at 18:01.



  2. #2
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757
    Little Update on my custom RMB Pie Menu

    With no Object in the scene :

    RMB_000.jpg

    With Objects :

    RMB_0005.jpg

    In Edit Mode :

    RMB_001.jpg

    And to make hole on a selection of vertices :




  3. #3
    Member
    Join Date
    Dec 2012
    Location
    Georgia
    Posts
    201
    The 'Hole' script look interesting. Did you come up with that code?



  4. #4
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757
    Here is my code

    Code:
    bl_info = {
        "name": "Addon Create Hole",
        "author": "CÚdric Lepiller",
        "version": (0, 1),
        "blender": (2, 71, 0),
        "location": "View3D > Tools",
        "description": "This Operator create a hole on a selection",
        "warning": "",
        "wiki_url": "",
        "category": "Tools"}
        
    import bpy
    
    
    #Create Hole
    class CreateHole(bpy.types.Operator):                  
        """This Operator create a hole on a selection"""                   
        bl_idname = "object.createhole"                     
        bl_label = "Create Hole"        
    
    
        @classmethod                                     
        def poll(cls, context):                         
            return context.active_object is not None 
    
    
        def execute(self, context):                     
            
            bpy.ops.mesh.extrude_region_move()
            bpy.ops.transform.resize(value=(0.6, 0.6, 0.6))
            bpy.ops.mesh.looptools_circle()
            bpy.ops.mesh.extrude_region_move()
            bpy.ops.transform.resize(value=(0.8, 0.8, 0.8))
            bpy.ops.mesh.delete(type='FACE')
            return {'FINISHED'} 
        
    ##################################
    
    
    #Class Panel
    class PanelCreateHole(bpy.types.Panel):
        bl_label = "Create Hole"
        bl_idname = "OBJECT_PT_Create_hole"
        bl_space_type = 'VIEW_3D'
        bl_region_type = 'TOOLS'
        bl_category = "Tools" 
    
    
        def draw(self, context):
            layout = self.layout
    
    
            layout.operator("object.createhole")
    
    
    
    
    def register():
        bpy.utils.register_class(PanelCreateHole)
        bpy.utils.register_class(CreateHole)
    
    
    def unregister():
        bpy.utils.unregister_class(PanelCreateHole)
        bpy.utils.unregister_class(CreateHole)
    
    
    if __name__ == "__main__":
        register()



  5. #5
    Hi pitiwazou,

    looks really useful.

    But I have a error.

    Modules Installed from 'C:\\tmp\\Wazou_RMB_Pie_Menu.py' into 'E:\\Blender\\2.71\\scripts\\addons' (Wazou_RMB_Pie_Menu)
    search for unknown operator 'WM_OT_call_menu_pie', 'WM_OT_call_menu_pie'
    Exception in module register(): 'E:\\Blender\\2.71\\scripts\\addons\\Wazou_RMB_Pie _Menu.py'
    Traceback (most recent call last):
    File "E:\Blender\2.71\scripts\modules\addon_utils.p y", line 312, in enable mod.register()
    File "E:\Blender\2.71\scripts\addons\Wazou_RMB_Pie_Menu .py", line 566, in register kmi.properties.name = "pie.rightclicmenu"
    AttributeError: 'OperatorProperties' object has no attribute 'name'

    search for unknown operator 'WM_OT_call_menu_pie', 'WM_OT_call_menu_pie'


    Win 7 64Bit
    Blender 2.71
    Hash 9337574
    25.06.2014



  6. #6
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757
    Have you the last build of blender with pie menus ?
    It seams not



  7. #7
    Hi pitiwazou,

    thanks for your feedback.

    The last Blender-Versions give me a Render slow down around 20%.
    So I stay with the older version.



  8. #8
    Member comeinandburn's Avatar
    Join Date
    Feb 2007
    Location
    toronto, canada
    Posts
    1,154
    wow that "hole" functionality is amazing! great work!



  9. #9
    Need help It looks that "Left mouse is SELECTION." is not working for me ! Did i miss somethong to make it work ? I am using Blender 2.7.2!



  10. #10
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757
    You just have to change the shortcuts on this code, Line 565.

    Code:
    km = wm.keyconfigs.addon.keymaps.new(name = '3D View Generic', space_type = 'VIEW_3D')
    kmi = km.keymap_items.new('wm.call_menu_pie', 'RIGHTMOUSE', 'PRESS')
    kmi.properties.name = "pie.rightclicmenu"
    For exemple :

    Code:
    kmi = km.keymap_items.new('wm.call_menu_pie', 'LEFTMOUSE', 'PRESS', alt=True, shift=True)



  11. #11
    Thanks for your reply . I will try it again. This addon is really usefull for me!
    Last edited by wuren; 05-Oct-14 at 18:05.



  12. #12
    Sorry pitiwazou, i still need some help.
    I follow your advise changed this code, line 565 , but I still can not select vertex, edge or face in edit mode using "left mouse", just like select vertex edge or face using "right mouse" before i enable this addon! And failed to call "RMB Pie Menu" using "right mouse"
    Maybe i still do some mistake.

    Big Thanks for tharing this great addon!
    Last edited by wuren; 05-Oct-14 at 18:03.



  13. #13
    WOW.
    Witchcraft!!!

    Many thanks on sharing this with all of us!

    In my personal experience the stuff pitiwazou has been doing with Pie Menus is the best thing blender has seen in terms of usablility and UI in .... forever.
    Ofcourse, the credit goes to Psy-Fi for actually giving us the official PieMenus. And to LiquidApe and the guys who helped him bring us the first incarnation of Pies.

    Seriously, BF/BI you should take a close look at what he is doing. Best case scenario, you actually get in touch with him and pick his brain!!! Listen to what he'd have to say!

    Edit:
    I have one suggestion
    Link to this thread from your other 'Wazou_Pie_Menus' thread. And vice versa, so people who don't follow the forum on a regular basis can actually grab both scripts.
    Last edited by 0rAngE; 05-Oct-14 at 12:19.



  14. #14
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757
    Thx OrAngE, I just see your post ^^

    Good idea for the linking

    Little Update of the RMB Pie Menu with the sculpt Pie for Dyntopo.
    It's still in WIP for this part.

    dyntopo pie.jpg
    You can enable dyntopo, change everything, look the video to see the new pie.



    Sorry for my so bad english ^^

    If you have some ideas for the sculpt Pie Menu, don't hesitate

    https://github.com/pitiwazou/Scripts...u_RMB_Pie_Menu
    Last edited by pitiwazou; 18-Oct-14 at 15:23.



  15. #15
    Very very cool
    Please connect the screencast keys



  16. #16
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757
    Why do you want the screen cast key ?

    Little Update !

    RMB_pie_menu.jpg

    I have to fix a bug when we don't have components selected, if someone can help me on this
    It's in Edit mode with the merge options.

    Ced



  17. #17
    The new Sculpt RMB Pie is very good! I'll make heavy use of this.
    The updates on RMB are nice!

    Looking forward to have the (Sculpt) Constant/Relative settings under my cursor, it was a drag having to reach it in the T-Panel.
    The only thing I miss in here now is the AutoSmooth Setting, I figure you don't adjust that often?



  18. #18
    Member rhyging5's Avatar
    Join Date
    Sep 2011
    Location
    barcelona
    Posts
    151
    I think that the possibility to have Almost all pie menus in the same Key/shortcut is really interesting. Personally I'm not a big fan of key combinations, so for me that will be the perfect pie menu workflow. Although this seems impossible, I think is pretty doable, just keep in mind the UI CONTEXT you are working on. For instance if you are in scult MODE, just pressing the Tab key, what you shall expect is the Pie sculpt menu. And pressing the SAME TAB KEY, the own pie menus for the others modes you are working on. And going a step further, If you are in the retopo active tab, you shall expect the proper pie menu of retopo. So also depending in which ACTIVE TAB you are, will have the proper pie menu. And all this only using the same key!



  19. #19
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,757
    You can also use a pie to call other pies.
    For exemple, with TAB, you call a pie and in this pie, you have 8 pies, snap, edit mode, cursor, view etc.

    One clic, lot of possibilities.



  20. #20
    You are the bestpitiwazou, I use your tools every day, thanks a lot for this, I really appreciate your time.



Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •