Page 1 of 1

Number parameter in path STROKE width

Posted: Wed Mar 07, 2012 9:41 am
by DeFleur
Want to inform that I tried the following which leads CF3 to exit
//code
startshape PATHover
path CIRC(number STrK) {
MOVETO(-10,0) ARCREL(20,0,10)
ARCREL(-20,0,10) STROKE(STrK) [ ]
}
shape PATHover {CIRC(1) [ ]}
//code
Is this part of the rules ?

Re: Number parameter in path STROKE width

Posted: Wed Mar 07, 2012 1:58 pm
by MtnViewJohn
<Peewee Herman voice>
I meant to do that!
</Peewee Herman voice>

That's a bug. There is no workaround. But a new beta release is coming out soon.

Re: Number parameter in path STROKE width

Posted: Wed Mar 07, 2012 10:08 pm
by MtnViewJohn
And as an aside, this path will have artfacts unless you close the path:

Code: Select all

path CIRC(number STrK) {
  MOVETO(-10,0)
  ARCREL(20,0,10)
  ARCREL(-20,0,10)
  CLOSEPOLY()
  STROKE(STrK) [ ]
}

Re: Number parameter in path STROKE width

Posted: Thu Mar 08, 2012 1:14 am
by DeFleur
Got it ! and merci.