Hi all,
I’m trying to convert a bunch (809) of closed meshes into a single mesh, and the way I’ve discovered that might be possible is by using Cocoon. However, I get this error when I try to use the cocoon component:
Solution exception:Unable to cast object of type ‘Grasshopper.Kernel.Types.GH_Mesh’ to type ‘MarchingCubes.CubeWrapper’.
Any ideas how to solve this?
Thanks in advance!
Yep I just noticed that in a picture on grasshopper3D , and I’ve changed my file accordingly. Only just got Cocoon, so charge is a new term for me.
It looks like I’ve got too many curves for Cocoon to handle all at once anyway. So now I’ve got to figure out how to feed it the curves bit by bit?
It looks like I’ve got too many curves for Cocoon to handle all at once anyway.
Marching cubes is a notoriously slow algorithm and is only as fast as your computer and processor. Unfortunately, you can’t really break it up unless you plan to manually stitch the parts together afterwards.
It worked for me with setting like these. I think your settings were just too big for the size of your lines. What I usually do is test the result on one line or curve first so it is very fast to see the thickness / smoothness (That’s why you see the list item in my screen shot, I used that to test on one line first). Then once I find a good size I do all the curves (and go for one or many coffees or beers and hope it is done when I get back )