Copy link to clipboard
Copied
Hi,
What's the best/quickest/simplest way to draw an equilateral triangle in
InDesign?
Thanks,
Ariel
Copy link to clipboard
Copied
Do it in Illlustrator, copy, paste in ID.
Copy link to clipboard
Copied
Not really.
ID also has a polygon tool hidden under the other shape tools. Double-click it and you can set the number of sides to 3, Hold the shift key while you drag and that should do it.
Copy link to clipboard
Copied
You had me fooled Peter!
Thanks for the suggestion -- just measured and that does the trick.
Ariel
Copy link to clipboard
Copied
Nah -- this should be doable in ID. Anyway, how would you do it in
Illustrator, for that matter?
Something's gone funny with my geometry. I was thinking of something
like this:
Triangle T has three sides, each of which is length a. Hence T is an
equilateral triangle.
If you divide that triangle into 2 such that you get two right-angled
triangled (ie where one of the angles if 90deg) T1 and T2, the lengths
of the sides of T1 are: 1/2a, a, and x. We need to find x.
Now, by Pythagoras's theorem:
(1/2a)2 + x2 = a^2
So: x2 = (1/2a)2
Hence: x = (√1/2)a
So x = .707a
So I thought:
Draw a rectangle whose width is 10 cm, and whose height is 7.07 cm.
Convert that to a triangle with the pathfinder tool.
Voila!
But no. Close, but not quite. The sides are not entirely equal.
So something's wrong with my algebra or maths.
What?
Ariel
Copy link to clipboard
Copied
Arïel wrote:
Anyway, how would you do it in
Illustrator, for that matter?
Essentially the same thing, but you get to use the arrow keys in Illy to adjust the number of sides on the fly, which is faster. In ID using the arrow keys "gridifys" the darn thing.
As far as the math, I didn't look too hard at your equation, but why bother? ID will do it for you, and more accurately. It's been too lang since I took geometry, but I think the number you want is (sin 60 degrees)*length of your side. Sine of 60 degrees, to 5 places, is 0.86603, or pretty much what Jeffrey said.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Essentially the same thing, but you get to use the arrow keys in Illy to adjust the number of sides on the fly, which is faster. In ID using the arrow keys "gridifys" the darn thing.
Bob
Copy link to clipboard
Copied
My brain is fried this week. I'll never remember the spacebar trick (probably doesn't help that I'm not fond of gridifies tools).
@Ariel, yoru last post was blank...
Copy link to clipboard
Copied
Copy link to clipboard
Copied
another blank post in reponse to me before your last one to Jongware...
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Ariel, Whatever you’re doing is resulting in empty posts on the forum.
I’ve seen this when replying using web mail.
Bob
Copy link to clipboard
Copied
sin60 and (sqr root of 3) x.5 both give the same ratio. Math IS fun as long as your not in ninth grade.
Copy link to clipboard
Copied
Sin 60 is also the same as cos 30.
Actually, it was 10th grade, and it WAS fun then. Not so much now, though.
Copy link to clipboard
Copied
Actually, it was 10th grade, and it WAS fun then.
Well, you didn't have Ms. Corcoran.
Copy link to clipboard
Copied
LOL
Copy link to clipboard
Copied
Polygon Tool, Width: 1 and Height .866
Copy link to clipboard
Copied
Thanks Jeffrey. Any idea what is wrong with my calculations?
Copy link to clipboard
Copied
The ratio of the base to the height of an equilateral triangle is the sqare root of 3 x the base divided by 2. So for a 2" equialteral the height is (1.732 x 2)/2
Copy link to clipboard
Copied
Funny, I probably made the same mistake you made -- (1/2a)² + b² = a² and then reversing the calculation to get b.
Lessee, one step at a time. a² + b² = c² , with c = long edge and we want b.
So you (and I) probably first took c = 2a -- but that's not right; c is the actual initial value of a and a itself would be a/2
so
(a/2)² + b² = a²
reversing:
b² = a² - (a/2)²
simplifying to
b² = a² - a²/4
and then
b² = 0.75a², so b = Sqr(0.75a)
With a unit value for a, we get a ratio of b = 0.866025a
Message was edited by: [Jongware] (Wassup with that? Server Error while typing?)
Copy link to clipboard
Copied
Jongware, your post ends with: and...
Talk about cliffhangers!
Anyway, I don't think I made the mistake you mention. I used 1/2a where
needed. It was just bad maths: (1/2a)2 != 1/2a2
Ariel
Copy link to clipboard
Copied
> Anyway, I don't think I made the mistake you mention.
Attempting to do it from memory also gave me 1/2 Sqrt(2). It took me half an A4 to git it right (fortunately, Math didn't care about the metric page size).
That's why I reckoned I made the same mistake.
Copy link to clipboard
Copied
As I said earlier, Why bother?
ID is much faster at math, and uses many more decimal places, I bet, than any of us. By the time you do the calculation you could have finished three pages of the layout.
Copy link to clipboard
Copied
Peter Spier wrote:
ID is much faster at math, and uses many more decimal places, I bet, than any of us.
Yeah but when working on paper I can calculate Sqrt(0.75x) and sin(60)! Despite being accurate to 15 decimal digits, my version of InDesign can't do that.
CS6, so I'm told, can finally calculate "1 + 2 + 3". A small miracle it may be and much requested the past years, but does this also allow sines and square rooting?