2.1.02. curve network


Date published: December 1, 2022

Instead of inputting a single curve, this script takes a network of curves and simulates what would happen if all curves would aim to straighten out while keeping their intersection points fixed.

Intersection points are extracted from the input curve network. The intersection coordinates “t” within the domain of each curve are then used to shattered them at the intersection, generating a series of curve segments. The same straightening process is then applied as for the single curve: each resulting segment is converted to a polyline and then discretised. The simulation then attempts to re-arrange each segment with an angle as close to 0 degrees as possible between each consecutive segment.

This exercise is using Grasshopper version 1.0.0007




course files

Curve Network.zip

1.03 MB | 994 downloads