Hi to all,
I have problem with forming invalid Brep after some transformations.Here is my code for checking:
bool isValidONXF=modelTransform.IsValid(); // ON_Xform is valid ON_BrepPtr brep = models.at(j)->mBreps.at(k); bool transfSucc = brep->Transform(modelTransform); // transformation is successful bool brepAfterTransformatio=brep->IsValid(); // brep is invalid after transformation
I see that transformations as well as ON_Xform matrix is valid but after brep transform it become invalid. Could you please help me why is this happening and what may be error in this situation (Brep or ON_Xform) and how I can transform Brep correctly.
Thanks a lot,