Grasshopper

algorithmic modeling for Rhino

I have recently began using c# w/ rhinocommon for some component. I am running into an issue where because of the way my mesh is constructed I have certain conditions where I get duplicate overlap faces which you can see below in my mesh repair report I ran on the mesh after baking it.

This is a bad mesh.

Here is what is wrong with this mesh:
Mesh has 2 non manifold edges. ------because of the duplicate face
Mesh has 1 duplicate face.
Skipping face direction check because of positive non manifold edge count.

General information about this mesh:
Mesh does not have any degenerate faces.
Mesh does not have any extremely short edges.
Mesh does not have any naked edges.
Mesh does not have any self intersecting faces.
Mesh does not have any disjoint pieces.
Mesh does not have any unused vertices.


Continuing the repair process does rid the duplicate face. I also realized that rhino 5 has the command called "ExtractDuplicateMeshFaces" which works quite nicely.

However, this "method" is not available in rhinocommon currently. So I just wonder who can I ask to add it? It seems it would make sense to be in rhinocommon considering we have methods available for each of the other tests run by mesh repair. The reason I am interested in this command is it seems to work very fast. 

Thanks


Views: 1216

Replies to This Discussion

Can you post the geometry that's causing this trouble?

Hi Arend,

Attached is the specific mesh I was looking at which is output from my c# script. In the screenshot you will see the mesh as outputted from c# component on left and on right shows non duplicate (green) vs duplicate(red). Both mesh repair and ExtractDuplicateMeshFaces commands in rhino work to fix this. I think my question pertains not just to my specific mesh, but to duplicate face checking for meshes in general. In the end the goal for me is to remove both faces of the duplicate not just one. 

Thanks

Attachments:

Additionally, the solution via grasshopper.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service