Much thanks to all of you who replied. There seemed to be three basic answers 
so far.


1) Paint a line, then kill but the beginning and end points. (My method and the 
method 
used in a majority of the replies.) 

2) Use the CTRL key to connect two brush strokes. (see script below.) 


3) Use a ruler.


I immediately eliminated 3) since I misplaced or got rid of all my rulers and 
replaced them with measuring tape. 

This second method is more the live drawing solution I was seeking. The line 
produced is not a 
consistent thickness, looking more like a barbell but it is a 
constrained straight line between the two strokes. Maybe if I set the 
brush to not be pressure sensitive, it may be a more consistent 
thickness. 


In any case, kudos to Scott aka villain749 for coming up with the solution I 
was seeking.

You all rock!

Howard


------------------------------------------------------------------------------------------
 
Here're my results below.
------------------------------------------------------------------------------------------
 

set cut_paste_input [stack 0] 
version 6.2 v4 
Constant { 
inputs 0 
channels rgb 
color 0.01 
name Constant1 
selected true 
xpos 67 
ypos -795 
} 
RotoPaint { 
curves {AnimTree: "" { 
Version: 1.2 
Flag: 0 
RootNode: 1 
Node: { 
 NodeName: "Root" { 
  Flag: 512 
  NodeType: 1 
  Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 2176 S 0 1088 
  NumOfAttributes: 10 
  "vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 
1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 
 } 
 NumOfChildren: 1 
 Node: { 
  NodeName: "Brush1" { 
   Flag: 512 
   NodeType: 5 
   CubicCurve: "" { 
    Transform: 0 0 L 0 4096 0.5 2 0 0 "" 0 1 "" 1039 1748 0 1 0 1 256 0 
L 0 4096 0.5 2 0 0 "" 0 1 "" 1039 64 0 1 0 1 256 0 S 1 1039 0 S 1 1039 1 
S 1 1039 1 S 1 1039 0 S 1 1039 339.419 S 1 1039 947.355 
    Type: 3 Flag: 2080 Dim: 3 
    NumOfPoints: 31 
    0 S 1 1039 161 S 1 1039 948 S 1 1039 0.0566406 0 0 S 1 1039 163 S 1 
1039 948 S 1 1039 0.324219 0 0 S 1 1039 164 S 1 1039 948 S 1 1039 
0.496094 0 0 S 1 1039 166 S 1 1039 949 S 1 1039 0.512207 0 0 S 1 1039 
168 S 1 1039 949 S 1 1039 0.522949 0 0 S 1 1039 172 S 1 1039 950 S 1 
1039 0.532715 0 0 S 1 1039 175 S 1 1039 950 S 1 1039 0.549316 0 0 S 1 
1039 178 S 1 1039 950 S 1 1039 0.55127 0 0 S 1 1039 180 S 1 1039 950 S 1 
1039 0.554199 0 0 S 1 1039 181 S 1 1039 950 S 1 1039 0.557129 0 0 S 1 
1039 184 S 1 1039 950 S 1 1039 0.559082 0 0 S 1 1039 185 S 1 1039 950 S 
1 1039 0.560059 0 0 S 1 1039 187 S 1 1039 949 S 1 1039 0.562012 0 0 S 1 
1039 191 S 1 1039 949 S 1 1039 0.562988 0 0 S 1 1039 192 S 1 1039 949 S 
1 1039 0.565918 0 0 S 1 1039 194 S 1 1039 949 S 1 1039 0.566895 0 0 S 1 
1039 196 S 1 1039 949 S 1 1039 0.567871 0 0 S 1 1039 197 S 1 1039 948 S 
1 1039 0.571777 0 0 S 1 1039 198 S 1 1039 948 S 1 1039 0.572754 0 0 S 1 
1039 200 S 1 1039 948 S 1 1039 0.575684 0 0 S 1 1039 203 S 1 1039 948 S 
1 1039 0.57666 0 0 S 1 1039 206 S 1 1039 948 S 1 1039 0.583496 0 0 S 1 
1039 208 S 1 1039 948 S 1 1039 0.585449 0 0 S 1 1039 778 S 1 1039 942 S 
1 1039 0.0751953 0 0 S 1 1039 780 S 1 1039 943 S 1 1039 0.414062 0 0 S 1 
1039 781 S 1 1039 943 S 1 1039 0.557129 0 0 S 1 1039 784 S 1 1039 943 S 
1 1039 0.606934 0 0 S 1 1039 785 S 1 1039 943 S 1 1039 0.616699 0 0 S 1 
1039 787 S 1 1039 943 S 1 1039 0.626465 0 0 S 1 1039 790 S 1 1039 943 S 
1 1039 0.634277 0 0 S 1 1039 788 S 1 1039 943 S 1 1039 0.444336 0 
    NumOfAttributes: 46 
    "vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" 
S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bs" S 0 155 "bsp" S 0 0.05 "h" 
S 0 0.2 "bm" S 0 0 "dt" S 0 1 "ds" S 0 0 "dh" S 0 0 "bt" S 0 0 "bu" S 0 
1 "inv" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 
"ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 2176 "spy" S 0 1088 "stot" 
S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "ltn" S 0 1039 "ltm" 
S 0 1039 "ltt" S 0 2 "ws" S 0 0 "we" S 0 1 "ep1" S 0 0 "ep2" S 0 0 "ep3" 
S 0 0 "tt" S 0 14 "nv" S 0 1 "view1" S 0 1 
   } 
  } 
  NumOfChildren: 0 
 } 
} 
} 
} 
toolbox {selectAll { 
 { selectAll ssx 1 ssy 1 sf 1 } 
 { selectCurves ssx 1 ssy 1 sf 1 tt 1 } 
 { createBezier ssx 1 ssy 1 sf 1 sb 1 } 
 { createBSpline ssx 1 ssy 1 sf 1 sb 1 } 
 { createEllipse ssx 1 ssy 1 sf 1 sb 1 } 
 { createRectangle ssx 1 ssy 1 sf 1 sb 1 } 
 { brush ro 0 go 0 bo 0 ao 0 bs 155 ssx 1 ssy 1 sf 1 sb 1 ltn 1039 ltm 
1039 tt 14 } 
 { eraser src 2 ssx 1 ssy 1 sf 1 sb 1 } 
 { clone src 1 ssx 1 ssy 1 sf 1 sb 1 tt 16 } 
 { reveal src 3 ssx 1 ssy 1 sf 1 sb 1 } 
 { dodge src 1 ssx 1 ssy 1 sf 1 sb 1 } 
 { burn src 1 ssx 1 ssy 1 sf 1 sb 1 } 
 { blur src 1 ssx 1 ssy 1 sf 1 sb 1 } 
 { sharpen src 1 ssx 1 ssy 1 sf 1 sb 1 } 
 { smear src 1 ssx 1 ssy 1 sf 1 sb 1 } 
} } 
toolbar_brush_hardness 0.200000003 
toolbar_lifetime_type all 
toolbar_source_transform_scale {1 1} 
toolbar_source_transform_center {320 240} 
colorOverlay 0 
lifetime_start 1039 
lifetime_end 1039 
view {} 
motionblur_on true 
brush_size 155 
brush_spacing 0.05000000075 
brush_hardness 0.200000003 
source_black_outside true 
name RotoPaint1 
selected true 
xpos 67 
ypos -499 
} 
Text { 
message "Step 1: \nStart your paint stroke." 
font /dd/facility/lib/fonts/Arial.ttf 
yjustify center 
box {1484 240 1768 1328} 
translate {52 268} 
center {2176 1088} 
name Text1 
selected true 
xpos 67 
ypos -408 
} 
Text { 
message "Step 2: \nHold Down CTRL Key and do NOT lift up pen from 
tablet. A Crosshair will appear at cursor." 
font /dd/facility/lib/fonts/Arial.ttf 
size 60 
yjustify center 
box {1572 376 1856 1464} 
translate {292 -440} 
center {2176 1088} 
name Text2 
selected true 
xpos 67 
ypos -344 
} 
Text { 
message "Step 3: \nLift up pen and go to end of your intended line. 
Draw endpoint. Nuke will connect the beginning brush stroke to the end 
brush stroke." 
font /dd/facility/lib/fonts/Arial.ttf 
yjustify center 
box {2396 948 2680 2036} 
translate {292 -440} 
center {2176 1088} 
name Text3 
selected true 
xpos 67 
ypos -282 
} 
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to