How to close offsetted curves?

Hi all,

I am trying to close curves that made by projected road centerlines. Can anyone please give me some instructions how to close them and make all intersections be rounded corner? I am trying to make them as a road surface and ready to bake.

Thanks,

Peiming

Model link: https://drive.google.com/open?id=1TAp2OS30yNGLjLndyGIFXxjJhl-gkAK4

Road making.gh (9.0 KB)

Always it’s better if you share the file

Thanks for reminding, I just uploaded both files.

Thanks!

this and then project back onto your meshRoad making_sg.gh (8.0 KB)

You can use this


and script to project curve on mesh

road.gh (7.6 KB)

Hi Gijs,

Do know why the result is not showing in Rhino? I turn all components on and it’s only showing the centerline.

probably because I had button on to show only the selected component (the fourth icon, next to the red tube icon on upper right corner above the canvas), I believe this settings saves with the gh file

here’s one with (most) corners rounded. If you clean up your input curves it will work much better though
Road making_sg.gh (13.9 KB)

1 Like

The result is actually hidden underneath the model… once I bake it, it is visible now.

Use this for fast result


road_2.gh (6.8 KB)

1 Like

Works like charm! Thanks for helping out!

Peiming

Thanks for helping out Gijs! You guys showed me how to do it in two different ways, that’s awesome!

Best,

Peiming