-# Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+# Copyright (C) 2014-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
model.testNbSubResults(Extrusion_1, [2])
model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [2])
model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [10])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [40])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [80])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [36])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [72])
model.testResultsVolumes(Extrusion_1, [105008.93])
# offset "From" face
-ParamFrom.setValue(-20)
+ParamFrom.setValue(20)
model.do()
model.testNbResults(Extrusion_1, 1)
model.testNbSubResults(Extrusion_1, [2])
model.testResultsVolumes(Extrusion_1, [179594.5])
# check failure
-ParamFrom.setValue(20)
+ParamFrom.setValue(-20)
model.do()
assert(Extrusion_1.feature().error() != "")