I have been using OpenCascade for a couple of months now, so I´m still familiarizing with it. I'm using BRepFilletAPI_MakeFillet to make a fillet operation to a solid´s edge. This works OK.
In order to have a reference to original model for possible changes and parametric issues, the original edge is saved in an OCAF TDF_Label by using a TNaming_NamedShape attribute. Same procedure is followed with the original solid shape, using another TDF_Label and TNaming_NamedShape.
Here is my problem: When a change on the original solid model is made, its label is notified through TNaming_Builder package about it, so it could recalculate all operations again. However, the fillet operation cannot be made on the modified solid shape. Application shows an error (standard failure). Seems it does not recognize the saved edge of the original shape as part of the modified shape, so it does not apply the fillet operation with the new parameters.
Maybe this example could help out me clarifying the above ideas…
BRepPrimAPI_MakePrism prism(profile, prismDir);
TopoDS_Shape prism1 = prism.Shape();
BRepPrimAPI_MakePrism prism(profile, prismDir); // same parameters of prism1
TopoDS_Shape prism2 = prism.Shape();
fillet.Add(radius,edge); //radius and edge are the same parameters of prism1
TopoDS_Shape filletShape = fillet.Shape();
Thanks in advance,