Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Jeremy Dunn on April 14, 2019, 01:08:22 PM
Title: Arc to torus
Post by: Jeremy Dunn on April 14, 2019, 01:08:22 PM
I have the ename of an arc that is arbitrarily oriented in 3D, I wish to replace it with a section of a torus of tube radius r that has the same center and radius using LISP. What is the best way to go about doing this?
Title: Re: Arc to torus
Post by: kpblc on April 14, 2019, 01:12:36 PM
I think you have to create circle at the start point of arc (with current normal of circle), and then extrude by path your circle.
Title: Re: Arc to torus
Post by: Lee Mac on April 14, 2019, 05:36:34 PM
Consider the following function, compatible with both arcs & circles: