Fri, 10/18/2024 - 09:31
Forums:
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?"
Fri, 10/18/2024 - 09:56
Support of tessellated B-Rep is indeed limited in OCCT, and Boolean operations do not support such geometry right now #0029776.
Fri, 10/18/2024 - 12:30
Is there any other way to achieve this functionality?
Or else
Is there any way to convert tessellated BRep back to BRep?