Salome HOME
Merge from rnv/geom_plugin_imp branch
authorvsr <vsr@opencascade.com>
Wed, 27 May 2015 09:05:29 +0000 (12:05 +0300)
committervsr <vsr@opencascade.com>
Wed, 27 May 2015 13:53:23 +0000 (16:53 +0300)
50 files changed:
CMakeLists.txt
DXFPLUGIN_version.h.in [deleted file]
DXFPlugin_version.h.in [new file with mode: 0644]
INSTALL
README
SalomeDXFPLUGINConfig.cmake.in
adm_local/CMakeLists.txt
adm_local/cmake_files/CMakeLists.txt
adm_local/cmake_files/FindDXF.cmake
adm_local/cmake_files/FindSalomeDXF.cmake
adm_local/cmake_files/FindSalomeDXFPLUGIN.cmake
doc/CMakeLists.txt
doc/salome/CMakeLists.txt
doc/salome/examples/CMakeLists.txt
doc/salome/examples/DXFPlugindemo.py
doc/salome/gui/CMakeLists.txt
doc/salome/gui/DXFPLUGIN/CMakeLists.txt
doc/salome/gui/DXFPLUGIN/doxyfile.in
doc/salome/gui/DXFPLUGIN/doxyfile_py.in
doc/salome/gui/DXFPLUGIN/input/dxfplugin_importexport_page.doc
doc/salome/gui/DXFPLUGIN/input/dxfplugin_python_interface_page.doc
doc/salome/gui/DXFPLUGIN/input/index.doc
doc/salome/gui/DXFPLUGIN/static/footer.html
idl/CMakeLists.txt
idl/DXFPlugin.idl
resources/CMakeLists.txt
resources/DXFPlugin.xml
resources/SalomeApp.xml
src/CMakeLists.txt
src/DXFPluginBuilder.py
src/DXFPlugin_Engine.cxx
src/DXFPlugin_Engine.hxx
src/DXFPlugin_ExportDriver.cxx
src/DXFPlugin_ExportDriver.hxx
src/DXFPlugin_GUI.cxx
src/DXFPlugin_GUI.h
src/DXFPlugin_IECallBack.cxx
src/DXFPlugin_IECallBack.hxx
src/DXFPlugin_IExport.hxx
src/DXFPlugin_IImport.hxx
src/DXFPlugin_IOperations.cxx
src/DXFPlugin_IOperations.hxx
src/DXFPlugin_IOperations_i.cc
src/DXFPlugin_IOperations_i.hh
src/DXFPlugin_ImportDriver.cxx
src/DXFPlugin_ImportDriver.hxx
src/DXFPlugin_OperationsCreator.cxx
src/DXFPlugin_OperationsCreator.hxx
src/DXFPlugin_license.h.in
src/__init__.py

index 1b3400d8a59de99c199f3653c8b9446b83599f05..689dadc13af17825b2eede6a4fdf85ea8c47758f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -161,7 +161,7 @@ ENDIF()
 # Header configuration
 # ====================
 SALOME_XVERSION(${PROJECT_NAME})
-SALOME_CONFIGURE_FILE(DXFPLUGIN_version.h.in DXFPLUGIN_version.h)
+SALOME_CONFIGURE_FILE(DXFPlugin_version.h.in DXFPlugin_version.h INSTALL ${SALOME_INSTALL_HEADERS})
 
 # Configuration export
 # (here only the level 1 prerequisites are exposed)
