Hello,
here i am again struggling with a simple status update command.
I wrote this simple tool to help me draw splines.
I’m trying to have the textboxes show the selected values here, so i can just copy and paste in another command.
I took a look at reptorian’s filters (because i know he did such things too
) but in my case it doesn’t work and i don’t know what i’m doing wrong…
#@gui Spline Tool : sptool, sptool(0)*
#@gui : Spline sXY = ~point(20,40,1,0,255,0,0,255,6)
#@gui : Spline cXY = ~point(70,40,1,0,155,0,0,255,6)
#@gui : Spline eXY = ~point(80,40,1,0,255,0,0,255,6)
#@gui : Spline cXY = ~point(35,40,1,0,155,0,0,255,6)
#@gui : thickness = int(2,1,100)
#@gui : Opacity = float(1,0,1)
#@gui : color = ~color(255,0,0)
#@gui : Command 1 = text("Command")
#@gui : Spline sXY = ~point(20,50,1,0,0,255,0,255,6)
#@gui : Spline cXY = ~point(70,50,1,0,0,155,0,255,6)
#@gui : Spline eXY = ~point(80,50,1,0,0,255,0,255,6)
#@gui : Spline cXY = ~point(35,50,1,0,0,155,0,255,6)
#@gui : thickness = int(2,1,100)
#@gui : Opacity = float(1,0,1)
#@gui : color = ~color(0,255,0)
#@gui : Command 2 = text("Command")
sptool:
cmd1=$1%,$2%,$3%,$4%,$5%,$6%,$7%,$8%,$9,$10,$11,$12,$13
cmd2=$15%,$16%,$17%,$18%,$19%,$20%,$21%,$22%,$23,$24,$25,$26,$27
thickspline $cmd1
thickspline $cmd2
u "{$1}""{$2}""{$3}""{$4}""{$5}""{$6}""{$7}""{$8}""{$9}""{$10}""{$11}""{$12}""{$13}""{"$cmd1"}"\
"{$15}""{$16}""{$17}""{$18}""{$19}""{$20}""{$21}""{$22}""{$23}""{$24}""{$25}""{$26}""{$27}""{"$cmd2"}"