X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FTest%2FTestRevolutionFuse_ByPlanesAndOffsets.py;h=fa7e8928352e2256b461319c768bf0ece5c8b805;hb=371adab6b0fad916f5f9f35dd64ae23f74b5c489;hp=8eaee314c35d7abb31df84c3489eb7cf27bdf4b2;hpb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/Test/TestRevolutionFuse_ByPlanesAndOffsets.py b/src/FeaturesPlugin/Test/TestRevolutionFuse_ByPlanesAndOffsets.py index 8eaee314c..fa7e89283 100644 --- a/src/FeaturesPlugin/Test/TestRevolutionFuse_ByPlanesAndOffsets.py +++ b/src/FeaturesPlugin/Test/TestRevolutionFuse_ByPlanesAndOffsets.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2019 CEA/DEN, EDF R&D +# Copyright (C) 2018-2022 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -44,12 +44,12 @@ SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.result(), Sk RevolutionFuse_1.setNestedSketch(Sketch_1) model.do() Shape = RevolutionFuse_1.results()[0].resultSubShapePair()[0].shape() -checkMiddlePoint(Shape, 5, 1.31869538592, 1.538946730649) +checkMiddlePoint(Shape, 5.000000277, 2.2088446592, 2.5458802675) RevolutionFuse_1.setPlanesAndOffsets(model.selection(), 0, model.selection("FACE", "Box_1_1/Bottom"), 0) model.do() Shape = RevolutionFuse_1.results()[0].resultSubShapePair()[0].shape() -checkMiddlePoint(Shape, 5, 1.98775395252, 5.352665608174) +checkMiddlePoint(Shape, 5, 3.0990965, 5.350448567) model.end()