Roof Gutter/Soffit by python script

Hey,

Here’s a working version of your python…
RoofGutterIndex.dyn (6.1 KB)

I am not sure your method is so helpful though, because I don’t know how to check that the Index is the edge you want…

Incidently, because you don’t have the Else statement, the Python doesn’t tell you if the edge is unable to have a gutter (as Martin’s does)

Here’s a workflow as I outlined above…
RoofGutter.dyn (18.0 KB)

Because it is node based, we get the 3D preview in Dynamo and can review which edge is chosen. The big problem I had was maintaining the Reference, it was easy to filter as defined above, but I couldn’t get a Reference from the Edge. So you will see that I am going through some hoops to keep the References and Edges list structures aligned.

Hope that’s useful,

Mark

2 Likes