Last active
October 23, 2019 19:34
-
-
Save indoorjetpacks/c4fa4186c897b06f59ac096dd2d0525b to your computer and use it in GitHub Desktop.
Nuke_rotate_neg_90
This file contains hidden or 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
| #---------------------------------------------------------------------------------------------------------- | |
| # | |
| # AUTOMATICALLY GENERATED FILE TO BE USED BY W_HOTBOX | |
| # | |
| # NAME: Rotate -90 | |
| # | |
| #---------------------------------------------------------------------------------------------------------- | |
| for i in nuke.selectedNodes(): | |
| i.knob('type').setValue(1) | |
| wExpr = '[value input.height]' | |
| hExpr = '[value input.width]' | |
| i.knob('box_width').setExpression(wExpr) | |
| i.knob('box_height').setExpression(hExpr) | |
| i.knob('resize').setValue('none') | |
| i.knob('center').setValue(True) | |
| i.knob('flip').setValue(True) | |
| i.knob('flop').setValue(True) | |
| i.knob('turn').setValue(True) | |
| i.knob('label').setValue('Rotate -90') |
This file contains hidden or 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
| set cut_paste_input [stack 0] | |
| version 11.1 v3 | |
| push $cut_paste_input | |
| Reformat { | |
| type "to box" | |
| box_width {{"\[value input.height]"}} | |
| box_height {{"\[value input.width]"}} | |
| resize none | |
| flip true | |
| flop true | |
| turn true | |
| name Reformat16 | |
| label "Rotate -90" | |
| selected true | |
| xpos -1518 | |
| ypos -4582 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment