-# Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+# Copyright (C) 2014-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
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# -*- coding: utf-8 -*-
-
from salome.shaper import model
model.begin()
SketchConstraintVertical_3 = Sketch_2.setVertical(SketchLine_11.result())
model.do()
Face_1 = model.addFace(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchLine_8r-SketchLine_9f-SketchLine_10f-SketchLine_11f")])
-Fill_1 = model.addFill(Part_1_doc, [model.selection("SOLID", "Extrusion_1_1")], [model.selection("FACE", "Face_1_1")])
+Split_1 = model.addSplit(Part_1_doc, [model.selection("SOLID", "Extrusion_1_1")], [model.selection("FACE", "Face_1_1")])
model.do()
# now add an additional edge to the first sketch as it is described in the issue
model.end()
# check that the plane is located as previously
-model.testNbSubResults(Fill_1, [2])
-model.testResultsVolumes(Fill_1, [120])
+model.testNbSubResults(Split_1, [2])
+model.testResultsVolumes(Split_1, [120])
assert(model.checkPythonDump())