DiscussionsIssue archiveModeling Data and Algorithms

Archived discussion

trim Geom_BSplineSurface with wire

Modeling Data and AlgorithmsWed, 07/03/2019 - 16:000 replies

Browse this forum
QuestionAuthor

I am trying to trim a Geom_BSplineSurface with a wire in this way:

BRepBuilderAPI_MakeFace faceMaker (bsplinesurface, 0.001) ;

BRepCheck_Analyzer brepCheckWire(wire) ;

      if( brepCheckWire.IsValid() ) {
         faceMaker.Add(wire) ;
      }

TopoDS_Face aFace = faceMaker.Face();

ShapeFix_Face aFaceFix(aFace);
aFaceFix.FixIntersectingWires();
aFaceFix.FixMissingSeam();
// aFaceFix.FixOrientation() ; CRASH
aFaceFix.Perform();
TopoDS_Face nurbsface = aFaceFix.Face();

BUT there is something wrong  .... the file wire_from_path is the wire and From_SNURBS.step the face without the wire for trim.

Thanks..

Discussion

No archived replies

Posts are displayed in their archived order.