Results 1 to 10 of 10

Thread: Customized Shortcut Keys and Advanced Features for ChronoSculpt 1.0.1

  1. #1
    Super Member jboudreau's Avatar
    Join Date
    May 2003
    Location
    Halifax
    Posts
    935

    Customized Shortcut Keys and Advanced Features for ChronoSculpt 1.0.1

    Hi Guys

    I saw that ChronoSculpt didn't have many shortcut keys. So after examining and going through many files within the ChornoSculpt folder I was able to modify the CsShortcuts.lua file to allow customizable shortcut keys for almost all buttons, and menus. I also managed to open up some advanced features like bevel, subdivide, triangulate mesh, voxelize etc. These advanced features are not very stable but pretty cool that they are hidden inside the program.

    The only buttons I have not been able to create a shortcut key for is Setup Mode and Global Edit Mode. I'm still working on this. Feel free to change the shortcut keys to whichever ones you want.

    Here is the CsShortcuts.lua file. CsShortcuts.zip

    Steps to Install:

    1. Backup you original CsShortcuts.lua file which is located in the C:\Program Files\NewTek\ChronoSculpt1.0.1\bin\cs\startup folder on a PC (I'm using windows 7 64bit not sure where it's located on a mac)
    2. Download the file provided here
    3. Replace the file in the C:\Program Files\NewTek\ChronoSculpt1.0.1\bin\cs\startup folder with the one you downloaded. If you get access denied you have to take ownership of the file. I used a program called takeownership their are probably other ways how to overwrite the original file. Another thing you can do is copy the file to your desktop and open it from there. once you edit it then copy it back to the original location.

    Steps to Change Shortcut Keys

    1. Open the CsShortcuts.lua file in notepad and change what ever shortcut key you like

    Hope these come in handy

    Here are some screen grabs of the shortcut keys

    Click image for larger version. 

Name:	Chronosculpt_001.png 
Views:	345 
Size:	166.3 KB 
ID:	121628Click image for larger version. 

