Laptop Number Pad Script

calculator.pngIf you are a laptop user, you might be frustrated with the lack of easy access to the number pad when you want to quickly navigate from the camera, the front, the top, or the side views.  Thanks to mugwah, laptop users can finally use the number pad without remapping keys* thanks to a python script.

mugwah writes on the thread:

For months I have been frustrated by my SonyVAIO inability to allow a USB numpad to coexist with a full QWERTY keyboard map. Then along came Ray Badstibner (AKA raymaxbad) who inspited me with his BpKeyboard.py script. I adapted his work to create the Laptop Numpad Script.

You can find the latest version of the script here.  A quick note, I couldn't access from the scripts window (my Windows version of Blender wouldn't update the script folder), but it did work when I opened it through the text editor and Alt+P to run the script.

*If you would like to remap the keys, go to the User Preferences window, System & OpenGL button, Emulate Numpad button.  This will cause the number keys (1 to 0) to be the emulate the number pad, but it will remove the abilty to navigate to different layers with those keys (which you can do with the M Key).







Related News

Related Resources


Related posts are selected automatically based on their content.


18 Responses to “Laptop Number Pad Script”  

  1. 1 Kashoki

    Thank you for this wonderful script! I have a PC for home and a laptop for work, I hate it when I have to trail around the object. This will solve all. :)

  2. 2 FreakyDude

    cool, i intent to get a laptop somewhere down the line, and this would be a nr 1 priority for blender there. To me at least.

  3. 3 qp

    Why not use: User Preferences -> System & OpenGL -> Emulate NumPad ????

    qp

  4. 4 rpgsimmaster

    @qp
    Using the number keys at the top is difficult to get used to as opposed to the convenient placing of the numpad keys on the keyboard.

    I use a laptop with blender, and previously I've had to attach an external keyboard so I can get functionality of the number pad. Hopefully this'll be of more use!

  5. 5 wolfmanyoda

    Great idea.
    I had to buy a USB numpad because I couldn't stand to not have one with my laptop.

  6. 6 Eddie

    great! since my PC numpad is on the right side( too far for my left hand),
    its really helping me

  7. 7 rashwell

    Is there a way in Blender to have this script auto start? So that I don't have to run it every time.

  8. 8 pat

    @rashwell
    should work with a scriptlink in your default file

  9. 9 mugwah

    Command line usage:
    To open Blender and auto-execute a script, start blender from the command line with the -P option:

    blender -P scriptname.py

    Easiest way to do this in windows is to create a desktop shortcut to blender.exe and add the option info in the target field of the properties panel.

  10. 10 saravan

    hello

    can you help me to use the number keys in laptop , some laptop has the easiest way to use the number as in normal keyboard,
    how to use that keys please help me

  11. 11 Dalibor

    Hello Eugene, hope you see this message…

    i have tried your plugin on my laptop and on my normal PC, but I can't get it work.

    area is empty after this command:

    area = Window.GetScreenInfo(Window.Types.VIEW3D)

    do you have any clue why?

    Do I have to run your script, while 3dview is opened? how?

    Thanks a lot
    Dalibor

  12. 12 Eugene

    Hey Dalibor,

    It's not my script, its mugwah's creation (you can contact him through the thread I link to in the post). So he would be more knowledable of the issue you are having. But from my tests, you are correct in that the 3D View needs to be open in order for the script to open up since it is getting data (area) from that specific window type.

  13. 13 Dalibor

    Hi Eugene,

    well, that's it! Thanks a lot. Thread from mugwah explains exactly the same problem.
    I have to split working area so that 3DView is open and run a script…

    Best regards
    Dalibor

  14. 14 megmeg

    hi Eugene

    my laptop does not come with an number pad, and i need to figure out how to us one on a windows computer, and fast!!!!!!

    HELP ME!!!

    best regards,

    meghan

  15. 15 Alfredo Ramirez

    m encanta este script yo tambien tengo una portatil y se me hace dificil modelar aqui por que no podia cambiar las vistas, ahora con este script espero porder hacerlo, tambien busco una simulacion del boton intemedio del mouse.

  16. 16 rex

    awsome, im just trying to look at it, i need a number pad for a game, and other stuff

  17. 17 Master

    I heard a THUMB PAD getting more and more popular which has more functions with controlling the natually placed thumb key. Do you have this type of the number pad? I never seen it.

    Your number pad the function is too simple.

  18. 18 darkness

    ok..this is everythin awesome but i am total newbie for programming.
    is there somethin like install and use system…..
    or can someone please tell me in short steps where to type all those commands on script .
    please i need help and i need numpads for my laptop…i bought usb one but it aint workin n its full of bugs.
    please if anyone know help.
    thanks m8s

Leave a Reply