Hi all,
I am in the process of creating a graph that can generate a side view of a rebar shape, by offsetting detail lines. Below an example:
I can get to the point where i offset and place detail lines for a straight line, But i need to close it at the ends to so i can turn it into a masking region boundary later on.
I am not sure how to allow for these situations where its just a straight line, or chained lines with or without a bend…
We have a positive and negative offset, so first i’d need to trim and extend these to eachother by group (negative/positive being two groups) That gives us a rough shape, then we need to filled arc all corners, and finally close the loop with a perpendicular line from first point in first group, to first point in second group, and from last point in first group to last point in second group
so given al scenarios, i need this:
Just for context:
Basically what im aming for here is allowing users to draw a line that indicates the shape of a piece of rebar, and making dynamo turn that into an actual side view of that piece of rebar, as a masking region.