I have made a grasshopper script that has road marking curves and a road mesh as input. I want the road markings to adapt to the shape of the road. The below code does work if my road mesh is “not crazy” so to say, and is relatively flat. But when I make an extreme road mesh, suddenly when I use mesh difference, it’s missing a few road markings, and the road markings aren’t even in thickness everywhere either.
The idea for this method is a cookie cutter, as I have a brep that supposedly removes everything, except the road markings.
Below in green is the expected output.
actual output:
Now I do know that my base mesh is quite messy. But still, the result is different than I expected, and I wonder if this method is viable, and if yes, how I could make it work.
Road markings on mesh.gh (519.8 KB)



