Dear @mwestphal
1)please check out my new post about the Latest OpenCascade YouTube.
https://discourse.vtk.org/t/lesson-17-1-point-membership-classification-with-opencascade-vtk/8009
If you will look inside, you will notice, I represent a Cone with old AIS OCC BRepPrimAPI_MakeCone.
Wich will be represented as TopoDS_Shape.
2)Is there no simple conversion so that i can insert a TopoDS_Shape in the next lines.
gp_Ax2 sphere_origin(gp_Pnt(0, 0, 0), gp_Dir(0, 0, 1));
BRepPrimAPI_MakeCone mkCone(sphere_origin, 1.0,0.01,1);
const TopoDS_Shape& TopoDS_ShapemkConeTMP = mkCone.Shape();
TopoDS_Shape TopoDS_ShapeCONE = static_cast<TopoDS_Shape>(TopoDS_ShapemkConeTMP);
//VTKplane
vtkNew VTKplane;
VTKplane->SetOrigin(0, 0, 0);
VTKplane->SetNormal(0, 0, 1);
// Create cutter
vtkNew cutter;
cutter->SetCutFunction(VTKplane);
cutter->SetInputConnection(VTKsphere->GetOutputPort()); // PUT TopoDS_ShapeCONE instead!!
cutter->Update();
Of Course, my Goul is to be able to put TopoDS_ShapeIGES, In this code.
But , the mesh is also represented in TopoDS_Shape. So the question remains the same.
Thank you as always. for the time and effort