
Thu, 05/27/2004 - 07:21
Forums:
Hi Guys,
I have the code like
TopoDS_Edge tmpEdge=TopoDS::Edge(all_edges->Value(y));
Handle(Geom2d_Curve) tmpCurve=BRep_Tool::CurveOnSurface(tmpEdge,aFace,FirstB,LastB);
It works fine sometimes; however, sometimes my tmpEdge has a value but not the tmpCurve. can anyone tell me why?
and How to fix it?
Thanks!
Thu, 05/27/2004 - 10:37
ShapeFix_Shape can be used to fix this problem.