Hudson Posted November 6, 2009 Share Posted November 6, 2009 Is the best way to go about this to draw a circle and then check the points on the circle to find one that's right for the next chord? Or is there a better way? Thanks for any and all input! Quote Link to comment Share on other sites More sharing options...
kindy52 Posted November 6, 2009 Share Posted November 6, 2009 I think I may be able to help. Could you try wording that differenty? Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2009 Author Share Posted November 6, 2009 I think I may be able to help. Could you try wording that differenty? Ok.. so in a nutshell the main purpose of the program I am writing is to generate chords along a curve. However the point I have to start with, is not always on the curve. When that happens, I would like to bring the chords back to the curve gradually and predictably... sort of like how a spiral curve enters a fixed radius. Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted November 6, 2009 Share Posted November 6, 2009 Ok.. so in a nutshell the main purpose of the program I am writing is to generate chords along a curve. However the point I have to start with, is not always on the curve. When that happens, I would like to bring the chords back to the curve gradually and predictably... sort of like how a spiral curve enters a fixed radius. I am not sure if this helps, But check out these two Lee Mac threads. http://www.cadtutor.net/forum/showthread.php?t=38407 http://www.cadtutor.net/forum/showthread.php?t=38562 Quote Link to comment Share on other sites More sharing options...
kindy52 Posted November 6, 2009 Share Posted November 6, 2009 Ok.. so in a nutshell the main purpose of the program I am writing is to generate chords along a curve. However the point I have to start with, is not always on the curve. When that happens, I would like to bring the chords back to the curve gradually and predictably... sort of like how a spiral curve enters a fixed radius. Take a look at the drawing attached just to see if I have the right visual. arc chords.dwg Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2009 Author Share Posted November 6, 2009 That's not exactly what I need to do.. although I'm sure it will prove usefull. I don't know if simply rotating the existing arc at a point will help that much.. maybe it will. Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2009 Author Share Posted November 6, 2009 That reply was to the buzzard. i will go downlad a cad viewing program give me a sec Thanks Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2009 Author Share Posted November 6, 2009 Take a look at the drawing attached just to see if I have the right visual. Kindy.. Sorry it took a long time to get a viewer.. first link I saw was autocads massive one.. figured might as well.. forgot this machine is Vista... oy, downloaded the wrong bit version.. hah At any rate.. I wish it was that simple.. it's more like I'm within the area of the arc I want to be on.. not a projection of it.. and need an arc/spiral curve, or something approximating a curve to get me back onto the line of the arc.. instead of inside of it or outside of it. I will draw something up in Cad when I'm no longer using my wife's laptop! Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2009 Author Share Posted November 6, 2009 The way I'm approaching it at the moment: I know the "rate of curve" when the point is on the arc to draw the chords along the arc. So when my point isn't on the arc, I am using a giant condition statement to adjust my rate of curve depending on how far away the point is from the arc to bring it closer with each chord, but still remain in a curve and not straight line. Quote Link to comment Share on other sites More sharing options...
kindy52 Posted November 6, 2009 Share Posted November 6, 2009 I'll giver another look tonight, Hudson. Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2009 Author Share Posted November 6, 2009 This method is working well enough for me So unless you're doing it for your own learning.. I don't want to take up your time. Quote Link to comment Share on other sites More sharing options...
kindy52 Posted November 6, 2009 Share Posted November 6, 2009 I like learning, that's for sure. If you could sent a file or visual, I'd like to check it out. Otherwise, hope your method works well. Quote Link to comment Share on other sites More sharing options...
Hudson Posted November 6, 2009 Author Share Posted November 6, 2009 Tomorrow, I can send you a file illustrating the problem.. The cond method is working fairly well.. althought it took a while to get acceptable "rates of change" to the curvature. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.