Home Forums Nazca Bezier Curves with arbitrary number of points Reply To: Bezier Curves with arbitrary number of points

#6383
Ronald
Keymaster

Dear Marios,

Yes that will work, but as mentioned it needs the anglei and angleo keywords to be added to the Tp_Viper internally, which will now be in the new Nazca release (>0.5.12).

For your information, the Viper internally only needs an override when angles are provided, like below. Angle “ab” carries through to a deeper polygon routine.

if angleo is None:    
   ab = degrees(atan2( Y(1)-Y(1-d), X(1)-X(1-d)))  # angle of last semgent
else:   
   ab = angleo

Ronald