Bad Mesh after joining Parameter Loft Meshes

Hi there,

Apologies if the solution for this topic has already been explored, but I have not found anything that has helped me so far.

The meshes that I join together do not appear as ‘Invalid Meshes’ but when I bake them and check them in Rhino they keep coming up as ‘Bad Meshes’.

I don’t have a particularly good understanding of how meshes really work, but they keep showing up as bad mashes no matter what I try. Can someone please explain to me whats going on here?

Thanks in advanced,

Nick

251001_Bad_Mesh.gh (14.4 KB)

After downloading your example wanted to install 3-4 plugins. Can you provide a simpler version NO plugins used?

Hi Eef, thanks for reaching out.
Here is a version of the script without any plugins. It still yields the same problem after baking the meshes. The Repair Mesh command reports that they are ‘bad’ meshes

251002_Bad_Mesh_NO_Plugins.gh (11.4 KB)

Try this solution.

251001_Bad_Mesh a.gh (28.1 KB)

Hi Leo, this is a great idea, however I want to be able to break them apart down the line. So i do lose information doing this. It’s why I haven’t been welding the meshes together.
The method youve shown also encounters an discrepancy around certain corners.

251001_Bad_Mesh b.gh (24.6 KB)

Thanks Leo, while this does work, I do want to understand why my original method keeps producing ‘bad’ meshes. It keeps telling me that the mesh has overlapping faces. Perhaps this means that my input curves don’t meet edge to edge as cleanly as they should, although that’s something I’m not sure how to test. As far as I can tell they look perfectly flush.

One reason this fails is because some of your adjacent input curves don’t share all corners.

The selected curve on the left has no vertex on the T-junction towards the right side. This leads to a non-manifold situation.

You’ll have to split the curves or add control points.

One of the next problems is that offset eliminates these extra vertices which aren’t corners. You can use the offset loose component instead.

I chose to loft the individual line segments.

The meshes are joined and vertices are aligned. You see how many vertices are aligned…

The result is thickened so we could see non manifold edges if there were any but there are non.

The result looks correct in Rhino and no anomalies are shown running the check command.

251002_Bad_Mesh_weaverbird.gh (18.7 KB)

Weaverbird is used for the thickening of the mesh but it’s not essential.

Beautiful stuff, thank you so much! Also nice to hear for you, Martin :slight_smile:
I’ve never used/understood what Shift Paths does, but it seems to do the same thing as Trim Tree here. Is there a difference?

I don’t think there is a difference in most situations.

Maybe this plugin could help.

Clipper2GH | Food4Rhino