Free form rebar curved solid

Hello everyone!
I’m trying to apply free form rebar in a certain curved solid, which represent segment lining of tunnels.
I guess the best way to go on is the application of free form rebar from Structural Design package but I don’t know how to define the path that bar has to follow: which node/code should I use?

Moreover, could be correct the way I’m developping the Dynamo scipt for this purpose or there are other ways to work on?

Thanks !

Result that I want to reach