Thanks Howard, I have a "design tools" stack, which I can toggle as a palette,
focus on the top card of the stack I am building.. I'll add a card with this in
a button
"Make equilateral triangle"
BR
Obviously you want an evenly sided triangle with fixed width W? So use
put 243 into W -- for e
> 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
@HH @brian
Ha! You math genius are wonderful! But this is a one off design process, so I
will still with my "ruler" grc rect….
A triangle with width=height is NOT a regular polygon (it doesn't have equal
side length).
To have what you want create a grc of type "polygon" and then
set points o
This is similar to a problem I've had with hexagons.
Probably the best thing is NOT to use the Regular Polygon Tool but to
define your own triangles using a Polygon Graphic where you set the points.
Richmond.
On 27.12.19 17:30, Sannyasin Brahmanathaswami via use-livecode wrote:
Regular Polygon
A triangle with width=height is NOT a regular polygon (it doesn't have equal
side length).
To have what you want create a grc of type "polygon" and then
set points of grc 1 to "0,0,10,-10,20,0,0,0"
set width of grc 1 to 243
set height of grc 1 to 243
To have equal sideLength you set the width t
Can you set the margins to 0?
Bob S
> On Dec 27, 2019, at 07:30 , Sannyasin Brahmanathaswami via use-livecode
> wrote:
>
> Regular Polygon Tool:
>
> If you create a triangle grc and set its width and height to 243pt
>
> the tool positions the top of the triangle to center of the top line of
The center (loc) of the rect is the center of the triangle. So to get a
triangle of width W, you need to set the height and width of the grc to
2*W/sqrt(3).
Thanks,
Brian
On Dec 27, 2019, 10:31 AM -0500, Sannyasin Brahmanathaswami via use-livecode
, wrote:
> Regular Polygon Tool:
>
> If you cr
Regular Polygon Tool:
If you create a triangle grc and set its width and height to 243pt
the tool positions the top of the triangle to center of the top line of the
rect and leaves margins on the left and right sides. Thus, the triangle itself
doesn't take the width of 243pt. It like ist has ma