Hi @RevitRobot
are you tried with a negative offset at input ? Could this suit you?
I used this code