Brep tessellation produces gaps when using BRepMesh_IncrementalMesh

I am using BRepMesh_IncrementalMesh to tessellate B-REP surfaces read from step files. when tessellating shells, it is producing gaps between two shells.

The same step file I had checked with CAD Assistant, it renders the geometry with out any single gaps. 

How to avoid those gaps while tessellating ? 

I had attached images for your reference.

 

Kirill Gavrilov's picture

You may start from providing a source code or description on how you are using BRepMesh_IncrementalMesh with your Geometry.