Trim diagonal lines between 2 vertical lines

Hi, I am new to dynamo and try to play with some curve trimming. I like to keep the diagonals line between the 2 vertical line as the picture shown. I try to use Geometry.trim but have no ideas how to control which side of diagonal lines are being trim out. Is there any other nodes in dynamo can help me to do that? any suggestions. Thanks

There you go

1 Like

Thanks for your reply Mohammadz. This solution works like a charm.:+1:

1 Like