Hey I am trying to make a configurable coaster. I am using the Polyline Offset component to make the script optimized. Somehow that C# script that I got from the forum seems to return an error and it only offsets one curve. I would appreciate a solution that can compute in less than 10 seconds.
Thanks in advance.
Shield_Coaster_Launch_Logo_Optimized.gh (30.8 KB)
Polyline Offset component on its own doesn’t necessarily make your definition run faster. The logo input curves have too many control points, which is a common problem when working with curves in Illustrator and bringing them to Grasshopper later. Use Reduce Polyline instead of Smooth Polyline component to get rid of unnecessary points. Image below highlights the problem, original curves on the left have lots of control points, optimised curves on the right are much lighter and reduce the computation time.
I also recommend to watch the video tutorials or our webinar to learn more about efficient modeling for web applications.