Name:	Chronosculpt_002.png 
Views:	289 
Size:	178.6 KB 
ID:	121629

    Thanks
    Jason
    Last edited by jboudreau; 04-27-2014 at 12:09 AM.
    VFX Artist / 3D Animator
    Animatrix Productions

    Dell T7600 Dual XEON E5-2687W 3.8GHz / Dell M6700 i7 -3940XM 3.9GHz
    64GB Ram / 32GB Ram
    Nvidia Quadro K5000 / Nvidia Quadro K5000M
    Windows 7 x64

  2. #2
    Super Member jboudreau's Avatar
    Join Date
    May 2003
    Location
    Halifax
    Posts
    935
    Please re-download the new file I just uploaded above. There was a problem with the previous one that I had uploaded

    Thanks,
    Jason
    VFX Artist / 3D Animator
    Animatrix Productions

    Dell T7600 Dual XEON E5-2687W 3.8GHz / Dell M6700 i7 -3940XM 3.9GHz
    64GB Ram / 32GB Ram
    Nvidia Quadro K5000 / Nvidia Quadro K5000M
    Windows 7 x64

  3. #3
    Banned OnlineRender's Avatar
    Join Date
    Dec 2008
    Location
    Glasgow , Scotland , UK
    Posts
    6,359
    Quote Originally Posted by jboudreau View Post
    Please re-download the new file I just uploaded above. There was a problem with the previous one that I had uploaded

    Thanks,
    Jason
    add

    add_shortcut("space", "Select")
    add_shortcut("]", "SelectConnected")
    add_shortcut("shift+{", "ShrinkSelection")
    add_shortcut("shift+}", "GrowSelection")
    add_shortcut("esc", "DeselectAll")
    add_shortcut("right", "SelectLoop")

    add_shortcut("shift+x", "Box")
    add_shortcut("shift+d", "Subdivide")
    add_shortcut("del", "Remove")
    add_shortcut("f2", "Center")
    add_shortcut("y", "Rotate")
    add_shortcut("e", "Extend")
    add_shortcut("b", "Bevel")
    add_shortcut("t", "Move")
    add_shortcut(";", "DragNet")
    add_shortcut("c", "Connect")
    add_shortcut("shift+t", "Triangulate")


    some are a little buggy

  4. #4
    Banned OnlineRender's Avatar
    Join Date
    Dec 2008
    Location
    Glasgow , Scotland , UK
    Posts
    6,359
    sorry should have read ... however global / setup mode looks like


    sits in the WSCsidebar.lua

    Code:
        begin_group("Group.Globals")
            insert_bool(cs_global():property("setup"))
            local global_widget = insert_bool(cs_global():property("global"))
            insert_bool(lw_app():property("tablet"))
            insert_bool(cs_global():property("show_transport"))
            lw_link_not(cs_global():property("setup"), global_widget:property("enabled"))
        end_group()

  5. #5
    Super Member jboudreau's Avatar
    Join Date
    May 2003
    Location
    Halifax
    Posts
    935
    Quote Originally Posted by OnlineRender View Post
    add

    add_shortcut("space", "Select")
    add_shortcut("]", "SelectConnected")
    add_shortcut("shift+{", "ShrinkSelection")
    add_shortcut("shift+}", "GrowSelection")
    add_shortcut("esc", "DeselectAll")
    add_shortcut("right", "SelectLoop")

    add_shortcut("shift+x", "Box")
    add_shortcut("shift+d", "Subdivide")
    add_shortcut("del", "Remove")
    add_shortcut("f2", "Center")
    add_shortcut("y", "Rotate")
    add_shortcut("e", "Extend")
    add_shortcut("b", "Bevel")
    add_shortcut("t", "Move")
    add_shortcut(";", "DragNet")
    add_shortcut("c", "Connect")
    add_shortcut("shift+t", "Triangulate")


    some are a little buggy

    Hi

    Yeah I put most of these in the shortcuts file. I didn't add all of them because most of them don't even do anything in chronoSculpt. It's funny why your even able to activate some of these things.

    Thanks,
    Jason
    VFX Artist / 3D Animator
    Animatrix Productions

    Dell T7600 Dual XEON E5-2687W 3.8GHz / Dell M6700 i7 -3940XM 3.9GHz
    64GB Ram / 32GB Ram
    Nvidia Quadro K5000 / Nvidia Quadro K5000M
    Windows 7 x64

  6. #6
    Thanks for sharing this!
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  7. #7
    What would be the proper string to map the numeric keypad "+" key to Load Object?

    This doesn't work.

    Code:
    add_shortcut("+", "LoadObject")
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  8. #8
    Banned OnlineRender's Avatar
    Join Date
    Dec 2008
    Location
    Glasgow , Scotland , UK
    Posts
    6,359
    Quote Originally Posted by ernpchan View Post
    What would be the proper string to map the numeric keypad "+" key to Load Object?

    This doesn't work.

    Code:
    add_shortcut("+", "LoadObject")
    I don't think it would work because you have plus value in the code , it would either be a LW key code or "numeric_plus" or something along they lines , I shall find out

  9. #9
    Banned OnlineRender's Avatar
    Join Date
    Dec 2008
    Location
    Glasgow , Scotland , UK
    Posts
    6,359
    how to piss off MG and mod the side icons


    WcSidebar.lua

    Line 72 *


    Code:
     begin_group("Group.Project")
            insert(wmenu_button(lw_tr("Group.File"), self:create_file_menu()))
            insert(wmenu_button(lw_tr("Group.Edit"), self:create_edit_menu()))
        end_group()
    
        
            
          
            self:insert_fixed_space(10)
             insert_sized(wbutton_icon("sculpt.svg" , function()
                lw_execute("Draw", true)
            end), 100, 25)
           self:insert_fixed_space(5)
           
            insert_sized(wbutton_icon("pin.svg" , function()
                lw_execute("Pin", true)
            end), 100, 25)
           self:insert_fixed_space(5)
           
            insert_sized(wbutton_icon("drag.svg" , function()
                lw_execute("Grab", true)
            end), 100, 25)
           self:insert_fixed_space(5)
           
           insert_sized(wbutton_icon("smooth.svg" , function()
                lw_execute("Smooth", true)
            end), 100, 25)
           self:insert_fixed_space(5)
           
            insert_sized(wbutton_icon("transform.svg" , function()
                lw_execute("PartTransform", true)
            end), 100, 25)
           self:insert_fixed_space(5)
           
           insert_sized(wbutton_icon("buldge.svg" , function()
                lw_execute("Buldge", true)
            end), 100, 25)
           self:insert_fixed_space(5)
           
            
           insert_sized(wbutton_icon("pinch.svg" , function()
                lw_execute("Pinch", true)
            end), 100, 25)
           self:insert_fixed_space(15)
    This will change the text at the side to icons

  10. #10
    Oh that's a good find.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

Bookmarks

Posting Permissions

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