For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

A problem when build a face,help !

cseason's picture
Forums: 

TopoDS_Shape TpShape = vectoredges[0];//a bspline in vector
TopoDS_Edge aedge = TopoDS::Edge(TpShape);
TopoDS_Wire awire = BRepBuilderAPI_MakeWire(aedge);
TopoDS_Face aface = BRepBuilderAPI_MakeFace(awire);
Handle(AIS_Shape) AISFace = new AIS_Shape(aface);
myAISContext->Display(AISFace)G
//in debug it shows bulid wire ok,but when build face it fails,who can explain it? Thanks a lot!