Hi, I hope someone can help me.
I'm trying to replace some faces of a TopoDS_Shape by others.
I use the method BRepTools::Reshape.
It works, but I have a problem with the location of the new faces.
It seems that the BRepTools::ReShape don't consider the location of the new face. The location of the new face doesn't appear in the replaced face.
Do you know how to take into account the location?
Here is my code:
TopoDS_Shape shape = .....
TopoDS_Face oldFace = ..... // a face of the shape
TopoDS_Face newFace = ..... // a new face
change.ModeConsiderLocation() = true;
change.Replace( *(*it)->face[i]->face,*face2, true);
shape = change.Apply(shape, TopAbs_FACE);
If someone has an idea, reply me...