Anemone or python problem

Hi everyone

I’m trying to create a script with a condition using anemone plugin. The script should take a curve as input and return it only under one condition: in some of its points the tangent must form an angle between 45 and 135 degrees with the x-axis (in practice it should be a sort of overhangs check for the 3D printer). I have tried something attached but i dont know why it doesnt work: it returns the crv anyway. i have also tried to do the same with python assistd by chatgpt but i’m still learnig and i dont know why it doesnt work. Any help is welcome. Tanks to everyone who takes a look at this.

PS the internalized crv got points where the angle is >

Revolve_IF.gh (21.3 KB)

Your crv_out param is acting as the default out param. Try removing it and adding a new output param named crv_out.

1 Like