Hi,
I'm writing a program that parse a 3dm file (possibly create with MoI) and I have some questions : I know that every BrepFace has a list of BrepLoop with contains a list of BrepTrim curves. My question is : Am I always sure that every BrepLoop I read is closed? Can I skip this test? Other question : the list of BrepTrim are in correct order (i mean the end vertex of BrepTrim1 is equal to BrepTrim2 start vertex, and so on?) Or I have to check it? BrepTrims are always oriented correctly (I mean clockwise order for outer trimming loop and counter-clockwise for every internal trimming loop)?
At the end : if I write a program that parse a 3dm file, can I skip all this test (loop closure and orientation) or I have no guarantee of that?
Thank you a lot!!
|