]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update reference data according to behavior of OCCT 7.4.0.
authorazv <azv@opencascade.com>
Thu, 5 Mar 2020 04:30:32 +0000 (07:30 +0300)
committerazv <azv@opencascade.com>
Thu, 5 Mar 2020 04:31:26 +0000 (07:31 +0300)
src/FeaturesPlugin/Test/Test2918.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces03.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces04.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces05.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces09.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces10.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces11.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces15.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces16.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces17.py

index 530acf2802785406f938bcf403fe153c5a4f1378..9c42f1bc26063b41c9ed4af8ca7a997e348aae6a 100644 (file)
@@ -236,9 +236,9 @@ SketchConstraintParallel_1 = Sketch_2.setParallel(SketchLine_41.result(), Sketch
 model.do()
 Revolution_2 = model.addRevolution(Part_1_doc, [model.selection("WIRE", (3.862008317343538, 0, 11.38077471561056))], model.selection("EDGE", (3.241000000000025, 0, 11.62374600149389)), 360, 0)
 Revolution_3 = model.addRevolution(Part_1_doc, [model.selection("WIRE", (4.212769702413368, 0, 11.10430922268928))], model.selection("EDGE", (3.241000000000025, 0, 11.62374600149389)), 360, 0)
-Symmetry_1 = model.addSymmetry(Part_1_doc, [model.selection("SOLID", (3.237001631529592, 7.752869270149964e-17, 11.61239765963003)), model.selection("SOLID", (3.223059230627338, 1.806177914907969e-16, 11.57282573597984))], model.selection("FACE", "PartSet/YOZ"), True)
-Cut_1 = model.addCut(Part_1_doc, [model.selection("SOLID", (9.171993615882458e-05, 1.467829010982793e-16, 1.298864381774082))], [model.selection("COMPOUND", (0, 0, 11.60508262087049))])
-Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", (9.190387067667382e-05, -2.335384201710612e-09, 1.278348504308934)), model.selection("COMPOUND", (0, 0, 11.54608275997197))], removeEdges = True)
+Symmetry_1 = model.addSymmetry(Part_1_doc, [model.selection("SOLID", (3.237566604725065, 0, 11.61400119092393)), model.selection("SOLID", (3.223802337712571, 0, 11.57493485456337))], model.selection("FACE", "PartSet/YOZ"), True)
+Cut_1 = model.addCut(Part_1_doc, [model.selection("SOLID", (-0.02393444277354109, 0, -2.580701826672493))], [model.selection("COMPOUND", (0, 0, 11.60508262087049))])
+Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", (-0.0201067396659898, 0, -2.591493279115657)), model.selection("COMPOUND", (0, 0, 11.54608275997197))], removeEdges = True)
 Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/XOY"), 3.6, False)
 Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", (0, 0, 3.6)))
 SketchProjection_9 = Sketch_3.addProjection(model.selection("EDGE", (-6.188, 7.578114393123822e-16, -3.45)), True)
@@ -308,12 +308,12 @@ SketchConstraintCoincidence_95 = Sketch_4.setCoincident(SketchPoint_5.coordinate
 SketchConstraintDistance_27 = Sketch_4.setDistance(SketchPoint_5.coordinates(), SketchLine_51.endPoint(), 0.75, True)
 model.do()
 Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("FACE", (0, 0, 1.2))], model.selection(), 10, 0)
-Rotation_1_objects = [model.selection("SOLID", (5, 1.166200656118862e-18, 1.2)), model.selection("SOLID", (6.038396788450424, -2.054057850558325e-15, 1.5)), model.selection("SOLID", (6.316150725419533, -7.758519898162708e-14, 1.5))]
+Rotation_1_objects = [model.selection("SOLID", (5, 1.166200656118862e-18, 1.2)), model.selection("SOLID", (6.049686362669476, 0, 1.5)), model.selection("SOLID", (6.320976310013338, 0, 1.5))]
 Rotation_1 = model.addRotation(Part_1_doc, Rotation_1_objects, model.selection("EDGE", "PartSet/OZ"), -90)
-Fuse_2_objects_1 = [model.selection("SOLID", (9.187239971515918e-05, -6.832080613557312e-09, 1.282177819724956)), model.selection("SOLID", (-1.349638054860434e-15, -6.038396788450424, 1.5)), model.selection("SOLID", (-7.680624658573511e-14, -6.316150725419533, 1.5))]
+Fuse_2_objects_1 = [model.selection("SOLID", (-0.01517504751345233, 0, -2.581926283264175)), model.selection("SOLID", (0, -6.049686362669479, 1.5)), model.selection("SOLID", (0, -6.320976310013339, 1.5))]
 Fuse_2 = model.addFuse(Part_1_doc, Fuse_2_objects_1)
-Cut_2 = model.addCut(Part_1_doc, [model.selection("SOLID", (9.177890659903279e-05, -0.006341145656800184, 1.28239948002437))], [model.selection("SOLID", (6.393306363619619e-16, -4.999999999999998, 1.2))])
-FusionFaces_1 = model.addFusionFaces(Part_1_doc, model.selection("SOLID", (9.190526314899106e-05, 0.002297421001363739, 1.282512923455053)))
+Cut_2 = model.addCut(Part_1_doc, [model.selection("SOLID", (-0.01017608298903453, -0.03890028204629473, -2.562040714294322))], [model.selection("SOLID", (0, -5, 1.2))])
+FusionFaces_1 = model.addFusionFaces(Part_1_doc, model.selection("SOLID", (-0.008741742572144908, -0.03112823644757425, -2.568357186681257)))
 
 model.end()
 
