I have an interesting problem. I need to project a pattern along a surface with double curvature.
The standart method is to use FlowAlongSrf in Rhino, or use the Map to Surface component in Grasshopper. Usually good enough. In my case I have a limitation. The material to be used for the test is a 2D pre-printed sheet with a pattern. In order to unroll the surface with double curvature, I need to split it into smaller surfaces, which then I mesh with a triangular mesh and turn into a brep. After this I unroll the brep together with projected curves.
However the panel which I get as a result has the pattern with a distortion. This is because there is no way to account for this distortion via the standart FlowAlongSrf workflow.
Of course, it is mathematically impossible to have a perfect projection from 2D to 3D and then back to 3D when we have double curvature. But I wonder if there is some method or trick which will make this approximate method an idea more controllable. My idea is to maybe account for the distortion durring the FlowAlongSrf step.
I hope anybody has an idea.
Pattern Projection.3dm (3.2 MB)
Pattern Projection.gh (21.1 KB)
Update: I have managed to get very good results using the Squish command. Is there a way to use Squish and SquishBack in Grasshopper?