I am trying to create a vb component which loops through a set of breps, comparing the faces of the breps to one another to find which faces match. My goal is to be able to create a flat pack from the breps and then label each face on the flatpack with the brep face it matches.
So far I have tried brepFaceA.Equals(brepFaceB) but doesn't work. I've tried AdjacentEdges but gives me confusing indices (for example: 1 & 5 for a 4 sided brepface). I've tried PointAt but can't get this to work either. Please help!
compare brep faces - vb component
by Steve Crawford
Jan 17, 2013
I am trying to create a vb component which loops through a set of breps, comparing the faces of the breps to one another to find which faces match. My goal is to be able to create a flat pack from the breps and then label each face on the flatpack with the brep face it matches.
So far I have tried brepFaceA.Equals(brepFaceB) but doesn't work. I've tried AdjacentEdges but gives me confusing indices (for example: 1 & 5 for a 4 sided brepface). I've tried PointAt but can't get this to work either. Please help!
Thanks for your time,
Steve