Mirror option

Hallo
I have a question about Mirror option. When I use Rhino command to mirror ON_Brep object, the mirrored object is fine. But when I use ON_Xform::Mirror from SDK C++ mirrored object have opposite directions (normals)

p.s I use Rhino 5

Hi @Biljana,

Does this help?

ON_Brep* brep = ...
xform.Mirror(...

if (brep->Transform(xform))
{
  if (-1 = brep->SolidOrientation())
    brep->Flip();
  // TODO...
}

– Dale

Hi Dale

Finally I tried this option but does not work because my Brep is not solid