X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FTest%2FTestExtrusionFuse_ByPlanesAndOffsets.py;h=d63b70050e669a1b5302b09a663713f5257c5e68;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=837dac08137fd523bf881eb1cf49c063e5ff6558;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/Test/TestExtrusionFuse_ByPlanesAndOffsets.py b/src/FeaturesPlugin/Test/TestExtrusionFuse_ByPlanesAndOffsets.py index 837dac081..d63b70050 100644 --- a/src/FeaturesPlugin/Test/TestExtrusionFuse_ByPlanesAndOffsets.py +++ b/src/FeaturesPlugin/Test/TestExtrusionFuse_ByPlanesAndOffsets.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2019 CEA/DEN, EDF R&D +# Copyright (C) 2018-2023 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -46,7 +46,7 @@ SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.result(), Sk ExtrusionFuse_1.setNestedSketch(Sketch_1) model.do() Shape = ExtrusionFuse_1.results()[0].resultSubShapePair()[0].shape() -checkMiddlePoint(Shape, 5, 5, 5.421244124) +checkMiddlePoint(Shape, 5, 5, 5.3457661) ExtrusionFuse_2 = model.addExtrusionFuse(Part_1_doc, [], model.selection("EDGE", "Axis_1"), model.selection(), 0, model.selection("FACE", "ExtrusionFuse_1_1/Modified_Face&Box_1_1/Left&ExtrusionFuse_1_1/From_Face"), 0, [model.selection("SOLID", "ExtrusionFuse_1_1")]) Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "Box_1_1/Front")) @@ -57,7 +57,7 @@ SketchConstraintCoincidence_2 = Sketch_2.setCoincident(SketchCircle_2.center(), ExtrusionFuse_2.setNestedSketch(Sketch_2) model.do() Shape = ExtrusionFuse_2.results()[0].resultSubShapePair()[0].shape() -checkMiddlePoint(Shape, 4.88886637164, 4.89804988224, 2.94104936673) +checkMiddlePoint(Shape, 4.97994427, 4.995857948, 4.254078314) model.end()