i'm a bit stunned on how to use wires and surfaces correctly
to obtain a face. While i succeed on planes, i fail on e.g.
Spheres and Cylinders. Why doesn't the following snipped
create a hemisphere?
No errors occur, but the view doesn't display anything.
Handle(Geom_Surface) sf = new Geom_SphericalSurface(ax, 3);
Handle(Geom_Circle) cr = new Geom_Circle(ax, 3);
TopoDS_Edge e = BRepBuilderAPI_MakeEdge(cr);
TopoDS_Wire w = BRepBuilderAPI_MakeWire(e);
TopoDS_Face f = BRepBuilderAPI_MakeFace(sf, w);
Any hints are appreciated.
Wires and Surfaces