Calculation of clipping plane and section view. Cut the shape into half using clipping plane.

I have imported GLB file
For the section view, I am using
Graphic3d_ClipPlane class.

When I am calculating the section using BRepAlgoAPI_Section by passing it TopoDS_Shape and gp_Pln

BRepAlgoAPI_Section section(shapeToSplit, plane->ToPlane(), false);
section.ComputePCurveOn1(Standard_True);
section.Approximation(Standard_True);
section.Build();

When I try to Build it, an error occurs.
This class works fine for STEP files, but it fails with GLB and GLTF formats.
This might be because STEP files are BRep (Boundary Representation), while GLTF files are tessellated.
Is there any class available to handle this?"

gkv311 n's picture

Support of tessellated B-Rep is indeed limited in OCCT, and Boolean operations do not support such geometry right now #0029776.

rahulmulik9's picture

Is there any other way to achieve this functionality?
Or else
Is there any way to convert tessellated BRep back to BRep?