diff --git a/DXFPLUGIN_version.h.in b/DXFPLUGIN_version.h.in
deleted file mode 100644 (file)
index 36c86ea..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (C) 2014  OPEN CASCADE
-//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
-
-#if !defined(__DXFPLUGIN_VERSION_H)
-#define __DXFPLUGIN_VERSION_H
-
-/*!
-  Specify version of SALOME DXFPLUGIN module, as follows
-
-  DXFPLUGIN_VERSION_MAJOR       : (integer) number identifying major version
-  DXFPLUGIN_VERSION_MINOR       : (integer) number identifying minor version
-  DXFPLUGIN_VERSION_MAINTENANCE : (integer) number identifying maintenance version
-  DXFPLUGIN_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
-  DXFPLUGIN_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
-  DXFPLUGIN_DEVELOPMENT         : (integer) indicates development version when set to 1
-*/
-
-#define DXFPLUGIN_VERSION_MAJOR       @SALOMEDXFPLUGIN_MAJOR_VERSION@
-#define DXFPLUGIN_VERSION_MINOR       @SALOMEDXFPLUGIN_MINOR_VERSION@
-#define DXFPLUGIN_VERSION_MAINTENANCE @SALOMEDXFPLUGIN_PATCH_VERSION@
-#define DXFPLUGIN_VERSION_STR         "@SALOMEDXFPLUGIN_VERSION@"
-#define DXFPLUGIN_VERSION             @SALOMEDXFPLUGIN_XVERSION@
-#define DXFPLUGIN_DEVELOPMENT         @SALOMEDXFPLUGIN_VERSION_DEV@
-
-#endif // __DXFPLUGIN_VERSION_H
diff --git a/DXFPlugin_version.h.in b/DXFPlugin_version.h.in
new file mode 100644 (file)
index 0000000..09c67f8
--- /dev/null
@@ -0,0 +1,41 @@
+// Copyright (C) 2014-2015  OPEN CASCADE
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#if !defined(__DXFPLUGIN_VERSION_H)
+#define __DXFPLUGIN_VERSION_H
+
+/*!
+  Specify version of SALOME DXFPLUGIN module, as follows
+
+  DXFPLUGIN_VERSION_MAJOR       : (integer) number identifying major version
+  DXFPLUGIN_VERSION_MINOR       : (integer) number identifying minor version
+  DXFPLUGIN_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  DXFPLUGIN_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  DXFPLUGIN_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  DXFPLUGIN_DEVELOPMENT         : (integer) indicates development version when set to 1
+*/
+
+#define DXFPLUGIN_VERSION_MAJOR       @SALOMEDXFPLUGIN_MAJOR_VERSION@
+#define DXFPLUGIN_VERSION_MINOR       @SALOMEDXFPLUGIN_MINOR_VERSION@
+#define DXFPLUGIN_VERSION_MAINTENANCE @SALOMEDXFPLUGIN_PATCH_VERSION@
+#define DXFPLUGIN_VERSION_STR         "@SALOMEDXFPLUGIN_VERSION@"
+#define DXFPLUGIN_VERSION             @SALOMEDXFPLUGIN_XVERSION@
+#define DXFPLUGIN_DEVELOPMENT         @SALOMEDXFPLUGIN_VERSION_DEV@
+
+#endif // __DXFPLUGIN_VERSION_H
diff --git a/INSTALL b/INSTALL
index 4e1b94d8d522ff57f6673f2a0e5b02de7598818a..52afaa3a42cbe586402d47cff92c9a3021b02e7e 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -2,7 +2,7 @@
 Installation Instructions
 *************************
 
