model.testNbSubShapes(Revolution_1, GeomAPI_Shape.FACE, [35])
model.testNbSubShapes(Revolution_1, GeomAPI_Shape.EDGE, [114])
model.testNbSubShapes(Revolution_1, GeomAPI_Shape.VERTEX, [228])
-model.testResultsVolumes(Revolution_1, [29055.346994571114919381216168404])
+model.testResultsVolumes(Revolution_1, [29055.379817395245481748133897781])
Plane_4 = model.addPlane(Part_1_doc, model.selection("EDGE", "PartSet/OY"), model.selection("VERTEX", "Sketch_1/SketchPoint_2"), True)
model.testNbSubShapes(ExtrusionCut_1, GeomAPI_Shape.FACE, [36])
model.testNbSubShapes(ExtrusionCut_1, GeomAPI_Shape.EDGE, [132])
model.testNbSubShapes(ExtrusionCut_1, GeomAPI_Shape.VERTEX, [264])
-model.testResultsVolumes(ExtrusionCut_1, [28943.115000463178148493170738220])
+model.testResultsVolumes(ExtrusionCut_1, [28943.145978945081878919154405594])
Fillet_1 = model.addFillet(Part_1_doc, [model.selection("EDGE", "[Revolution_1_1/Generated_Face&Sketch_1/SketchLine_21][Revolution_1_1/Generated_Face&Sketch_1/SketchLine_20]")], "Fillet1")
# check Fillet_1
model.testNbSubShapes(Fillet_1, GeomAPI_Shape.FACE, [37])
model.testNbSubShapes(Fillet_1, GeomAPI_Shape.EDGE, [136])
model.testNbSubShapes(Fillet_1, GeomAPI_Shape.VERTEX, [272])
-model.testResultsVolumes(Fillet_1, [28340.280766451105591841042041779])
+model.testResultsVolumes(Fillet_1, [28340.312197727056627627462148666])
Fillet_2 = model.addFillet(Part_1_doc, [model.selection("FACE", "Revolution_1_1/Generated_Face&Sketch_1/SketchLine_31"), model.selection("FACE", "Revolution_1_1/Generated_Face&Sketch_1/SketchLine_29"), model.selection("FACE", "Revolution_1_1/Generated_Face&Sketch_1/SketchLine_27"), model.selection("FACE", "Revolution_1_1/Generated_Face&Sketch_1/SketchLine_25")], "Fillet2")
# check Fillet_2
model.testNbSubShapes(Fillet_2, GeomAPI_Shape.FACE, [45])
model.testNbSubShapes(Fillet_2, GeomAPI_Shape.EDGE, [168])
model.testNbSubShapes(Fillet_2, GeomAPI_Shape.VERTEX, [336])
-model.testResultsVolumes(Fillet_2, [28339.715350479829794494435191154])
+model.testResultsVolumes(Fillet_2, [28339.746210508856165688484907150])
Fillet_3 = model.addFillet(Part_1_doc, [model.selection("FACE", "Revolution_1_1/Generated_Face&Sketch_1/SketchLine_19")], "Fillet3")
# check Fillet_3
model.testNbSubShapes(Fillet_3, GeomAPI_Shape.FACE, [47])
model.testNbSubShapes(Fillet_3, GeomAPI_Shape.EDGE, [176])
model.testNbSubShapes(Fillet_3, GeomAPI_Shape.VERTEX, [352])
-model.testResultsVolumes(Fillet_3, [28338.609830057110229972749948502])
+model.testResultsVolumes(Fillet_3, [28338.641671687521011335775256157])
Fillet_4 = model.addFillet(Part_1_doc, [model.selection("FACE", "Revolution_1_1/Generated_Face&Sketch_1/SketchLine_11")], "Fillet3")
# check Fillet_4
model.testNbSubShapes(Fillet_4, GeomAPI_Shape.FACE, [49])
model.testNbSubShapes(Fillet_4, GeomAPI_Shape.EDGE, [184])
model.testNbSubShapes(Fillet_4, GeomAPI_Shape.VERTEX, [368])
-model.testResultsVolumes(Fillet_4, [28347.280717884430487174540758133])
+model.testResultsVolumes(Fillet_4, [28347.312910383880080189555883408])
Fillet_5 = model.addFillet(Part_1_doc, [model.selection("FACE", "Revolution_1_1/Generated_Face&Sketch_1/SketchLine_9")], "Fillet2")
# check Fillet_5
model.testNbSubShapes(Fillet_5, GeomAPI_Shape.FACE, [51])
model.testNbSubShapes(Fillet_5, GeomAPI_Shape.EDGE, [192])
model.testNbSubShapes(Fillet_5, GeomAPI_Shape.VERTEX, [384])
-model.testResultsVolumes(Fillet_5, [28343.655816829603281803429126740])
+model.testResultsVolumes(Fillet_5, [28343.688540020142681896686553955])
ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, [], model.selection(), "D4_out/2", "D4_out/2", [model.selection("SOLID", "Fillet_5_1")])
Sketch_3 = model.addSketch(Part_1_doc, model.standardPlane("XOY"))
model.testNbSubShapes(ExtrusionCut_2, GeomAPI_Shape.FACE, [55])
model.testNbSubShapes(ExtrusionCut_2, GeomAPI_Shape.EDGE, [214])
model.testNbSubShapes(ExtrusionCut_2, GeomAPI_Shape.VERTEX, [428])
-model.testResultsVolumes(ExtrusionCut_2, [28317.789547563083033310249447823])
+model.testResultsVolumes(ExtrusionCut_2, [28317.815904764789593173190951347])
Folder_1 = model.addFolder(Part_1_doc, Fillet_1, Fillet_5)
model.testNbSubResults(RevolutionCut_1, [0])
model.testNbSubShapes(RevolutionCut_1, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(RevolutionCut_1, GeomAPI_Shape.FACE, [59])
-model.testNbSubShapes(RevolutionCut_1, GeomAPI_Shape.EDGE, [242])
-model.testNbSubShapes(RevolutionCut_1, GeomAPI_Shape.VERTEX, [484])
-model.testResultsVolumes(RevolutionCut_1, [28297.246041844206047244369983673])
+model.testNbSubShapes(RevolutionCut_1, GeomAPI_Shape.EDGE, [240])
+model.testNbSubShapes(RevolutionCut_1, GeomAPI_Shape.VERTEX, [480])
+model.testResultsVolumes(RevolutionCut_1, [28297.263961183885840000584721565])
RevolutionCut_2 = model.addRevolutionCut(Part_1_doc, [], model.selection("EDGE", "PartSet/OX"), 360, 0, [model.selection("SOLID", "RevolutionCut_1_1")])
Sketch_5 = model.addSketch(Part_1_doc, model.standardPlane("XOY"))
model.testNbSubResults(RevolutionCut_2, [0])
model.testNbSubShapes(RevolutionCut_2, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(RevolutionCut_2, GeomAPI_Shape.FACE, [60])
-model.testNbSubShapes(RevolutionCut_2, GeomAPI_Shape.EDGE, [246])
-model.testNbSubShapes(RevolutionCut_2, GeomAPI_Shape.VERTEX, [492])
-model.testResultsVolumes(RevolutionCut_2, [28288.868184623894194373860955238])
+model.testNbSubShapes(RevolutionCut_2, GeomAPI_Shape.EDGE, [244])
+model.testNbSubShapes(RevolutionCut_2, GeomAPI_Shape.VERTEX, [488])
+model.testResultsVolumes(RevolutionCut_2, [28288.886350037606462137773633003])
Plane_5 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/XOY"), 0, False)
Partition_1 = model.addPartition(Part_1_doc, [model.selection("SOLID", "RevolutionCut_2_1"), model.selection("FACE", "Plane_2")])
model.testNbSubResults(Partition_1, [2])
model.testNbSubShapes(Partition_1, GeomAPI_Shape.SOLID, [2])
model.testNbSubShapes(Partition_1, GeomAPI_Shape.FACE, [127])
-model.testNbSubShapes(Partition_1, GeomAPI_Shape.EDGE, [738])
-model.testNbSubShapes(Partition_1, GeomAPI_Shape.VERTEX, [1476])
+model.testNbSubShapes(Partition_1, GeomAPI_Shape.EDGE, [736])
+model.testNbSubShapes(Partition_1, GeomAPI_Shape.VERTEX, [1472])
model.testResultsVolumes(Partition_1, [28288.886256640704232268035411835])
Result = model.addRemoveSubShapes(Part_1_doc, model.selection("COMPSOLID", "Partition_1_1"))
model.testNbSubResults(Result, [0])
model.testNbSubShapes(Result, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(Result, GeomAPI_Shape.FACE, [63])
-model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [364])
-model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [728])
+model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [366])
+model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [732])
model.testResultsVolumes(Result, [22968.704503291784931207075715065])
Param_Drill1Loc.setValue(15)
model.testNbSubResults(Result, [0])
model.testNbSubShapes(Result, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(Result, GeomAPI_Shape.FACE, [63])
-model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [364])
-model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [728])
+model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [366])
+model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [732])
model.testResultsVolumes(Result, [22969.259323538735770853236317635])
Param_Drill1Holder.setValue(16)
model.testNbSubResults(Result, [0])
model.testNbSubShapes(Result, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(Result, GeomAPI_Shape.FACE, [63])
-model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [364])
-model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [728])
+model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [366])
+model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [732])
model.testResultsVolumes(Result, [22969.553506208951148437336087227])
Param_Drill2Loc.setValue(7.5)
model.testNbSubResults(Result, [0])
model.testNbSubShapes(Result, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(Result, GeomAPI_Shape.FACE, [63])
-model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [364])
-model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [728])
+model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [366])
+model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [732])
model.testResultsVolumes(Result, [22969.986144881491782143712043762])
Param_Drill2Radius.setValue(1.9)
model.testNbSubResults(Result, [0])
model.testNbSubShapes(Result, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(Result, GeomAPI_Shape.FACE, [63])
-model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [364])
-model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [728])
+model.testNbSubShapes(Result, GeomAPI_Shape.EDGE, [366])
+model.testNbSubShapes(Result, GeomAPI_Shape.VERTEX, [732])
model.testResultsVolumes(Result, [22956.808010807682876475155353546])
Param_Fillet1.setValue(3)