Home Technical Talk

make blender behave like maya (ish)

mod
Offline / Send Message
rooster mod
I'm starting a new thread for this because I'm not going to be asking any qs, this is really just to share where I get up to with making blender more comfortable coming from maya. If anyone has more ideas, throw em in

To use this, you'll need to grab AutoHotkey, its a hotkey scripting prog http://www.autohotkey.com/

here's where I'm up to, I nicked the first part from a guy on blenderartists.org from here http://blenderartists.org/forum/archive/index.php/t-105516.html

edit: ok, biggest issue so far is typing names of stuff :D which is interfered with from the mapping. I need to figure out a 'disable remaps' toggle for that situation.
edit2: ok, mapped that to tab
_______________


#IfWinActive, Blender ahk_class GHOST_WindowClass
!MButton::Send, {SHIFTDOWN}{MButton Down}
!MButton Up::Send, {SHIFTUP}{MButton Up}
!LButton::Send, {MButton Down}
!LButton Up::Send, {MButton Up}
!RButton::Send, {CTRLDOWN}{MButton Down}
!RButton Up::Send, {CTRLUP}{MButton Up}

;rooster's bits- just my preference

;use tab to toggle the script. I remap tab functions later
TAB::Suspend

;swap click buttons
MButton::Rbutton
RButton::MButton


;component selection mode to A
a::^TAB

;edit/object mode toggle to S
s::TAB

;selectall/deselectall d
d::a

;extrude to \
\::e

;frameselection
f::NumpadDot



______________

the most important bit is the part I nicked, it sets the navigation to maya controls
the options I then set in blender are:
turntable view rotation (don't go all funky angles on me)
drag immediately (dont have to confirm *some transform clicks. still have to on others)

Some of the default hotkeys are pretty nice though. x is delete, ctrl+shift has some nice mesh edit options, ctrl gridsnaps. Going to look at some good welding hotkeys next

Replies

  • BeatKitano
    Offline / Send Message
    BeatKitano polycounter lvl 16
    First thank you !

    Second: damn you ctrl+tab !!
  • Zwebbie
    Offline / Send Message
    Zwebbie polycounter lvl 18
    There's an option called Select With in the options under Input, where you can choose to select with the left mouse button. I've heard some people say that it does something wrong, but I haven't noticed it myself. Worth a try, anyway, because I'd imagine that just swapping buttons is nasty when you have to navigate menus.

    Also, with mode toggle to S, how do you scale? Q is right next to it and does nothing, I'd map stuff to that :) .
  • rooster
    Offline / Send Message
    rooster mod
    I click on the scale manipulator or do the gesture thing if its all axes.. I can't seem to manage to get the script to do ' ctrl alt G' otherwise I'd put those on w e and r. You can see that I tried here, but they don't activate the gizmo, they just go straight to translation

    PS here's how my script currently looks after some more modelling



    #IfWinActive, Blender ahk_class GHOST_WindowClass
    !MButton::Send, {SHIFTDOWN}{MButton Down}
    !MButton Up::Send, {SHIFTUP}{MButton Up}
    !LButton::Send, {MButton Down}
    !LButton Up::Send, {MButton Up}
    !RButton::Send, {CTRLDOWN}{MButton Down}
    !RButton Up::Send, {CTRLUP}{MButton Up}

    ;rooster's bits

    ;swap click buttons
    MButton::Rbutton
    RButton::MButton

    ;translation modes
    w::^!G
    e::^!R
    r::^!S

    ;area select closer to hand
    c::b

    ;snap controls to v
    v::Send,{ShiftDown}{s}
    v Up::Send,{ShiftUp}

    ;component selection mode to A
    a::^TAB

    ;edit/object mode toggle to S
    s::TAB

    ;selectall/deselectall d
    d::a

    ;extrude
    \::e

    ;frameselection
    f::NumpadDot

    TAB::Suspend
  • rooster
    Offline / Send Message
    rooster mod
    Just as an update to this thread, I'm working on a little floating panel of buttons for freuqently used actions (like a scripted maya shelf kinda)
    I'll link to it as soon as my effing web host gets my site back online

    cos I ain't pressin no ctrl e alt 2 to make sum dang edges soft :D
  • renderhjs
    Offline / Send Message
    renderhjs sublime tool
    whoa floating panel I hear?
    I might be interested in this as well even though I don't work with maya. Do you script it with python or is there another way of adding custom panels with script- buttons?
  • rooster
    Offline / Send Message
    rooster mod
    same thing as above, autohotkey :). it has quite extensive gui options, so you can make a windows panel that stays above blender and sends input to it when you click buttons. You'll probably be able to do something much more fancy than me with it hehe

    the one drawback is that the panel needs to be positioned above the viewport you're working in. I usually have one big persp window so its not difficult, but if you have loads of panels all over it might be tricky
  • renderhjs
    Offline / Send Message
    renderhjs sublime tool
    dang,- if it were real floaters I would totally follow you :) guess I will check that another day
  • rooster
    Offline / Send Message
    rooster mod
    here we go: http://www.redprodukt.com/bkup/BlendPanel_v0_1.ahk
    it should be clear from the comments what does what, any Qs just ask
    the tabs aren't complete, need to add some buttons as I find I need them

    like I say, the panel needs to be over the viewport window which you're using
  • Michael Knubben
    Blender has a tool shelf now, though, and the entire interface is scriptable through python, so can't someone with scripting experience do whatever they like?
  • eld
    Offline / Send Message
    eld polycounter lvl 18
    that's how it should be in 2.5, all in python.
  • rooster
    Offline / Send Message
    rooster mod
    what do you mean when you say 'now' pea, 2.5 is still beta and imo not fully battle ready
    ps, I have copy and pasting experience, not scripting experience.. so I'm not going to muck about with python interfaces
Sign In or Register to comment.