@@ -325,4 +325,4 @@ model.testNbSubShapes(FusionFaces_1, GeomAPI_Shape.EDGE, [202])
 model.testNbSubShapes(FusionFaces_1, GeomAPI_Shape.VERTEX, [404])
 model.testResultsVolumes(FusionFaces_1, [612.7268292882])
 
-assert(model.checkPythonDump())
\ No newline at end of file
+assert(model.checkPythonDump())
index af9a6c6a3868426d91ebb9f4b5d7dae1c3df027c..2dc3a65ed09307044dbde67176aac3b48e3fa09a 100644 (file)
@@ -124,8 +124,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [5])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [22])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [44])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [18])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [36])
 model.testResultsVolumes(Extrusion_1, [119535.04])
 
 # offset "From" face
@@ -143,8 +143,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [5])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [22])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [44])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [18])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [36])
 model.testResultsVolumes(Extrusion_1, [154943.7])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
index ef7c7113646ddd806d537609c80dbe126da6caee..893372b154e8860aa4987a889e8068c0e4129877 100644 (file)
@@ -96,8 +96,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [5])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [22])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [44])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [18])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [36])
 model.testResultsVolumes(Extrusion_1, [105008.93])
 
 # offset "From" face
index 8715c1ecb4c5b1e8c65aa97b1269484393ac6b04..d65359ce8f2779f801bba7ba792abd7d3857cfce 100644 (file)
@@ -129,8 +129,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [16])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [32])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [24])
 model.testResultsVolumes(Extrusion_1, [7626.2279286])
 
 # offset "From" face
@@ -140,8 +140,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [20])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [40])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [24])
 model.testResultsVolumes(Extrusion_1, [21514.8965])
 
 ParamFrom.setValue(-20)
@@ -150,8 +150,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [20])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [40])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [24])
 model.testResultsVolumes(Extrusion_1, [5427.194275658])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
index ada092a9f12aca369d4399377a2eab28addcb5bc..3cb53105ee5787c2847497d5083bd6a6af5e2991 100644 (file)
@@ -127,8 +127,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [9])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [34])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [68])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [30])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [60])
 model.testResultsVolumes(Extrusion_1, [119535.04])
 
 # offset "From" face
@@ -146,8 +146,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [9])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [34])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [68])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [30])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [60])
 model.testResultsVolumes(Extrusion_1, [154943.7])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
index 024dd08aa2724944ec52100c2bfa55dd20f31d97..902a5654f51b5731b12f6f51277e9ba5398efc18 100644 (file)
@@ -100,8 +100,8 @@ model.testNbResults(Extrusion_1, 1)
 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
index 8156d5230a5c3f2b4200f5870e7cecbdc4d39087..d832de0d8040da9ce791bfe82c19ccc85de9f0a2 100644 (file)
@@ -134,8 +134,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [18])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [64])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [128])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [60])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [120])
 model.testResultsVolumes(Extrusion_1, [7626.2279286])
 
 # offset "From" face
@@ -145,8 +145,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [18])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [68])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [136])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [60])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [120])
 model.testResultsVolumes(Extrusion_1, [21514.8965])
 
 ParamFrom.setValue(-20)
@@ -155,8 +155,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [18])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [68])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [136])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [60])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [120])
 model.testResultsVolumes(Extrusion_1, [5427.194275658])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
index edb34500c16e653a6933e44133c057c0501d9b98..e4e56a3038a3b078bfbbe9214b3f882788d01f73 100644 (file)
@@ -133,8 +133,8 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
 model.testResultsVolumes(Extrusion_1, [2295.81450653, 2295.81450653, 5527.16645028])
 
 # offset "From" face
@@ -144,8 +144,8 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
 model.testResultsVolumes(Extrusion_1, [1595.81450653, 1595.81450653, 3814.47306888])
 
 ParamFrom.setValue(-20)
@@ -154,8 +154,8 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
 model.testResultsVolumes(Extrusion_1, [2995.81450653, 2995.81450653, 7239.85983168])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
index 8436dbc9db9daa39b7254e00074be2ba2ab3a163..c1e737d54e27717d1267c2d3381cd9a30e07df1a 100644 (file)
@@ -99,8 +99,8 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
 model.testResultsVolumes(Extrusion_1, [1708.843326299, 1708.843325768, 1895.559443038])
 
 # offset "From" face
@@ -110,8 +110,8 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
 model.testResultsVolumes(Extrusion_1, [2915.069101129, 2915.069100598, 4138.27332218])
 
 # check failure
@@ -126,8 +126,8 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 6])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 12])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
 model.testResultsVolumes(Extrusion_1, [1105.7304388842, 1105.730438353, 774.2025034671])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
index 3ec3accb85a9f6bd20b3f9ca78ed54d5c964ba3f..8f2c380fc57929d4a93e1876fdb7240ce004c802 100644 (file)
@@ -130,8 +130,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [10])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [20])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
 model.testResultsVolumes(Extrusion_1, [1504.36096473])
 
 # offset "From" face
@@ -141,8 +141,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [12])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [24])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
 model.testResultsVolumes(Extrusion_1, [4336.142699])
 
 ParamFrom.setValue(-20)
@@ -151,8 +151,8 @@ model.testNbResults(Extrusion_1, 1)
 model.testNbSubResults(Extrusion_1, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [12])
-model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [24])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
+model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
 model.testResultsVolumes(Extrusion_1, [1118.8887326])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)