Recent content by BrentK

  1. B

    MHB Left or Right Angles ( + or - ) of adjoining vectors

    Thanks again Oplag! That worked fine... Now I have found a new challenge... If you are willing,I'd appreciate you take a look at my new post. I really appreciate your help. I'm not that great at Maths...I'm trying hard and learning, but this task is very hard for me! Without you and the help of...
  2. B

    MHB Left or Right Angles ( + or - ) of adjoining vectors

    Hi there, I have another one for you (Blush) How can I efficiently determine if the angle between 2 vectors is positive or negative... Take a look at this example drawing: Known are the xy coordinates of 2 adjoining vectors, (I also have calcullated the 360 deg angle relative to the x-axis...
  3. B

    MHB Calculating Triangle Side Length with Known Angles and Radius

    Thanks Opalg! That works perfectly! So easy... I was trying to hard (Dull)
  4. B

    MHB Calculating Triangle Side Length with Known Angles and Radius

    Hi there. Can someone tell me how to calculate the length of "a", shown in these drawings? "r" is the radius of the corner, so these 2 sides have the same length. "C" is 90 deg angle "B" is known (the angle of the corner) Here are the diagrams. First example 45 degree corner, second example 75...
  5. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Unfortunately the new calculations have aired a new challenge. It seems I am not quite getting the X rotation quite right. The calculated end coorddinate from your formula now looks good, but it seems i haven't taken everything into consideration in rotating the corner correctly. This is the...
  6. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Hi Klaas, Sorry I've been on the road the last couple of days. Just picked this up and yes your guess was pretty much right. This seems to give me the right coordinates: v1=SIN(-90)*COS(2) v2=-COS(-90)*COS(2) v3=-SIN(2) w1=SIN(45-90)*COS(2) w2=-COS(45-90)*COS(2) w3=-SIN(2)...
  7. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Hi Klaas, Unfortunately I am still struggling with this. I have tried using your given formula, and also tried in various different ways altering the +- to see what results I get. Your formula applied to this object and pipe systems is giving me this result: Is it possible that there is some...
  8. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Ok Klaas , Now I see. I think i can work with that. I'll try. Thanks
  9. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Hi Klaas, Sorry to bother you again, just following up... I am trying hard to apply your formula. What I don't understand is why it is necessary to use the angles of the previous pipe ( Δθ1 ). ... This is going to make my programm coding rather complicated, particularly if i want to use this...
  10. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Hmmm that is complex. Did you calculate from the start of the first pipe? If so that's not necessary. I have the coirdinates of the endpoint of that point, so we can forget that pipe completely and just calculate the end point of the corner given any x1, y1,z1. Does that make it easier?
  11. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Hi Klaas, Sorry for the lack of clarity. Yes that would be correct...could also be a decrease, if the corner goes in the other direction. But let's just get it right for this example, then i hope to be able to figure out how I can adjust. This is the same axis, but stays the same value, so...
  12. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Hi Klaas, So given the following diagram: X1,Y1,Z1,θ1,θ2 and R are known parameters θ1 is the angle of the corner θ2 is the falling slope in the z axisAfter reading the wikipedia link you sent and trying to apply the last formluars you gave i tried: X2=X1-R*SIN(θ1)*COS(θ2)...
  13. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Klaas you are a genius! Thank you so much, that works perfectly... had to adjust a little to: x1=x0+vsinθ1cosθ2 y1=y0-vcosθ1cosθ2 z1=z0−vsinθ2...Dont ask me why but that works perfectly now! Would it be too much to ask for similar formulas to get the end point of the corner? :) :) And would...
  14. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Thanks Klaas! I'm way out of depth here. Sorry :( So backing up a little, What would be the formula to find the end point displacements of x1,y1 and z1 from x0,y0,z0 of vector v, with known parameters θ2 and length v? I was using: y1 = y0-(v * COS(θ1)) x1 = x0-(v * SIN(90-θ2))...
  15. B

    MHB Finding exact 3d coordinates in a falling pipe system with corners

    Hi Klaas, Thanks so much for your reply. Unfortunately I am no math genius :( Im not quite following your theory. Pipe1 that you mentioned would be the straight pipe leading up to the corner? Then the second pipe vector would be the starting point of the second straight point after the corner...
Back
Top