You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/workflowtools/scripts/quickmenus/README.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,40 +4,40 @@ A set of marking menus for making common tasks more eficient.
4
4
5
5
There are currently 2 sets of menus, F-Menus, and Q-Menus, named by the default hotkeys that they are assigned to.
6
6
7
+
## Hotkey Setup
8
+
9
+
After launching Maya, a first-time setup is required for registering the hotkeys, run this python script in the Script
10
+
Editor:
11
+
12
+
```python
13
+
import quickmenus
14
+
quickmenus.qmenus.registerHotkeys()
15
+
quickmenus.fmenus.registerHotkeys()
16
+
```
7
17
8
18
## F-Menus
9
19
10
-
F-menus allow you to create quick selection sets that are assigned to slots in a radial marking menu. They are designed for workflows like animation, where it is faster to use the gestural nature of marking menus instead of having to use a picker UI or select controls interactively.
20
+
F-menus allow you to create quick selection sets that are assigned to slots in a radial marking menu. They are designed
21
+
for workflows like animation, where it is faster to use the gestural nature of marking menus instead of having to use a
22
+
picker UI or select controls interactively.
11
23
12
24
#### Usage
13
25
14
26
- Hold `f` and use `left-mouse-button` to summon the main quick selection menu.
15
-
- Hold `f` and use `right-mouse-button` to summon a manager menu for switching between different collections of quick select sets.
16
-
27
+
- Hold `f` and use `right-mouse-button` to summon a manager menu for switching between different collections of quick
28
+
select sets.
17
29
18
30
## Q-Menus
19
31
20
-
Q-menus are a set of selection and display related marking menus. Menus include a selection masking radial menu, display masking radial menu, and improved component selection mode switching. The Q-Menus are assigned to Q because of the relationship with the Q (selection) tool itself.
32
+
Q-menus are a set of selection and display related marking menus. Menus include a selection masking radial menu, display
33
+
masking radial menu, and improved component selection mode switching. The Q-Menus are assigned to Q because of the
34
+
relationship with the Q (selection) tool itself.
21
35
22
36
#### Usage
23
37
24
38
- Hold `q` and use `left-mouse-button` to summon the selection masking menu
25
39
- Hold `q` and use `middle-mouse-button` to summon the display masking menu
26
40
- Hold `q` and use `right-mouse-button` to summon a camera quick switching menu
27
41
- Hold `alt+q` and use `left-mouse-button` to summon the component selection menu
28
-
- Hold `alt+q` and use `middle-mouse-button` to summon a [resetter](https://github.com/bohdon/maya-resetter) menu for quickly resetting object transforms, etc
29
-
30
-
31
-
## Setup
32
-
33
-
After launching Maya, a first-time setup is required for registering the hotkeys, run this python script in the Script Editor:
34
-
35
-
```python
36
-
# register Quick Menu hotkeys
37
-
quickmenus.qmenus.registerHotkeys()
38
-
quickmenus.fmenus.registerHotkeys()
39
-
```
40
-
41
-
42
-
## Version 1.0.0 (2017-12-19)
43
-
- Initial release
42
+
- Hold `alt+q` and use `middle-mouse-button` to summon a [resetter](https://github.com/bohdon/maya-resetter) menu for
Copy file name to clipboardExpand all lines: src/workflowtools/scripts/resetter/README.md
+18-10Lines changed: 18 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,31 +2,39 @@
2
2
3
3
A simple util for quickly resetting transform or other node attributes to their defaults in Maya.
4
4
5
-
Resetter is most useful in animation workflows, where you often want to reset a control to its default state without having to type in 0s and 1s in the channel box. Any transform node can be reset to its "zeroed-out" state without any setup, and special attributes (such as IKFK blend attributes) can have their default values stored on the node so that they are also restored when resetting a node to its default state.
5
+
Resetter is most useful in animation workflows, where you often want to reset a control to its default state without
6
+
having to type in 0s and 1s in the channel box. Any transform node can be reset to its "zeroed-out" state without any
7
+
setup, and special attributes (such as IKFK blend attributes) can have their default values stored on the node so that
8
+
they are also restored when resetting a node to its default state.
6
9
10
+
## Usage
7
11
8
-
## Setup
9
-
10
-
Run the following to launch the Resetter GUI:
12
+
Run the following to launch the Resetter UI:
11
13
12
14
```python
13
15
import resetter
14
16
resetter.GUI()
15
17
```
16
18
17
-
##Main Commands
19
+
### Useful Commands
18
20
19
-
Here are some of the main commands that make useful shelf buttons or hotkeys.
21
+
Store the current keyable values for the selected nodes as defaults:
20
22
21
23
```python
22
24
import resetter
23
-
24
-
# store the selected nodes current keyable values as their defaults
25
25
resetter.setDefaults()
26
+
```
26
27
27
-
# reset selected nodes using defined defaults or basic transform defaults
28
+
Reset selected nodes using defined defaults or basic transform defaults:
29
+
30
+
```python
31
+
import resetter
28
32
resetter.reset()
33
+
```
34
+
35
+
Reset selected nodes using only defined defaults:
29
36
30
-
# reset selected nodes using only defined defaults
0 commit comments