Polygon Side Does Note Match to Polygon rect

hh hh at hyperhh.de
Sat Dec 28 16:00:35 EST 2019

> BR wrote:
> But this is a one off design process, so I will still with my "ruler" grc rect….

Obviously you want an evenly sided triangle with fixed width W? So use

put 243 into W -- for example
set points of grc 1 to "0,0,10,-10,20,0,0,0" -- these are start-values only
set width  of grc 1 to W
set height of grc 1 to W*sin(pi/3) -- note: 243*sin(pi/3)=210
set loc of grc 1 to 150,150 -- adjust to your needs

What's easier than that?

More information about the use-livecode mailing list