Script Dynamo

Hello everyone!
I has a scrip Rebar " Rebar following.surface".
I want to create an angle between the Surface and the Bars
Such as: 45,90 angle


image