Thoughts about flexible parts


Re: Thoughts about flexible parts
#11
Roland Melkert Wrote:Did your demo support static length curves (e.g. length 8 flexible axle)?, because that's something I have no clue on how to implement (auto fit wise).

I'd like to interject that LDDP's flexible part generator (which is based on the LDraw Major Mode for EMACS) does fixed length hoses. My understanding of the math is fuzzy but from what I can gather it does a 2 control point bezier curve. It sets the control points out a bit from the end points and then moves them linearly out until the curve length is a close to the specified length as possible. Both LDDP (Delphi Object Pascal) and the LDraw Major Mode for EMACS (Lisp) are open source so you can have a look if you want. Here the code LDDP uses:
DATFlexObject.pas
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Thoughts about flexible parts - by Orion Pobursky - 2012-07-16, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)