peimingcc
(Peimingcc)
April 9, 2019, 1:54pm
1
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
peimingcc
(Peimingcc)
April 9, 2019, 2:04pm
3
Thanks for reminding, I just uploaded both files.
Thanks!
Gijs
(Gijs de Zwart)
April 9, 2019, 2:23pm
4
this and then project back onto your meshRoad making_sg.gh (8.0 KB)
You can use this
Clipper is a 2D polygon Clipper offering polygon boolean operations (clipping): Intersection, Join, Difference, and robust polygon offsets.
and script to project curve on mesh
the grasshopper project component works to project curves onto a brep or surface, not a mesh surface
is there a way to curves project onto a mesh surface?
the mesh surface is a result of a kangaroo application draping a mesh planar surface onto a sphere
road.gh (7.6 KB)
peimingcc
(Peimingcc)
April 9, 2019, 3:05pm
6
Hi Gijs,
Do know why the result is not showing in Rhino? I turn all components on and it’s only showing the centerline.
Gijs
(Gijs de Zwart)
April 9, 2019, 3:10pm
7
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
Gijs
(Gijs de Zwart)
April 9, 2019, 3:11pm
8
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
peimingcc
(Peimingcc)
April 9, 2019, 3:13pm
9
The result is actually hidden underneath the model… once I bake it, it is visible now.
peimingcc
(Peimingcc)
April 9, 2019, 3:29pm
11
Works like charm! Thanks for helping out!
Peiming
peimingcc
(Peimingcc)
April 9, 2019, 3:30pm
12
Thanks for helping out Gijs! You guys showed me how to do it in two different ways, that’s awesome!
Best,
Peiming