Hi everyone,
Happy new year!
I have a question about the use of create_bspline.
1. I get a list of points(pt_list) like this:
Code:
(setf pt_list (loop for RadianStep from 0 by 0.1 to 1 collect (oli::make-gpnt3d :x (* 30 (sin RadianStep)) :y (* 30 (cos RadianStep)) :z 0)))
The pt_list equals list:
(0.0S0,30.0S0,0
2.9950024994048445,29.850124958340775,0
5.9600799238518363,29.401997335237247,0
8.8656061998401885,28.660094673768178,0
11.682550269259515,27.631829820086551,0
14.38276615812609,26.327476856711183,0
16.93927420185106,24.760068447290351,0
19.326530617130729,22.945265618534656,0
21.52068272698568,20.901201280414966,0
23.499807288824499,18.648299048119934,0
25.244129544236891,16.209069176044192,0)
2. create bspline.
Code:
(create_bspline :point3d :wire_part "/p1" :input_mode :INTERPOLATION :start_condition :POSITION :cc_interpolation :on :follow_me :on pt_list)
but it doesn't work.
3. create bspline by points below, it works.
Code:
(create_bspline :point3d :wire_part "/p1"
:input_mode :INTERPOLATION :start_condition :POSITION :cc_interpolation :on :follow_me :on 0.0S0,30.0S0,0
2.9950024994048445,29.850124958340775,0
5.9600799238518363,29.401997335237247,0
8.8656061998401885,28.660094673768178,0
11.682550269259515,27.631829820086551,0
14.38276615812609,26.327476856711183,0
16.93927420185106,24.760068447290351,0
19.326530617130729,22.945265618534656,0
21.52068272698568,20.901201280414966,0
23.499807288824499,18.648299048119934,0
25.244129544236891,16.209069176044192,0)
So how to create this bspline by using pt_list in step 2.
Thanks a lot!
Andy
[Diese Nachricht wurde von Andylau am 18. Jan. 2022 editiert.]
[Diese Nachricht wurde von Andylau am 18. Jan. 2022 editiert.]
[Diese Nachricht wurde von Andylau am 18. Jan. 2022 editiert.]
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP