top of page
satheesrev

Card From Position Gizmo






set cut_paste_input [stack 0]

version 15.0 v2

push $cut_paste_input

add_layer {position position.red position.green position.blue position.alpha}

Group {

name CardFromPosition

selected true

xpos 110

ypos 91

addUserKnob {20 CardFromPosition}

addUserKnob {41 channel T Shuffle1.in}

addUserKnob {41 position T NoOp1.position}

addUserKnob {26 ""}

addUserKnob {22 GenerateCard l "Generate Card" T "nGroup = nuke.thisNode()\nPosPick = nGroup\['position'].value()\nwith nuke.root():\n newCard = nuke.nodes.Card2()\n newCard.setXYpos(nGroup.xpos(), nGroup.ypos() + 50)\n newCard.knob(\"translate\").setValue(PosPick)\n newCard.knob('uniform_scale').setValue(100)" +STARTLINE}

}

Input {

inputs 0

name Input1

xpos -204

ypos -74

}

Dot {

name Dot1

xpos -170

ypos -15

}

set N338bc800 [stack 0]

Dot {

name Dot2

xpos -321

ypos -15

}

Dot {

name Dot3

xpos -321

ypos 227

}

push $N338bc800

Shuffle {

in position

name Shuffle1

xpos -204

ypos 38

}

NoOp {

name NoOp1

selected true

xpos -204

ypos 87

addUserKnob {20 User}

addUserKnob {18 position}

position {0 0 0}

addUserKnob {6 position_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}

}

Copy {

inputs 2

channels rgb

name Copy1

xpos -204

ypos 211

}

Output {

name Output1

xpos -204

ypos 303

}

end_group


7 views0 comments

Recent Posts

See All

Automatically pin the Cornerpin in Nuke

This little code place the cornerPin nodes 4 pin's automatically based on the bbox. If your image dosen't have bbox add a crop node and...

Connect Roto to Tracker

This script lists all the available Tracker node in the script. It connects the transform value to the selected Roto node. import nuke...

Comments


bottom of page