From: jfa Date: Mon, 10 Jul 2023 16:29:37 +0000 (+0100) Subject: Improve according to review remarks X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=69c820e159c6240732b7d1eb83fcc84e1aa3e547;p=modules%2Fshaper.git Improve according to review remarks --- diff --git a/src/ConnectorAPI/Test/CTestTestfileInstall.cmake b/src/ConnectorAPI/Test/CTestTestfileInstall.cmake index d0a5b6188..606393fb5 100644 --- a/src/ConnectorAPI/Test/CTestTestfileInstall.cmake +++ b/src/ConnectorAPI/Test/CTestTestfileInstall.cmake @@ -24,7 +24,7 @@ SET(PYTHON_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/python_test_d SET(TIMEOUT 300) -FOREACH(tfile ${TEST_NAMES}) +FOREACH(tfile ${TEST_NAMES_SPR}) SET(TEST_NAME ${COMPONENT_NAME}_${tfile}) ADD_TEST(${TEST_NAME} python ${PYTHON_TEST_DRIVER} ${TIMEOUT} ${tfile}.py) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}") diff --git a/src/ConnectorAPI/Test/TestExportXAOMem.py b/src/ConnectorAPI/Test/TestExportXAOMem.py index 5d67a7452..482e37207 100644 --- a/src/ConnectorAPI/Test/TestExportXAOMem.py +++ b/src/ConnectorAPI/Test/TestExportXAOMem.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2022 CEA/DEN, EDF R&D +# Copyright (C) 2022-2023 CEA, EDF, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/ConnectorAPI/Test/tests.set b/src/ConnectorAPI/Test/tests.set index 18052ebcc..5599ea788 100755 --- a/src/ConnectorAPI/Test/tests.set +++ b/src/ConnectorAPI/Test/tests.set @@ -17,7 +17,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -SET(TEST_NAMES +SET(TEST_NAMES_SPR TestExportToGEOM TestExportToGEOMAllGroupsAndFields TestExportToGEOMPartSet @@ -36,3 +36,5 @@ SET(TEST_NAMES_ADV TestExportXAOMem TestImportXAOMem ) + +set(TEST_NAMES ${TEST_NAMES_SPR} ${TEST_NAMES_ADV}) diff --git a/src/ExchangePlugin/doc/exportFeature.rst b/src/ExchangePlugin/doc/exportFeature.rst index 6d22c83d1..072c9495a 100644 --- a/src/ExchangePlugin/doc/exportFeature.rst +++ b/src/ExchangePlugin/doc/exportFeature.rst @@ -123,7 +123,7 @@ Selection list in the property panel contains a list of exported objects which c This function enables passing data in XAO format from SHAPER to GEOM through a memory buffer (bytes array), without creation of real file on disk. - :param object: A being exported object + :param object: The object to export :param string: The name of the author, empty by default :param string: The name for the shape processed in GEOMETRY module, empty by default diff --git a/src/ExchangePlugin/doc/importFeature.rst b/src/ExchangePlugin/doc/importFeature.rst index 5daac002f..f035ea360 100644 --- a/src/ExchangePlugin/doc/importFeature.rst +++ b/src/ExchangePlugin/doc/importFeature.rst @@ -47,10 +47,10 @@ The import will be performed within the active part. If no part is active, the p **TUI Command**: -.. py:function:: model.importPart(Doc, FileNameString, [PrevFeature]) +.. py:function:: model.importPart(Part_doc, FileNameString, [PrevFeature]) - :param part: The current part object - :param string: A file name string + :param Part_doc: The target part document, where to import the data + :param string: The file name string :param reference: The feature after which the imported entities should be inserted @@ -88,14 +88,14 @@ In case of first choice the format of imported file will be defined according to .. py:function:: model.addImport(Part_doc, FileNameString) - :param part: The current part object + :param Part_doc: The target part document, where to import the data :param string: A file name string. .. py:function:: model.addImportXAOMem(Part_doc, aBuffer) This function allows importing data in XAO format from GEOM through a memory buffer (bytes array), without creation of real file on disk. - :param part: The current part object + :param Part_doc: The target part document, where to import the data :param aBuffer: A byte array with data in XAO format. Result @@ -134,7 +134,7 @@ The **Import to** combobox provides the list of destinations (one of existing Pa .. py:function:: model.addImportSTEP(Part_doc, FileNameString,scalInterUnits,materials,colors) - :param part: The current part object + :param Part_doc: The target part document, where to import the data :param string: A file name string. :param boolean: True if scale to UIS :param boolean: True to create groups from materials