]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/Test/TestFusionFaces2697.py
Salome HOME
updated copyright message
[modules/shaper.git] / src / FeaturesPlugin / Test / TestFusionFaces2697.py
index c84cd29586d872346b0b9af839b24ef08686f508..b0663a698d6531fee03475f1c1db9e2eae7f09c2 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -17,8 +17,6 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-# -*- coding: utf-8 -*-
-
 from SketchAPI import *
 
 from salome.shaper import model
@@ -258,7 +256,9 @@ Symmetry_1.results()[1].subResult(1).setName("Symmetry_1_2_2")
 Cut_1 = model.addCut(Part_1_doc, [model.selection("SOLID", "Revolution_1_1")], [model.selection("COMPOUND", "Cut_tool")])
 Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Cut_1_1"), model.selection("COMPOUND", "Fuse_tool")])
 FusionFaces_1 = model.addFusionFaces(Part_1_doc, model.selection("SOLID", "Fuse_1_1"))
-model.end()
+model.do()
 
 # check the faces are fused
 model.checkResult(FusionFaces_1, model, 1, [0], [1], [16], [76], [152])
+
+model.end()
\ No newline at end of file