-Copyright (C) 2014 Open CASCADE S.A.S.
+Copyright (C) 2014-2015 OPEN CASCADE
 
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
@@ -27,7 +27,7 @@ Pre-requisites
 DXF plugin for SALOME Geometry module requires:
 
 - SALOME, at least KERNEL module (http://www.salome-platform.org).
-- Open CASCADE Technology and OCCT DXF XDE Import/Export product
+- Open CASCADE Technology and OCCT DXF Import/Export XDE product
   (http://www.opencascade.org).
 
 ==================
@@ -42,12 +42,12 @@ In order to build the plugin you have to do the following actions:
 
    - for csh:
 
-   % setenv DXF_ROOT_DIR /path/to/the/DXF-6.7.0
+   % setenv DXF_ROOT_DIR /path/to/the/DXF-6.9.0
    % setenv LD_LIBRARY_PATH ${DXF_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
    - for bash:
    
-   % export DXF_ROOT_DIR=/path/to/the/DXF-6.7.0
+   % export DXF_ROOT_DIR=/path/to/the/DXF-6.9.0
    % export LD_LIBRARY_PATH=${DXF_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
    Note, that OCCT DXF XDE product requires OCCT license library.
diff --git a/README b/README
index b23d438c31abb992bab25f474e2d5ba56971812b..7ca460d0a7be941fcf0e923aacdb6a8fffa16e2b 100644 (file)
--- a/README
+++ b/README
@@ -2,7 +2,7 @@
 README
 ******
 
-Copyright (C) 2014 Open CASCADE S.A.S.
+Copyright (C) 2014-2015 OPEN CASCADE
 
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
@@ -58,12 +58,12 @@ Usage
 
    - for csh:
 
-   % setenv DXF_ROOT_DIR /path/to/the/DXF-6.7.0
+   % setenv DXF_ROOT_DIR /path/to/the/DXF-6.9.0
    % setenv LD_LIBRARY_PATH ${DXF_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
    - for bash:
 
-   % export DXF_ROOT_DIR=/path/to/the/DXF-6.7.0
+   % export DXF_ROOT_DIR=/path/to/the/DXF-6.9.0
    % export LD_LIBRARY_PATH=${DXF_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
    * OCCT DXF XDE product requires also an OCCT license library.
index bc01c7ac3de03040e7e3afcfb47487129cd377fe..fcb7203df73ce94d227c3dbc7e4700883d1ac00c 100644 (file)
@@ -4,7 +4,7 @@
 #
 
 ###############################################################
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2878415891d69ef8ff3de4e87c44d9301835f223..aa826d54fa55aab7244af8d711b6f47dfbe29549 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 73e17823146112cbc0ac70347eb4a3904222eedd..18c047fd22582261acb01ede5f4941cdff0e49a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3f24d2dfab5285406b645ca2f4b9a92f62c6b993..7301c277e8a59f984cf364256a7f0e31f756c0e4 100644 (file)
@@ -5,7 +5,7 @@
 #
 
 #########################################################################
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -49,14 +49,14 @@ ENDIF(OCCTLICENSE_INCLUDE_DIRS)
 
 FIND_LIBRARY(DXF_TKACIS NAMES TKACIS)
 FIND_LIBRARY(DXF_TKDXF NAMES TKDXF)
-FIND_LIBRARY(DXF_TKOCCLicense NAMES TKOCCLicense)
 FIND_LIBRARY(DXF_TKXDEDXF NAMES TKXDEDXF)
+FIND_LIBRARY(DXF_TKOCCLicense NAMES TKOCCLicense)
 
 SET(DXF_LIBRARIES
   ${DXF_TKACIS}
   ${DXF_TKDXF}
-  ${DXF_TKOCCLicense}
   ${DXF_TKXDEDXF}
+  ${DXF_TKOCCLicense}
 )
 
 INCLUDE(FindPackageHandleStandardArgs)
index 0864faa2474fa8db901c58d0736e05634cb706be..51645a6b7f82e21927e95319f10d1d618a2a0389 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3b9885f404652a3c63e5720912a51c3ba53191c0..51f981626197ecff3f596d0113f970502d28dcbc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7eb84fee166b15ce96326a433bb96f39398d16f0..0fd283bcfd1b8f89662b1626f1ae1db8899b344e 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 957d7ef945dd11a10b0ab5c6736e008953ea23ed..9965b8517ee33bb40b270d1a369d24940b8e7900 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,4 +18,4 @@
 #
 
 ADD_SUBDIRECTORY(examples)
-ADD_SUBDIRECTORY(gui)
\ No newline at end of file
+ADD_SUBDIRECTORY(gui)
index 9dad95bc0e816dfb12a8dcf28ebfa62ea1e4def5..7f8577e907c74977e459a7cd7394579c106b9b58 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 313fb3b9e1724862fd5e1f7ad6a654f3b09c96f7..81dbefe70b4589ff88b2b9eba5834ab03715ad2e 100644 (file)
@@ -1,34 +1,23 @@
 # Import/Export DXF
 
+import os
 import salome
 salome.salome_init()
-import GEOM,os
+import GEOM
 from salome.geom import geomBuilder
 geompy = geomBuilder.New(salome.myStudy)
-
-# Example of import/export file in DXF format
-
-print "Test Export/Import DXF ..."
-
-tmpDir = os.getenv("TEMP")
-if tmpDir == None:
-    tmpDir = "/tmp"
     
-# File for Export/Import testing
-fileExportImport = tmpDir + "/testExportImportDXF.dxf"
+# - path to the file
+dxfFile = os.path.join(os.getenv("TEMP", "/tmp"), "testExportImportDXF.dxf")
     
-# create shape
-box = geompy.MakeBoxDXDYDZ(100,100,100)
-
-# export shape
-geompy.ExportDXF(box,fileExportImport)
-
-# import shape
-Shape1 = geompy.ImportDXF(fileExportImport)
-geompy.addToStudy(Shape1, "ImportDXF_1")
+# - create shape
+box = geompy.MakeBoxDXDYDZ(100, 100, 100)
 
-# It is possible also to use next format of importing and publishing in study
+# - export shape
+geompy.ExportDXF(box, dxfFile)
 
-Shape2 = geompy.ImportDXF(fileExportImport,"ImportDXF_2")
+# - import shape
+shape = geompy.ImportDXF(dxfFile)
 
-print "OK"
\ No newline at end of file
+# - publish in study
+geompy.addToStudy(shape, "ImportDXF")
index efac789347134a589e03d7d29730aae1dc90624d..ceb01a01702bf00e14841d1334e1ded88c9048f5 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 598bde79a3283b1d314da4e9acdba296a85b9d9f..6a72dd1b9ec6cece003345e285de500764387014 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -22,6 +22,12 @@ SALOME_CONFIGURE_FILE(doxyfile_py.in doxyfile_py)
 SALOME_CONFIGURE_FILE(static/header.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header.html)
 SALOME_CONFIGURE_FILE(static/header_py.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header_py.html)
 
+# Generate a temporary python file, needed for the generation of the documentation
+# of the plugin.
+SALOME_ACCUMULATE_ENVIRONMENT(GEOM_PluginsList NOCHECK DXFPlugin)
+SET(_plugins_cmd_options ${GEOM_ROOT_DIR}/bin/salome/collect_geom_methods.py -d -o tmp/geomBuilder.py DXFPlugin)
+SALOME_GENERATE_ENVIRONMENT_SCRIPT(_plugins_cmd env_script "${PYTHON_EXECUTABLE}" "${_plugins_cmd_options}")
+
 SET(kernel_file "$ENV{KERNEL_ROOT_DIR}/bin/salome/prepare_generating_doc.py")
 IF(WIN32)
   STRING(REPLACE "/" "\\" kernel_file ${kernel_file})
@@ -29,6 +35,7 @@ ENDIF(WIN32)
 
 ADD_CUSTOM_TARGET(usr_docs ${CMAKE_COMMAND} -E make_directory tmp
   COMMAND ${PYTHON_EXECUTABLE} ${kernel_file} -o tmp/DXFPluginBuilder.py ${CMAKE_SOURCE_DIR}/src/DXFPluginBuilder.py
+  COMMAND ${_plugins_cmd}
   COMMAND ${DOXYGEN_EXECUTABLE} doxyfile_py
   COMMAND ${DOXYGEN_EXECUTABLE} doxyfile
   COMMAND ${CMAKE_COMMAND} -E remove_directory tmp
index 7f54ec40e2038216ea68a398cdd5e64b5504a9eb..3af1e63d41d9b0fa5654eeb85be1e86d6a1fd73d 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bb77f41a335da6a8464a4a15afd08dcd6bde36bc..46b644e718ea2efdf4bfaf17411bfa62ee94c827 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 30ae626496ba37165da4133c5fb3144c8e83dfef..335707b8739828d1ee0888224de1fd9804ef89f6 100644 (file)
@@ -10,21 +10,20 @@ For using DXFPLUGIN functionalities in SALOME:
 
   \image html import_dxf.png
   
-  Browse and select the file and click "Open" button. New object (shape) 
-  will appears in the SALOME object browser.
+  Browse and select the file and press "Open" button. New object (shape) 
+  will appear in the SALOME object browser.
 
-  \note It is possible to re-open from the initial file a previously imported shape if 
-  the file has been changed on disk. For this, select <b>Reload From Disk</b> 
-  in the context menu of the imported shape. The reloaded shape will have the same 
-  representation parameters as before this operation.
+  \note It is possible to re-load a previously imported shape from the initial file if 
+  the file has been changed on disk. For this, select <b>Reload From Disk</b> item
+  in the Object browser's context menu of the imported shape. The reloaded shape will
+  have the same representation parameters as before this operation.
 
   \image html reopen_dxf.png
   
-- Export to the DXF file selecting a shape in the SALOME object browser and 
-  calling menu <b>File/Export/DXF</b>.
+- Export selected shape to the DXF file via <b>File/Export/DXF</b> menu.
   
   \image html export_dxf.png
   
-  Enter the file name and click "Save" button.
+  Enter the file name and press "Save" button.
 
 */
index e2725fa78c0da9fb5c3968c033d8ff02756ac77c..3ab4f3454c8475ea276b0b644c25a7abf1937bce 100644 (file)
@@ -2,8 +2,8 @@
 
 \page dxfplugin_python_interface_page Python Interface
 
-Python package DXFPluginBuilder defines several classes, destined for 
-import and export CAD models in DXF format (*.dxf files).
+Python package DXFPluginBuilder defines several functions that allow
+importing and exporting CAD models in DXF format (*.dxf files).
 
 DXFPLUGIN dynamically adds several methods to the geomBuilder.
 
index 78568cf92aaa51545ce961ab18503393c2a4afad..d5c7812df61db1c06d9c70f402d93a87066152e3 100644 (file)
@@ -2,16 +2,15 @@
 
 \mainpage Introduction to DXFPLUGIN
 
-\b DXF interface to be used as plugin for SALOME Geometry 
-module. 
-It is destined for:
-- Importing CAD models stored in DXF format (*.dxf files) into 
-SALOME study;
+The \b DXFPLUGIN implements <b>DXF</b> interface as a plugin for SALOME Geometry module.
+
+It can be used for:
+- Importing CAD models stored in DXF format (*.dxf files) into SALOME study;
 - Exporting CAD models from SALOME to the *.dxf files.
 
-To manage parameters of the DXFPLUGIN use \subpage dxfplugin_importexport_page.
+To use functionality of the DXFPLUGIN refer to \subpage dxfplugin_importexport_page.
 
-Also all DXFPLUGIN functionalities are accessible via
+Also all functionalities of the DXFPLUGIN are accessible via
 \subpage dxfplugin_python_interface_page "DXFPLUGIN Python interface".
 
 */
index e21ab0ce443f1fd677742df7549edff2f623a795..a9dd3c180bc809df60b7baa78e1a225c91a6813f 100755 (executable)
@@ -4,7 +4,7 @@
   <ul>
     $navpath
     <li class="footer">
-      Copyright &copy; 2014  CEA/DEN, EDF R&amp;D, OPEN CASCADE<br>
+      Copyright &copy; 2014-2015  OPEN CASCADE<br>
     </li>
   </ul>
 </div>
index 6fd41e0027158f34217791bd7fbd27207c9a1111..c0eff383fd13e2c2f6b1d242f0116dfda706dc17 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 935dbf2111f9b6bdab4d88a55183ac5cdb00186f..867adcbd01e2e28c9761ea5dbc93d93ba9341216 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -36,7 +36,7 @@ module DXFPlugin
      *  \param theFileName Name of the file to store the given shape in.
      */
     void ExportDXF( in GEOM::GEOM_Object theObject, 
-                     in string           theFileName );
+                   in string            theFileName );
       
     /*!
      *  \brief Import a shape from the DXF file.
index b9588c8393c2713ef70827ee6f00fcb3000d916a..f7b9b2c61b246788846b1def7e244556aed5228d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 258e9fe9847eab138ebc30358e37a3c105cce74b..7531e64c38f034cf49e7133409286f865d9a8da2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='us-ascii'?>
 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
 <!--
-  Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+  Copyright (C) 2014-2015  OPEN CASCADE
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
index 466c9360e2ae9bf13fadc0cb953c3d4adad077e2..ba8da9695cd31a8aab43693af2ed0b6343627808 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+  Copyright (C) 2014-2015  OPEN CASCADE
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
index 14ef9653edc8a1aeff8039b72a1cebd94697a860..52332c64edd7cc65f6b91da2f47139293df767d1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 63404d6b7c1019b0c7d4ef61169d94703610cb04..ff92dd7197bbe2fe908d0134805dc06a57397442 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015  OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -23,13 +23,22 @@ from DXFPlugin import IDXFOperations
 # Engine Library Name
 __libraryName__ = "DXFPluginEngine"
 
+## Get DXF plugin operations interface
+#  @return an instance of DXF plugin operations interface
 def GetDXFPluginOperations(self):
+    """
+    Get DXF plugin operations interface.
+
+    Returns:
+        An instance of DXF plugin operations interface
+    """
     anOp = self.GetPluginOperations(self.myStudyId, __libraryName__)
     return anOp._narrow(IDXFOperations)
 
 ## Export the given shape into a file with given name in DXF format.
 #  @param theObject Shape to be stored in the file.
 #  @param theFileName Name of the file to store the given shape in.
+#  @sa ImportDXF
 def ExportDXF(self, theObject, theFileName):
     """
     Export the given shape into a file with given name in DXF format.
@@ -56,8 +65,11 @@ def ExportDXF(self, theObject, theFileName):
 #          If material names are imported it returns the list of
 #          objects. The first one is the imported object followed by
 #          material groups.
+#
 #  @note Auto publishing is allowed for the shape itself. Imported
 #        material groups are not automatically published.
+#
+#  @sa ExportDXF
 def ImportDXF(self, theFileName, theName=None):
     """
     Import a shape from the DXF file
index e3a40d2a479dfee0d0b4e9c0aea6d02031f8cc3e..c85b2849b5dba6a53185d11dafc6adb7bc989d96 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 073d0df7addaa44cc44490d5739bfa5f911f38eb..5e166b639f526ac8ad3c9068ec67263afb32e7f7 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 97dc38155e6dfa81fa79743ab7b975ce8f9340b1..968226658961a41e4b80932fd8fab028dc93cc2d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ad88707384c304e01409d8c57c7a814f7b286065..6f95e3ca16b0aaf3bd942ac9f30ed2b7bdce6667 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6f74748d55c8b90887f131b420fb4db612dcc07f..e4a64cc25cde01c0f33e3ab1d36b1b3d920dc51b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 99045fd743d97ed368623391fb1f3a261f70dd08..8ccd2098996f9cc391b3789922b3f1b8289e525c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8aa1685ee7b6333eb4a8a9540a4cc4669a076ad7..4411ef1eade54d201ff883617ef08c240801f230 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0e0b5c152a39e8b497dc3a717e7083ffee1883d3..a3710a4e1260f3403b7c9b9d49e72c9270ffd9f3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 860cf248efdd458ba59518d6f3de36f7303cd49c..27bb469b02cce4a38735224d136e20bbebb4e78b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e33c4109701cc01b1c4e4fac6df3aabd9344f57a..8a1ab266feed9a208604db6ab79181d7435276e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 65b3732a58be65dead63a0c903823852aa3a80cd..7a49fa693ab9cf3ed0ab5bfaf1f1d2d9ed5884e3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c3d9d2624486fca51fe06ae50f333768f7fdfed3..65e56330a5140e5de4effd450e24e3486f997a47 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bca345bc8c04e04050489b1871e16d7965462478..c04fb8c22d7b2bacc23619620c9e2d91d51f852d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -20,7 +20,7 @@
 // internal includes
 #include "DXFPlugin_IOperations_i.hh"
 #include "DXFPlugin_IOperations.hxx"
-#include <DXFPLUGIN_version.h>
+#include "DXFPlugin_version.h"
 
 // KERNEL includes
 #include <utilities.h>
index 689e900f2d02e01fea42eab7ae7f5d99e1f29a61..fcf7accbab66c0f556eb9ac4087156e130581899 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9615c293c94738ee671be3530ccd1f66bf2ab95..c69c82e76e12317d8e12d673b8e69a3fadc3087a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dfc6ac446bf47a4f1dd3d488064f86763648d7d8..8d03716f2b43ce1b6a348a46dd4801c400972049 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a20b6c83748c8cdbf61280cc6069f65c7f2e0c67..33f396da7e7c770827e1d2dd54a7b31e8beb92e3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3d8df7371cfac92eb36780726c7d59f0f9ab39b1..9b941ae4d43979013d60d163fa6d9003293c6fdc 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 545d18117cc91470a0dd727ef3294c6602455daf..60a4cde774ef96a2916e89306987e19e7784fbb2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  OPEN CASCADE
+// Copyright (C) 2014-2015  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f97508bb618215228e520aae7476162c1c7003d1..523c423396c0bc686cbba94dee3f9d6461327c8e 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2014-2015 OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public