-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
from maya import cmds | ||
from maya import mel | ||
|
||
|
||
commandDict = {} | ||
|
||
|
||
def displayFaceNormals(): | ||
cmds.ToggleFaceNormals() | ||
commandDict['displayFaceNormals'] = "paintFXtoCurve.png" | ||
|
||
|
||
def displayVertexNormals(): | ||
cmds.ToggleVertexNormalDisplay() | ||
commandDict['displayVertexNormals'] = "paintFXtoCurve.png" | ||
|
||
|
||
def displayTangents(): | ||
cmds.ToggleTangentDisplay() | ||
commandDict['displayTangents'] = "paintFXtoCurve.png" | ||
|
||
|
||
def changeNormalSize(): | ||
cmds.ChangeNormalSize() | ||
commandDict['changeNormalSize'] = "paintFXtoCurve.png" | ||
|
||
|
||
# ---------------- | ||
|
||
|
||
def displayBorderEdges(): | ||
cmds.ToggleBorderEdges() | ||
commandDict['displayBorderEdges'] = "paintFXtoCurve.png" | ||
|
||
|
||
def displayCreaseEdges(): | ||
cmds.ToggleCreaseEdges() | ||
commandDict['displayCreaseEdges'] = "paintFXtoCurve.png" | ||
|
||
|
||
def displayTextureBorderEdges(): | ||
cmds.ToggleTextureBorderEdges() | ||
commandDict['displayTextureBorderEdges'] = "paintFXtoCurve.png" | ||
|
||
|
||
def changeEdgeWidth(): | ||
cmds.ChangeEdgeWidth() | ||
commandDict['changeEdgeWidth'] = "paintFXtoCurve.png" | ||
|
||
|
||
# ---------------- |