Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 3.17 KB

kmfx_nudgeShapes.md

File metadata and controls

55 lines (40 loc) · 3.17 KB

KMFX_nudgeShapes Documentation

This script allows you to nudge Shapes and Shape Points with the numeric keypad (up, down, left, right and diagonals) Nudge modifiers are set up in the regular Silhouette Preferences > Nudging

Steps:

  1. Select shapes or shape points
  2. Press "1" to "9" on the numeric keypad to move. Hold Shift or Ctrl for nudge modifiers.
    "1", "3", "7", "9" move diagonally.

Preferences

  • Can be run from KMFX menu: No
  • Can be run from keybind: YES

Video Example

Click to Watch the video

Sample Keybind Command

fx.bind("Num+1", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "BL"}))
fx.bind("Num+3", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "BR"}))
fx.bind("Num+7", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "TL"}))
fx.bind("Num+9", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "TR"}))
fx.bind("Num+8", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "T"}))
fx.bind("Num+6", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "R"}))
fx.bind("Num+4", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "L"}))
fx.bind("Num+2", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "B"}))

fx.bind("Shift+Num+1", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "BL", "modifier": "shift"}))
fx.bind("Shift+Num+3", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "BR", "modifier": "shift"}))
fx.bind("Shift+Num+7", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "TL", "modifier": "shift"}))
fx.bind("Shift+Num+9", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "TR", "modifier": "shift"}))
fx.bind("Shift+Num+8", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "T", "modifier": "shift"}))
fx.bind("Shift+Num+6", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "R", "modifier": "shift"}))
fx.bind("Shift+Num+4", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "L", "modifier": "shift"}))
fx.bind("Shift+Num+2", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "B", "modifier": "shift"}))

fx.bind("Ctrl+Num+1", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "BL", "modifier": "ctrl"}))
fx.bind("Ctrl+Num+3", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "BR", "modifier": "ctrl"}))
fx.bind("Ctrl+Num+7", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "TL", "modifier": "ctrl"}))
fx.bind("Ctrl+Num+9", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "TR", "modifier": "ctrl"}))
fx.bind("Ctrl+Num+8", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "T", "modifier": "ctrl"}))
fx.bind("Ctrl+Num+6", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "R", "modifier": "ctrl"}))
fx.bind("Ctrl+Num+4", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "L", "modifier": "ctrl"}))
fx.bind("Ctrl+Num+2", callMethod(fx.actions["KMFXnudgeShapes"].execute, **{"mode": "B", "modifier": "ctrl"}))