Hello friends,
I’m new to dynamo and I’m trying to use it to model pipes in a tunnel. I have drawn joined detail lines that have same slope of tunnel segments ( I also would like to note the tunnel sloping isn’t constant it varies from one segment to another).
I made a script that converts the detail lines into pipes having same slope of these lines and connects them together, the pipes are created but the fittings are not placed and pipes are not connected together.
for example i have two pipes I want to connect first with slope 3.8% and the other 3.6%, here are things i have done before I ran the script:
-modified pipe connector tolerance in mechanical settings to be 0.01 degree
-modified elbows used in the pipe type by converting its connectors from “fitting” to “global” and checked on “allow slope adjustment”
-changed elbow default angle to be 0.01 degree
how do i make the script place these fittings with very small angles.
this is a screenshot of the script
.
Thank you!