|
|
Le 13/06/2020 à 20:20, Bald Eagle a écrit :
>
> William F Pokorny <ano### [at] anonymousorg> wrote:
>
>> Ah. Excellent idea/method!
>>
>> Bill P.
>
> It is. I frequently forget at first the interoperability of splines and
> prisms.
> Way more elegant than my suggestion.
>
> A few points:
>
> Directly:
> 1. Does the code as pasted give the desired result? I made an array of all 18
> points and used those in a spline, and I got a larger sphere (r = 3.701) that
> touches the outer part of the prism.
>
>
Nope, because spline does not support loops which cause prism to have
more than one part. You have to identify the inner loop, then you can
use spline.
Not seen in posted code, inside the for-loop, I also drawn a tiny sphere
at Pt to check it did follow the perimeter of the prism.
Also, if you used a spline for the 18 points, did you adjust the range
of the for-loop ?
Post a reply to this message
|
|