X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConnectorAPI%2FTest%2FTestExportSTL.py;h=39695139cf6ceb7b07885d7387bbd03e3c396795;hb=6028a6927ecea5cc5bcb81bc4cd86938a5b72040;hp=edc7eaf01fbbfd03d0282319650bdedc291f112f;hpb=20d35238897e717b51eaba89f9ba3695ebf57e49;p=modules%2Fshaper.git diff --git a/src/ConnectorAPI/Test/TestExportSTL.py b/src/ConnectorAPI/Test/TestExportSTL.py index edc7eaf01..39695139c 100644 --- a/src/ConnectorAPI/Test/TestExportSTL.py +++ b/src/ConnectorAPI/Test/TestExportSTL.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2020 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() #=========================================================================