]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v0_3.py
Salome HOME
updated copyright message
[modules/shaper.git] / src / FeaturesPlugin / Test / TestMultiRotation_MultiLevelCompound_v0_3.py
index 7442e963fca9e820521edfa12cd49872ea576c9c..1a71cab180110801099cf3de55f38ae3b6d499f8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-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
@@ -88,6 +88,7 @@ model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.VERTEX, [COPIES])
 model.testResultsVolumes(MultiRotation_1, [0])
+model.testResultsAreas(MultiRotation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -102,6 +103,7 @@ model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.EDGE, [COPIES])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.VERTEX, [2 * COPIES])
 model.testResultsVolumes(MultiRotation_2, [0])
+model.testResultsAreas(MultiRotation_2, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Edge_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -117,6 +119,7 @@ model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.EDGE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.VERTEX, [4 * COPIES])
 model.testResultsVolumes(MultiRotation_3, [0])
+model.testResultsAreas(MultiRotation_3, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Wire_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -131,7 +134,8 @@ model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.FACE, [COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.EDGE, [4 * COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.VERTEX, [8 * COPIES])
-model.testResultsVolumes(MultiRotation_4, [109.154152964914914 * COPIES])
+model.testResultsVolumes(MultiRotation_4, [0])
+model.testResultsAreas(MultiRotation_4, [109.154152964914914 * COPIES])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -145,7 +149,8 @@ model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.FACE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.EDGE, [8 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.VERTEX, [16 * COPIES])
-model.testResultsVolumes(MultiRotation_5, [182.822012116 * COPIES])
+model.testResultsVolumes(MultiRotation_5, [0])
+model.testResultsAreas(MultiRotation_5, [182.822012116 * COPIES])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)