]> OCCT Git - occt.git/commitdiff
0032857: Error when finding the intersection between a new face made after a draft...
authornmanchen <nmanchen@opencascade.com>
Thu, 17 Nov 2022 03:49:23 +0000 (06:49 +0300)
committernmanchen <nmanchen@opencascade.com>
Thu, 24 Nov 2022 04:14:11 +0000 (07:14 +0300)
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)

1  2 
src/Draft/Draft_Modification_1.cxx

index 778ad7dd836febf9ad9065edb83aa25934350527,f965a8648edb223c630c7c457d69cd5c24f951fa..108bf46e15551701820a4089d349feadd405e4fc
@@@ -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);