Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8530

Invalid Brep after Transform

$
0
0

@Ivi wrote:

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,
Best regards,
Iv

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8530

Trending Articles