i encountered a strange behaviour with the ShrinkWrap command. My goal is to “cap” the openings of the pipe that can be seen on the image. This is just a simple example to demonstrate my problem
To get the desired result i then exploded the resulting mesh into 4 single meshes. After selecting these and using the Shrinkwrap command in Rhino the result on the left side can be seen. If the exact same geometry and the exact same parameters are used in Grasshopper with the ShrinkWrap command, you get a different result (on the right side).
It seems, that the Fill holes toggle has no effect at all if you provide multiple meshes. If only one single mesh is feed into the geometry input, everything works as expected. Deactivating the parallel computing of the component also has no effect.
Can you (or somebody else) give me a hint how to achieve the same result in Grasshopper like with the ShrinkWrap Command in Rhino?
Thanks for looking into it! Did you enable the “Fill holes in input objects” in the rhino command? Do you see any effect in grasshopper if you switch the boolean toggle to true?
I was able to create a full cylinder after running TriRemesh on the four meshes.
I don’t have any proof but I believe Shrinkwrap works better with meshes which have a good definition. If the parts were surfaces, I’d also mesh them first and avoid long and narrow faces.
Thanks, that workaround did it (at least for this simple example).
But tbh i still don’t fully understand why in Rhino it works without the remeshing and in Grasshopper not. Would be nice if this step wasn’t neccesarry, because for more complex models the computation for the remeshing get’s quite heavy.