I am trying to triangulate some breps using the trimesh comand and apparetnly it is not working as well as I expected. Some non-expected triangles in the boundaries of the breps appear, not simulating correctly the original brep.
Wow, nice appreciation! Thank you so much! I repaired the geometries and trimesh worked perfectly. However there is still one geometry that cannot repair. I have attached the GH file.Mesh_Problem_Triangulate.gh (64.5 KB)
Thank you for your answer, I really appreciate it. I have rebuilt the brep, and now is composed of 6 faces, but it does not work. I do not know what I am doing wrong.
Ok, I rebuilt the shape in Rhino. Unless you have a large number of objects, it is the faster way. Not sure why your rebuild didn’t lead to the same result on the TriRemesh, might be due to tolerance?
Now in some cases it is helpful to turn a brep into a mesh before TriRemesh. I added the brep edges as features and it looks nice.
I don’t know if it is related to the tolerance. I am just curious about how have you rebuilt the brep in rhino, would you explain to me the steps to follow?
PD: Your solution works with the piece you show but not with the other I was showing you. Anyway I have chosen your rebuilt brep.
I baked the geometry to Rhino and exploded it, so I was able to check the individual parts. Once I saw the narrow surface along the problematic edge I deleted this surface and tried to join all other surfaces but that didn’t result in a closed brep. I looked at the shape and realized I could simply loft the sides.