From: nmanchen Date: Thu, 17 Nov 2022 03:49:23 +0000 (+0300) Subject: 0032857: Error when finding the intersection between a new face made after a draft... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=acaaf4f598548cdc6779f41eb4d7e7ca46fedaf8;p=occt.git 0032857: Error when finding the intersection between a new face made after a draft and the inner face of body myGeom is now initialized by input surface for Draft_FaceInfo even if its type is Geom_RectangularTrimmedSurface. input cylindric faces is not necessary to be trimmed (fixes bug712_1) --- acaaf4f598548cdc6779f41eb4d7e7ca46fedaf8 diff --cc src/Draft/Draft_Modification_1.cxx index 778ad7dd83,f965a8648e..108bf46e15 --- a/src/Draft/Draft_Modification_1.cxx +++ b/src/Draft/Draft_Modification_1.cxx @@@ -481,7 -481,7 +481,7 @@@ Standard_Boolean Draft_Modification::Pr Handle(Geom_Surface)::DownCast(S->Transformed(L.Transformation())); const Handle(Standard_Type)& typs = S->DynamicType(); -- if (typs == STANDARD_TYPE(Geom_CylindricalSurface) || ++ if (/*typs == STANDARD_TYPE(Geom_CylindricalSurface) ||*/ typs == STANDARD_TYPE(Geom_ConicalSurface)) { Standard_Real umin,umax,vmin,vmax; BRepTools::UVBounds(F,umin,umax,vmin,vmax);