Why I get a hollowed solid?

After using function "ShapeUpgrade_RemoveInternalWires" and save to a step file, I get a hollowed solid,why? Code like this:

Handle(ShapeUpgrade_RemoveInternalWires) aTool =
new ShapeUpgrade_RemoveInternalWires(aShape);

aTool->MinArea() = minArea;

aTool->Perform();
TopoDS_Shape rShape = aTool->GetResult();

lqw1001's picture

The step file I used to simplified as attach file,and I remove all holes by ShapeUpgrade_RemoveInternalWires. When Export shape to another step file and opening using CAD software(pro/e), it become hollowed, volume=0; Who can help me? Thanks.

Attachments: 
Pawel's picture

Hello,

ShapeUpgrade_RemoveInternalWires makes a compound (extracts all faces) out of the provided shape.

Hope it helps,
Pawel

lqw1001's picture

Thanks for your reply. Perhaps I have found the reason. After I applied the function "ShapeUpgrade_RemoveInternalWires", there create a shape with a zero depth face. As can see from attach file. If havn't zero depth face, all are ok. So, I think it's the problem.

lqw1001's picture

Thanks for your reply. Perhaps I have found the reason. After I applied the function "ShapeUpgrade_RemoveInternalWires", there create a shape with a zero depth face. As can see from attach file. If havn't zero depth face, all are ok. So, I think it's the problem.

Attachments: 
lqw1001's picture

Thanks for your reply. Perhaps I have found the reason. After I applied the function "ShapeUpgrade_RemoveInternalWires", there create a shape with a zero depth face. As can see from attach file. If havn't zero depth face, all are ok. So, I think it's the problem.