Segmenting the curve according to the angle defined

Hi, I want to segment the curves according to the plane angle with the ‘curve-plane intersection’ grasshopper component.

And I’m trying to implement it with the help of GH_python by controlling the number slider component.

However, the number slider doesn’t update after the first step I defined when I push the boolean toggle button.

Does anyone know what’s wrong?



image
image