| | Re: bend thingie creator.
|
|
I'm very happy to get such a good reaction. Edgelines are coming later on because this requires some big changes, now i draw the axle and place cilinders over it, so edgelines would be crossing, this isn't good so I will have to change this method. (...) (24 years ago, 22-Nov-00, to lugnet.cad.dev)
|
|
| | Re: bend thingie creator.
|
|
(...) It's very cool indeed, I've been trying to do something like this for LeoCAD but I'm using Hermite curves and the user is able to move the control points and direction vectors interactively. Everything works reasonably well but I'm having (...) (24 years ago, 24-Nov-00, to lugnet.cad.dev)
|
|
| | Re: bend thingie creator.
|
|
(...) I'm using a simplified form of bezier curves, like you see in most drawing software like coreldraw etc.. this is also x = f(t), y = g(t) and z = h(t) with f, g and h being a*t^3 + b*t^2 +c*t + d . a, b , c and d can than simply be calculated (...) (24 years ago, 26-Nov-00, to lugnet.cad.dev)
|
|
| | Re: bend thingie creator.
|
|
(...) I've thought about using bezier curves but I decided to choose another type of curve because it doesn't allow you to make the curve pass by a specific point (except the first and last points). (...) I'm using a different solution: I start with (...) (24 years ago, 26-Nov-00, to lugnet.cad.dev)
|
|
| | Re: bend thingie creator.
|
|
(...) Doesn't this complicate things a lot? It is possible easily draw a hundred beziercurves that make up 1 curve, but how do you make 1 equation that passes through a hundred points? (...) mean (...) segment (...) it (...) with (...) segment in (...) (24 years ago, 26-Nov-00, to lugnet.cad.dev)
|
|
| | Re: bend thingie creator.
|
|
(...) Sorry, I explained myself poorly, I divide the curve in segments with only 2 points each. Bezier and Hermite curves are very similar, but I don't use Bezier curves because the control points are not very user-friendly, I'd rather have tangents (...) (24 years ago, 27-Nov-00, to lugnet.cad.dev)
|
|
| | Re: bend thingie creator.
|
|
I've now used the upvector and your rotation matrix. Makes things a lot simpler. Thanks a lot for the tips. koen (24 years ago, 8-Dec-00, to lugnet.cad.dev)
|