
Tue, 11/07/2006 - 23:22
Forums:
gp_Ax3 ax;
Handle(Geom_SphericalSurface) geom_sphere;
geom_sphere=new Geom_SphericalSurface(ax,1.0);
TopoDS_Shell shell=BRepBuilderAPI_MakeShell(geom_sphere);
This works fine! But the followings can not work
gp_Ax3 ax;
Handle(Geom_ConicalSurface) geom;
geom=new Geom_ConicalSurface(ax,0.5,1.0);
TopoDS_Shell shell=BRepBuilderAPI_MakeShell(geom);
It will always give me error "Segment fault!", I think for last line
"TopoDS_Shell shell=BRepBuilderAPI_MakeShell(geom);"
Wed, 11/08/2006 - 02:00
I'm not an expert, but what if you try to make a Face instead of a shell?