Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ribarm on February 24, 2015, 06:15:03 AM
Title: - = { Challenge } = - 2D 3rd degree curve -> 2nd degree curve (cir,ell,par,hyp)
Post by: ribarm on February 24, 2015, 06:15:03 AM
Given the fact that you can now reliably construct 3rd degree spline entity in UCS plane as 2D planar curve... See this post : http://www.theswamp.org/index.php?topic=48885.msg540487#msg540487
And the fact that we know basic ways to construct main 2nd degree curves (circle, ellipse, parabola, hyperbola)... See attached *.DWG...
Raises new challenge : find the best way to convert 3rd degree planar spline entity to corresponding 2nd degree spline entity that describes in the best way (the best overlapping) mentioned main 2nd degree curves... Attached DWG shows how differ those types of curves... Lisp is acceptable, but if there is a better way avoiding coding please share your discovery with us all...
Title: Re: - = { Challenge } = - 2D 3rd degree curve -> 2nd degree curve (cir,ell,par,hyp)
Post by: ribarm on February 24, 2015, 11:43:43 AM
Here are my solutions for drawing parabolas and hyperbolas in 3D in active UCS... I think that conversion of constructed 3rd degree splines are too complex, so I figured I should post what's possible; for circles and ellipses one can simply use CIRCLE and ELLIPSE commands...