X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConnectorAPI%2FTest%2FTestExportSTL.py;h=39695139cf6ceb7b07885d7387bbd03e3c396795;hb=6028a6927ecea5cc5bcb81bc4cd86938a5b72040;hp=a033bfe27bc1e88830347ff179547265d2658589;hpb=1fd15bed1c62f994a3438bc4a12f44d0361f98c9;p=modules%2Fshaper.git diff --git a/src/ConnectorAPI/Test/TestExportSTL.py b/src/ConnectorAPI/Test/TestExportSTL.py index a033bfe27..39695139c 100644 --- a/src/ConnectorAPI/Test/TestExportSTL.py +++ b/src/ConnectorAPI/Test/TestExportSTL.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2021 CEA/DEN, EDF R&D +# Copyright (C) 2014-2024 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -26,6 +26,7 @@ #========================================================================= import salome +salome.standalone() import os import math @@ -43,7 +44,7 @@ from GeomAlgoAPI import * __updated__ = "2015-05-22" -salome.salome_init(1) +salome.salome_init(embedded=True) geompy = geomBuilder.New() #=========================================================================