QuestionAuthorGood afternoon,
I am trying to stretch a topods_face (plane), but the BRepBuilderAPI_GTransform crashes:
Microsoft C++ exception: Standard_ConstructionError
error message: Geom_TrimmedCurve::U1 == U2
gp_Vec dir(0, -1, -0);
gp_Pnt locOnPlane(800, 625, 183);
gp_Ax2 xdir(locOnPlane, dir.Reversed());
double multiplier = 0.75000000000002087;
gp_GTrsf x_aff;
x_aff.SetAffinity(xdir, multiplier);
BRepBuilderAPI_GTransform aBRepGTrsf(face, x_aff);
auto result = TopoDS::Face(aBRepGTrsf.Shape());
What could be the cause of this crash? I am using OCCT 7.9.
Thanks,
Author
01Commenter-102AuthorHi,
Thanks for the response, I have created a github bug report.
Please note that I was not able to upload the brep to the github bug report form, so I have uploaded it in this thread instead.
Here is a link to the github thread:
https://github.com/Open-Cascade-SAS/OCCT/issues/872
Author