Board logo

Geometry question
interestedparty - 3/1/11 at 07:01 PM

I'm trying to work out how to calculate the length and angles of a diagonal in a rectangulat aperture, done as shown in the picture



OK, so the rectangle dimensions X and Y are known, and the width of the tube Z is known, but I cannot see to get calculate the actual length and angle (if I knew one I could work out the other)

Anyone help?


slingshot2000 - 3/1/11 at 07:13 PM

Someody should have taken more notice during geometry classes at school!
And your drawing isnt clear!

Seriously, lets see if i can explain how to find this while also simplifiying your drawing!

The easiest way is to ignore the thickness of the tube for now (as thats where you have one problem), lets treat it as a simple triangle.

X is the length of your horizontal (but it stops 25mm to the left of where you have drawn it)
Y is the length of the upright
Z is the length of your diagonal

Z(squared) = X(squared) + Y(squared)

Z = the square root of { X(squared) + Y(squared) }

Any scientific calculator will have the symbols for the functions, shame a qwerty keyboards doesnt.
Hope this helps


designer - 3/1/11 at 07:16 PM

If that design is for a bulkhead the cross piece in wrong.


interestedparty - 3/1/11 at 07:25 PM

quote:
Originally posted by slingshot2000
Someody should have taken more notice during geometry classes at school!
And your drawing isnt clear!

Seriously, lets see if i can explain how to find this while also simplifiying your drawing!

The easiest way is to ignore the thickness of the tube for now (as thats where you have one problem), lets treat it as a simple triangle.

X is the length of your horizontal (but it stops 25mm to the left of where you have drawn it)
Y is the length of the upright
Z is the length of your diagonal

Z(squared) = X(squared) + Y(squared)

Z = the square root of { X(squared) + Y(squared) }

Any scientific calculator will have the symbols for the functions, shame a qwerty keyboards doesnt.
Hope this helps


Are you sure about that? It's the (tube stops 25mm to the left) that bothers me. Why 25, where did you get that from? If it is 25mm tube, then that distance needs to be longer, but by how much (I think)




quote:
Originally posted by designer
If that design is for a bulkhead the cross piece in wrong.



I daresay, but it's just a sketch so I understand the principle.

But feel free to say what the right design would be.


BenTyreman - 3/1/11 at 07:43 PM

Length of diagonal from corner to opposite corner = sqrt(X^2 + Y^2)

Call the maximum length of the diagonal before the sloped cuts are made D.

sqrt(X^2 + Y^2) = sqrt(D^2 + Z^2)

Therefore, D = sqrt(X^2 + Y^2 - Z^2).

I think.


interestedparty - 3/1/11 at 08:06 PM

quote:
Originally posted by BenTyreman
Length of diagonal from corner to opposite corner = sqrt(X^2 + Y^2)

Call the maximum length of the diagonal before the sloped cuts are made D.

sqrt(X^2 + Y^2) = sqrt(D^2 + Z^2)

Therefore, D = sqrt(X^2 + Y^2 - Z^2).

I think.



I'm not quite seeing that. D has already been found (pythagoras) from X and Y which are known, yet your last formula shows it as a variable, because X, Y and Z are already known.


BenB - 3/1/11 at 08:07 PM

It's not a simple pythagorean equation because of the width of the tube..... Personally I'd just draw it up in CAD and measure the mofo


BenTyreman - 3/1/11 at 08:10 PM

quote:
Originally posted by interestedparty
I'm not quite seeing that. D has already been found (pythagoras) from X and Y which are known, yet your last formula shows it as a variable, because X, Y and Z are already known.


What I call D is the length of the diagonal if it were to be cut square as short as possible, i.e. the minimum length possible before the sloping cuts are made.

Pythag. of X and Y gives a distance that crosses the width of the diagonal member. The extra step accounts for the width of the diagonal tube.


interestedparty - 3/1/11 at 08:21 PM

quote:
Originally posted by BenTyreman
quote:
Originally posted by interestedparty
I'm not quite seeing that. D has already been found (pythagoras) from X and Y which are known, yet your last formula shows it as a variable, because X, Y and Z are already known.


What I call D is the length of the diagonal if it were to be cut square as short as possible, i.e. the minimum length possible before the sloping cuts are made.

Pythag. of X and Y gives a distance that crosses the width of the diagonal member. The extra step accounts for the width of the diagonal tube.



So if the green line here is D (and I've sketched in the full tube), can you axplain how your formula works, as I'm still not getting it. Thanks for your efforts, BTW.


BenTyreman - 3/1/11 at 08:31 PM

Description
Description


Green line = sqrt(X^2 + Y^2)

Green line = sqrt([Yellow line]^2 + Z^2) = sqrt(X^2 + Y^2)

[Yellow line]^2 + Z^2 = X^2 + Y^2

[Yellow line]^2 = X^2 + Y^2 - Z^2

Yellow line = sqrt(X^2 + Y^2 - Z^2)


slingshot2000 - 3/1/11 at 08:34 PM

So if the green line here is D (and I've sketched in the full tube), can you axplain how your formula works, as I'm still not getting it. Thanks for your efforts, BTW.




The length of green line (what you are calling - D ) is exactly what you would calculate if you carry as you are, to simplyfy ignore the thickness of the tube for now.



THEN;
D = sqroot of { X^2 + Y^2 }


You are not putting yout diagonal centre line corner to coner 'diagonally', you are slightly off centre.


interestedparty - 3/1/11 at 09:35 PM

Thanks chaps, I think I've ot enough to be going on with. Just need to digest this and work out the best way to proceed.


I'd still be interested in getting an answer to the "If that design is for a bulkhead the cross piece in wrong" point that was made.


slingshot2000 - 3/1/11 at 09:43 PM

If you are hoping to use that diagonal to brace a bulkhead, (or any other rectangle), the centre line of the digonal tube really wants to extend through the external corners of the rectangle.

IE; both ends of the diagonal should be exacly the same and be an 'arrow-head', same chamfeur on each side @ each end.


designer - 3/1/11 at 09:47 PM

All the three centre lines must meet at the same point.

Take the centre line of the top and side pieces and the centre line of the diagonal must meet at the same point.


carpmart - 3/1/11 at 10:03 PM

My head hurts reading this!


BenB - 3/1/11 at 11:41 PM



Simples really.
Line D is simple pythagorous.
D is just the diagonal of tube length C, width Z.
This gives us C.
The angle between C and D can now be found through trig as can beta.
Alpha is 90 minus those two angles combined.
cos alpha = Y / [length of tube minus cut off bit]. This then gives the length of the side of the parallelogram and therefore also the amount you need to chop off.
The length of the off-cut plus the tube thickness can then be used to work out the angle between the off-cut and the horizontal bar X.