]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
CCAR: update with V5_1_main (28/09) BR_Observer
authorcaremoli <caremoli>
Tue, 28 Sep 2010 15:14:11 +0000 (15:14 +0000)
committercaremoli <caremoli>
Tue, 28 Sep 2010 15:14:11 +0000 (15:14 +0000)
95 files changed:
bin/Makefile.am
bin/addvars2notebook_GEOM.py [new file with mode: 0644]
configure.ac
doc/Makefile.am
doc/docutils/Makefile.am [new file with mode: 0644]
doc/docutils/conf.py [new file with mode: 0644]
doc/docutils/docapi.rst [new file with mode: 0644]
doc/docutils/images/salome-geom-structuralelements.png [new file with mode: 0644]
doc/docutils/index.rst [new file with mode: 0644]
doc/docutils/overview.rst [new file with mode: 0644]
doc/salome/gui/GEOM/images/limit_tolerance_dlg.png [new file with mode: 0644]
doc/salome/gui/GEOM/images/salome-geom-structuralelements.png [new file with mode: 0644]
doc/salome/gui/GEOM/input/geompypkg.doc [new file with mode: 0644]
doc/salome/gui/GEOM/input/index.doc
doc/salome/gui/GEOM/input/limit_tolerance_operation.doc [new file with mode: 0644]
doc/salome/gui/GEOM/input/partition.doc
doc/salome/gui/GEOM/input/repairing_operations.doc
doc/salome/gui/GEOM/input/shape_processing_operation.doc
doc/salome/gui/GEOM/input/tui_repairing_operations.doc
doc/salome/gui/GEOM/input/tui_test_others.doc
idl/GEOM_Gen.idl
resources/Makefile.am
resources/limit_tolerance.png [new file with mode: 0644]
src/BasicGUI/BasicGUI_PointDlg.cxx
src/DisplayGUI/DisplayGUI.cxx
src/DlgRef/DlgRef.cxx
src/GEOM/GEOM_Engine.cxx
src/GEOM/GEOM_Function.cxx
src/GEOM/GEOM_Function.hxx
src/GEOM/GEOM_ISubShape.hxx
src/GEOM/GEOM_Object.cxx
src/GEOMAlgo/BlockFix_UnionEdges.cxx
src/GEOMGUI/GEOM_images.ts
src/GEOMGUI/GEOM_msg_en.ts
src/GEOMGUI/GEOM_msg_fr.ts
src/GEOMGUI/GeometryGUI.cxx
src/GEOMGUI/GeometryGUI.h
src/GEOMGUI/GeometryGUI_Operations.h
src/GEOMImpl/GEOMImpl_HealingDriver.cxx
src/GEOMImpl/GEOMImpl_HealingDriver.hxx
src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx
src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx
src/GEOMImpl/GEOMImpl_IBlocksOperations.hxx
src/GEOMImpl/GEOMImpl_IGroupOperations.cxx
src/GEOMImpl/GEOMImpl_IHealing.hxx
src/GEOMImpl/GEOMImpl_IHealingOperations.cxx
src/GEOMImpl/GEOMImpl_IHealingOperations.hxx
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
src/GEOMImpl/GEOMImpl_IShapesOperations.hxx
src/GEOMImpl/GEOMImpl_ImportDriver.cxx
src/GEOMImpl/GEOMImpl_PartitionDriver.cxx
src/GEOMImpl/GEOMImpl_Types.hxx
src/GEOMToolsGUI/GEOMToolsGUI.cxx
src/GEOMToolsGUI/GEOMToolsGUI.h
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx
src/GEOMToolsGUI/GEOMToolsGUI_TransparencyDlg.cxx
src/GEOM_I/GEOM_Gen_i.cc
src/GEOM_I/GEOM_IBlocksOperations_i.cc
src/GEOM_I/GEOM_IBlocksOperations_i.hh
src/GEOM_I/GEOM_IHealingOperations_i.cc
src/GEOM_I/GEOM_IHealingOperations_i.hh
src/GEOM_I/GEOM_IShapesOperations_i.cc
src/GEOM_I/GEOM_IShapesOperations_i.hh
src/GEOM_I/GEOM_Object_i.cc
src/GEOM_PY/Makefile.am [new file with mode: 0644]
src/GEOM_PY/__init__.py [new file with mode: 0644]
src/GEOM_PY/geomtools.py [new file with mode: 0644]
src/GEOM_PY/structelem/Makefile.am [new file with mode: 0644]
src/GEOM_PY/structelem/__init__.py [new file with mode: 0644]
src/GEOM_PY/structelem/orientation.py [new file with mode: 0644]
src/GEOM_PY/structelem/parts.py [new file with mode: 0644]
src/GEOM_SWIG/GEOM_TestAll.py
src/GEOM_SWIG/GEOM_TestOthers.py
src/GEOM_SWIG/geompyDC.py
src/GroupGUI/GroupGUI_GroupDlg.cxx
src/IGESImport/IGESImport.cxx
src/IGESImport/Makefile.am
src/Makefile.am
src/MeasureGUI/Makefile.am
src/MeasureGUI/MeasureGUI_AngleDlg.cxx
src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx
src/MeasureGUI/MeasureGUI_CenterMassDlg.cxx
src/MeasureGUI/MeasureGUI_DistanceDlg.cxx
src/MeasureGUI/MeasureGUI_InertiaDlg.cxx
src/MeasureGUI/MeasureGUI_MaxToleranceDlg.cxx
src/MeasureGUI/MeasureGUI_PointDlg.cxx
src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx
src/MeasureGUI/MeasureGUI_WhatisDlg.cxx
src/RepairGUI/Makefile.am
src/RepairGUI/RepairGUI.cxx
src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx [new file with mode: 0644]
src/RepairGUI/RepairGUI_LimitToleranceDlg.h [new file with mode: 0644]
src/RepairGUI/RepairGUI_RemoveExtraEdgesDlg.cxx
src/STEPImport/Makefile.am
src/STEPImport/STEPImport.cxx

index da76a6844e4dd405d4a32ec5fffb501fcac371f4..f0f18a9f0eb4e03bf2ee9506c8d97e9967d702ee 100644 (file)
@@ -28,6 +28,7 @@ nodist_salomescript_DATA = VERSION
 
 # python files
 dist_salomescript_PYTHON = \
+       addvars2notebook_GEOM.py \
        geom_setenv.py
 
 # distributed files
diff --git a/bin/addvars2notebook_GEOM.py b/bin/addvars2notebook_GEOM.py
new file mode 100644 (file)
index 0000000..01c37c5
--- /dev/null
@@ -0,0 +1,50 @@
+
+def addvars2notebook(filename, vars_and_values):
+    stream = open(filename)
+    lines = stream.readlines()
+    stream.close()
+    newlines = []
+    for line in lines:
+        if line.find("= geompy.") >= 0:
+            name = line.split('=')[0]
+            name = name.strip()
+            vals = line
+            fields = vals.split("(")
+            if len(fields) == 2:
+                begin = fields[0] + "("
+                vals = fields[1]
+                fields = vals.split(")")
+                if len(fields) == 2:
+                    vals = fields[0]
+                    end = ")" + fields[1]
+                    vals = vals.split(',')
+                    newline  = begin
+                    newvals = []
+                    for i in range(len(vals)):
+                        valname = name + "_val_%s"%(i+1)
+                        val = vals[i]
+                        vvv = val.strip()
+                        try:
+                            iii = int(vvv)
+                            vars_and_values.append([valname, val])
+                            val = val.replace(vvv, valname.__repr__())
+                        except ValueError:
+                            try:
+                                fff = float(vvv)
+                                vars_and_values.append([valname, val])
+                                val = val.replace(vvv, valname.__repr__())
+                            except ValueError:
+                                pass
+                            pass
+                        newvals.append(val)
+                        pass
+                    newline += ','.join(newvals)
+                    newline += end
+                    line = newline
+                    pass
+                pass
+            pass
+        newlines.append(line)
+        pass
+    content = "".join(newlines)
+    return content
index a97d65c0b2851dd38b5c59e27c03261aba62e8cf..e5cd6f12731bd84564fe4b9cd9c771ea4f5ef4d1 100644 (file)
@@ -316,6 +316,13 @@ echo
 
 CHECK_HTML_GENERATORS
 
+echo
+echo ---------------------------------------------
+echo testing sphinx
+echo ---------------------------------------------
+echo
+CHECK_SPHINX
+
 echo
 echo ---------------------------------------------
 echo Testing Kernel
@@ -333,7 +340,7 @@ echo
 echo Configure
 
 if test "${gui_ok}" = "yes"; then
-  variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok gui_ok"
+  variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok sphinx_ok Kernel_ok gui_ok"
 elif test "${SalomeGUI_need}" != "no"; then
   variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok gui_ok"
 else
@@ -381,6 +388,7 @@ AC_OUTPUT([ \
   bin/Makefile \
   GEOM_version.h \
   doc/Makefile \
+  doc/docutils/Makefile \
   doc/salome/Makefile \
   doc/salome/gui/Makefile \
   doc/salome/gui/GEOM/Makefile \
@@ -415,6 +423,8 @@ AC_OUTPUT([ \
   src/GEOM_I_Superv/Makefile \
   src/GEOM_SWIG/Makefile \
   src/GEOM_SWIG_WITHIHM/Makefile \
+  src/GEOM_PY/Makefile \
+  src/GEOM_PY/structelem/Makefile \
   src/GenerationGUI/Makefile \
   src/GroupGUI/Makefile \
   src/IGESExport/Makefile \
@@ -439,3 +449,5 @@ AC_OUTPUT([ \
   idl/Makefile \
   Makefile \
 ])
+
+AC_HACK_LIBTOOL
index f40fb81a5d12cb8d1b1c351e41b03059a6d13c7e..6cf4c8ea217b6e586992d4136c7160cd1524791d 100644 (file)
@@ -24,7 +24,7 @@
 # $Header$
 # source path
 #
-SUBDIRS = salome
+SUBDIRS = salome docutils
 
 usr_docs:
        (cd salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
diff --git a/doc/docutils/Makefile.am b/doc/docutils/Makefile.am
new file mode 100644 (file)
index 0000000..a85de6c
--- /dev/null
@@ -0,0 +1,92 @@
+#  -*- coding: iso-8859-1 -*-
+#  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+#  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#
+#  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.
+#
+#  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
+
+include $(top_srcdir)/adm_local/unix/make_common_starter.am
+
+pydocdir = $(docdir)/tui/GEOM/docutils
+
+.PHONY : latex
+
+if SPHINX_IS_OK
+
+pydoc_DATA=html/index.html
+html/index.html:$(RSTFILES)
+       make htm
+
+endif
+
+EXTRA_DIST+= html
+
+SPHINXOPTS      =
+SOURCEDIR       = $(srcdir)
+SPHINXBUILD     = sphinx-build
+PAPEROPT_a4     = -D latex_paper_size=a4
+ALLSPHINXOPTS   = -d doctrees $(PAPEROPT_a4) $(SPHINXOPTS) $(SOURCEDIR)
+
+SPHINX_PYTHONPATH = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages
+
+SPHINX_LD_LIBRARY_PATH = $(OMNIORB_ROOT)/lib
+
+htm:
+       mkdir -p html doctrees
+       PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \
+       LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \
+       $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) html
+       @echo
+       @echo "Build finished. The HTML pages are in html."
+
+latex:
+       mkdir -p latex doctrees
+       PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \
+       LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \
+       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) latex
+       @echo
+       @echo "Build finished; the LaTeX files are in latex."
+       @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
+             "run these through (pdf)latex."
+
+html:
+       mkdir -p $@
+
+RSTFILES= \
+       index.rst \
+       overview.rst \
+       docapi.rst
+
+EXTRA_DIST+= $(RSTFILES)
+
+EXTRA_DIST+= \
+       conf.py 
+
+install-data-local:
+       $(INSTALL) -d $(pydocdir)
+       if test -d "html"; then b=; else b="$(srcdir)/"; fi; \
+       cp -rf $$b"html"/* $(pydocdir) ; \
+       if test -f $$b"latex"/geompy.pdf; then cp -f $$b"latex"/geompy.pdf $(pydocdir) ; fi;
+
+uninstall-local:
+       chmod -R +w $(pydocdir)
+       rm -rf $(pydocdir)/*
+
+clean-local:
+       -rm -rf html latex doctrees
+       if test -d "html"; then rm -rf html ; fi
diff --git a/doc/docutils/conf.py b/doc/docutils/conf.py
new file mode 100644 (file)
index 0000000..5afa71b
--- /dev/null
@@ -0,0 +1,200 @@
+# -*- coding: iso-8859-1 -*-
+#
+# yacs documentation build configuration file, created by
+# sphinx-quickstart on Fri Aug 29 09:57:25 2008.
+#
+# This file is execfile()d with the current directory set to its containing dir.
+#
+# The contents of this file are pickled, so don't put values in the namespace
+# that aren't pickleable (module imports are okay, they're removed automatically).
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import sys, os
+
+# If your extensions are in another directory, add it here. If the directory
+# is relative to the documentation root, use os.path.abspath to make it
+# absolute, like shown here.
+#sys.path.append(os.path.abspath('.'))
+
+# General configuration
+# ---------------------
+
+# Add any Sphinx extension module names here, as strings. They can be extensions
+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+extensions = ['sphinx.ext.autodoc']
+
+# Uncomment the following line to build the links with Python documentation
+# (you might need to set http_proxy environment variable for this to work)
+#extensions += ['sphinx.ext.intersphinx']
+
+# Intersphinx mapping to add links to modules and objects in the Python
+# standard library documentation
+intersphinx_mapping = {'http://docs.python.org': None}
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+source_encoding = 'utf-8'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = 'GEOM python packages'
+copyright = '2010 EDF R&D'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = '5.1.4'
+# The full version, including alpha/beta/rc tags.
+release = '5.1.4'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+language = 'en'
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of documents that shouldn't be included in the build.
+#unused_docs = []
+
+# List of directories, relative to source directory, that shouldn't be searched
+# for source files.
+exclude_trees = ['.build','ref','images','CVS','.svn']
+
+# The reST default role (used for this markup: `text`) to use for all documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+
+# Options for HTML output
+# -----------------------
+
+# The theme to use for HTML and HTML Help pages.  Major themes that come with
+# Sphinx are currently 'default' and 'sphinxdoc'.
+html_theme = 'default'
+#html_theme = 'nature'
+#html_theme = 'agogo'
+#html_theme = 'sphinxdoc'
+#html_theme = 'omadoc'
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = ['themes']
+
+# The name for this set of Sphinx documents.  If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar.  Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+#html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+#html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+html_use_modindex = False
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, the reST sources are included in the HTML build as _sources/<name>.
+html_copy_source = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it.  The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
+#html_file_suffix = ''
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'geompydoc'
+
+
+# Options for LaTeX output
+# ------------------------
+
+# The paper size ('letter' or 'a4').
+latex_paper_size = 'a4'
+
+# The font size ('10pt', '11pt' or '12pt').
+latex_font_size = '10pt'
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title, author, document class [howto/manual]).
+latex_documents = [
+  ('index', 'geompy.tex', 'Documentation of the GEOM python packages', 'EDF R\&D', 'manual')
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+latex_logo = '../salome/tui/images/head.png'
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+#latex_use_parts = True
+
+# Additional stuff for the LaTeX preamble.
+#latex_preamble = ''
+
+# Documents to append as an appendix to all manuals.
+#latex_appendices = []
+
+# If false, no module index is generated.
+latex_use_modindex = False
diff --git a/doc/docutils/docapi.rst b/doc/docutils/docapi.rst
new file mode 100644 (file)
index 0000000..20a52ca
--- /dev/null
@@ -0,0 +1,43 @@
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ Documentation of the programming interface (API)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+This section describes the python packages and modules of the
+``salome.geom`` python package. The main part is generated from the
+code documentation included in source python files.
+
+:mod:`salome.geom` -- Package containing the GEOM python utilities
+==================================================================
+
+:mod:`geomtools` -- Tools to access GEOM engine and objects
+-----------------------------------------------------------
+
+.. automodule:: salome.geom.geomtools
+   :members:
+
+:mod:`structelem` -- Structural elements package
+------------------------------------------------
+
+.. automodule:: salome.geom.structelem
+
+.. autoclass:: StructuralElementManager
+   :members:
+
+.. autoclass:: StructuralElement
+   :members:
+
+:mod:`structelem.parts` -- Structural element parts
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. automodule:: salome.geom.structelem.parts
+   :members:
+   :undoc-members:
+   :show-inheritance:
+
+:mod:`structelem.orientation` -- Structural element orientation
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. automodule:: salome.geom.structelem.orientation
+   :members:
+   :undoc-members:
diff --git a/doc/docutils/images/salome-geom-structuralelements.png b/doc/docutils/images/salome-geom-structuralelements.png
new file mode 100644 (file)
index 0000000..6ed41b1
Binary files /dev/null and b/doc/docutils/images/salome-geom-structuralelements.png differ
diff --git a/doc/docutils/index.rst b/doc/docutils/index.rst
new file mode 100644 (file)
index 0000000..81e4f24
--- /dev/null
@@ -0,0 +1,14 @@
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ Documentation of the GEOM python packages
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Main documentation
+==================
+
+.. toctree::
+   :maxdepth: 3
+
+   overview.rst
+   docapi.rst
+
diff --git a/doc/docutils/overview.rst b/doc/docutils/overview.rst
new file mode 100644 (file)
index 0000000..3ca3a4b
--- /dev/null
@@ -0,0 +1,38 @@
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+General presentation of the GEOM python package
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+The GEOM python package essentially contains:
+
+* The visualization of structural elements: a function to create
+  geometrical 3D representations of mechanical models called
+  "structural elements".
+
+Note that these functions either encapsulate the python programming
+interface of GEOM core (the CORBA or SWIG interfaces for example) or
+extend existing utilities as the ``geompy.py`` module.
+
+The functions are distributed in the python package
+``salome.geom``. For example, the usage of the visualization of
+structural elements can be appreciated with this set of instructions:
+
+.. code-block:: python
+
+   from salome.geom.structelem import TEST_StructuralElement
+   TEST_StructuralElement()
+
+This creates the geometrical objects displayed in the study below:
+
+.. image:: /images/salome-geom-structuralelements.png
+   :align: center
+
+The specification of the programming interface of this package is
+detailled in the part :doc:`Documentation of the programming interface
+(API)</docapi>` of this documentation.
+
+.. note::
+   The main package ``salome`` contains other sub-packages that are
+   distributed with the other SALOME modules. For example, the KERNEL
+   module provides the python package ``salome.kernel`` and SMESH the
+   package ``salome.smesh``.
diff --git a/doc/salome/gui/GEOM/images/limit_tolerance_dlg.png b/doc/salome/gui/GEOM/images/limit_tolerance_dlg.png
new file mode 100644 (file)
index 0000000..98adfc4
Binary files /dev/null and b/doc/salome/gui/GEOM/images/limit_tolerance_dlg.png differ
diff --git a/doc/salome/gui/GEOM/images/salome-geom-structuralelements.png b/doc/salome/gui/GEOM/images/salome-geom-structuralelements.png
new file mode 100644 (file)
index 0000000..6ed41b1
Binary files /dev/null and b/doc/salome/gui/GEOM/images/salome-geom-structuralelements.png differ
diff --git a/doc/salome/gui/GEOM/input/geompypkg.doc b/doc/salome/gui/GEOM/input/geompypkg.doc
new file mode 100644 (file)
index 0000000..bd50795
--- /dev/null
@@ -0,0 +1,44 @@
+/*!
+
+\page geompypkg_page Programming Interface of GEOM python package
+
+Sorry, but the documentation is not available yet in doxygen format.
+
+Fortunately, a documentation exists in restructured format and then
+can be generated here using sphinx, in the expectative of the doxygen
+version. This documentation is available <a href="../../tui/GEOM/docutils/index.html">
+here</a>.
+
+Here is a sample generated from the doxygen format:
+
+The GEOM python package essentially contains:
+
+<ul>
+  <li>The visualization of structural elements: a function to create
+  geometrical 3D representations of mechanical models called
+  "structural elements".
+</ul>
+
+For details, you should refer to the complete
+<a href="../../tui/GEOM/docutils/index.html"> documentation of the GEOM
+python packages</a> generated with sphinx from rst text files.
+
+Note that these functions either encapsulate the python programming
+interface of GEOM core (the CORBA or SWIG interfaces for example) or
+extend existing utilities as the ``geompy.py`` module.
+
+The functions are distributed in the python package
+``salome.geom``. For example, the usage of the visualization of
+structural elements can be appreciated with this set of instructions:
+
+\code
+
+   from salome.geom.structelem import TEST_StructuralElement
+   TEST_StructuralElement()
+\endcode
+
+This creates the geometrical objects displayed in the study below:
+
+\image html salome-geom-structuralelements.png "Example of Geometry created from structural elements"
+
+*/
index d28e8c343b3fe16997bcc8b1ca5acbb5713137b9..f612e7108305f448a837d98bfdaf72caf544a3c6 100644 (file)
@@ -23,6 +23,9 @@ various algorithms;</li>
 Almost all geometry module functionalities are accessible via
 \subpage geompy_page "Geometry module Python Interface"
 
+\n Have a look also at the
+<a href="../../gui/GEOM/geompypkg_page.html"> documentation of the GEOM python packages</a>
+
 \image html image3.png "Example of Geometry module usage for engineering tasks"
 
 
diff --git a/doc/salome/gui/GEOM/input/limit_tolerance_operation.doc b/doc/salome/gui/GEOM/input/limit_tolerance_operation.doc
new file mode 100644 (file)
index 0000000..3767c0c
--- /dev/null
@@ -0,0 +1,37 @@
+/*!
+
+\page limit_tolerance_operation_page Limit Tolerance
+
+\n To produce a <b>Limit Tolerance</b> operation in the <b>Main
+   Menu</b> select <b>Repair - > Limit Tolerance</b>.
+
+\image html limit_tolerance_dlg.png
+
+\n <b>Arguments:</b> Name + 1 shape + 1 value (new tolerance).
+
+\n It is possible on all kind of shapes.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n This functionality tries to set new value of tolerance for the
+   given shape. But the final tolerance value depends also on the
+   initial shape topology (regards existing gaps) in order to obtain
+   valid resulting shape.
+
+\n Example of usage:
+<ol>
+<li>Try a partition on objects obj1 and obj2.</li>
+<li>Partition fails.</li>
+<li>Perform Limit Tolerance on objects obj1 and obj2.</li>
+<li>Try again the partition.</li>
+</ol>
+See also \ref tui_limit_tolerance "TUI example".
+
+\n <b>TUI Command:</b> <em>geompy.LimitTolerance(Shape, Tolerance),</em>
+ where \em Shape is a shape with presumably incorrect tolerance, \em
+ Tolerance is a desired value of tolerance.
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_limit_tolerance "Repairing Operations".
+
+*/
index 6661d12f234f6f29348fcdedd2c7487570939854..2b3b31eae18dee72666f5959704436f283d49357 100644 (file)
@@ -37,6 +37,12 @@ the box, see corresponding \ref partition_picture_3 "picture" below).
 \n <b>Advanced option:</b>
    \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
 
+\note Partition is a kind of complex operation, result of it depends
+      on the initial shapes quality. Sometimes, if partition fails,
+      some healing operations could help. Try <b>Shape Processing</b>
+      and <b>Limit Tolerance</b> in such cases. See also \ref
+      tui_limit_tolerance "TUI example" of shape healing.
+
 \n <b>TUI Command:</b> <em>geompy.MakePartition(ListOfShapes,
 ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
 ListOfMaterials, KeepNonlimitShapes),</em> where where \em
index 542f5c25e159b14b7005cffd7f2afc09263e2b7a..592c1b65346ae1a7df5fdc20c76b8e19c7ad1cb2 100644 (file)
@@ -17,6 +17,8 @@ holes with free boundaries on a selected face.</li>
 <li>\subpage sewing_operation_page "Sewing" - sews faces or shells.</li>
 <li>\subpage glue_faces_operation_page "Glue faces" - unites
 coincident faces within the given tolerance.</li>
+<li>\subpage limit_tolerance_operation_page "Limit Tolerance" - tries
+to set new tolerance value for the given shape.</li>
 <li>\subpage add_point_on_edge_operation_page "Add point on edge" -
 splits an edge in two.</li>
 <li>\subpage change_orientation_operation_page "Change orientation" -
index b10f35c6e198fdd1b48becaedc742735227d8596..7d7c9a406715a6340cc8e6ae3ae75bb731cced66 100644 (file)
@@ -3,7 +3,7 @@
 \page shape_processing_operation_page Shape Processing
 
 \n To produce a <b>Shape Processing</b> operation in the <b>Main Menu</b> 
-select <b>Repair - > Shape Processing</b>.
+   select <b>Repair - > Shape Processing</b>.
 \n This operation processes one or more shapes using various operators.
 
 \n The \b Result will be a \b GEOM_Object.
@@ -15,6 +15,19 @@ is a list of operators ("FixShape", "SplitClosedFaces", etc.),
 etc), \em Values is a list of values of parameters placed in the same
 order as in the list of Parameters.
 
+\note <b>Shape Processing</b> is usefull not only on invalid shapes,
+      but sometimes also on shapes, that are classified as valid by
+      the <b>Check</b> functionality. Use it, if some operation (for
+      example, <b>Partition</b>) fails.
+      Example of usage:
+      <ol>
+      <li>Try a partition on objects obj1 and obj2.</li>
+      <li>Partition fails.</li>
+      <li>Perform Shape Processing on objects obj1 and obj2.</li>
+      <li>Try again the partition.</li>
+      </ol>
+      See also \ref tui_limit_tolerance "TUI example".
+
 \n In this dialog box you can select the object that you need to
 process, define its name and operators applied to it during
 processing.
index 98dccc6f0e461a89ec71474eec60a5a5c5e03240..24723403783319e407f03b5347739e2b0fe873e6 100644 (file)
@@ -289,6 +289,43 @@ gg.createAndDisplayGO(id_glue)
 gg.setDisplayMode(id_glue,1) 
 \endcode
 
+\anchor tui_limit_tolerance
+<br><h2>Limit Tolerance</h2>
+
+\code
+import geompy
+gg = salome.ImportComponentGUI("GEOM")
+
+# import initial topology
+shape1 = geompy.ImportBREP("my_shape_1.brep")
+shape2 = geompy.ImportBREP("my_shape_2.brep")
+
+geompy.addToStudy(shape1, "Shape 1")
+geompy.addToStudy(shape2, "Shape 2")
+
+# perform partition
+try:
+    part = geompy.MakePartition([shape1, shape2])
+except:
+    # limit tolerance
+    tolerance = 1e-07
+    shape1_lt = geompy.LimitTolerance(shape1, tolerance)
+    shape2_lt = geompy.LimitTolerance(shape2, tolerance)
+
+    # process shape
+    good_shape1 = geompy.ProcessShape(shape1_lt, ["FixShape"], ["FixShape.Tolerance3d"], ["1e-7"])
+    good_shape2 = geompy.ProcessShape(shape2_lt, ["FixShape"], ["FixShape.Tolerance3d"], ["1e-7"])
+
+    geompy.addToStudy(good_shape1, "Shape 1 corrected")
+    geompy.addToStudy(good_shape2, "Shape 2 corrected")
+
+    # perform partition on corrected shapes
+    part = geompy.MakePartition([good_shape1, good_shape2])
+    pass
+
+geompy.addToStudy(part, "Partition")
+\endcode
+
 \anchor tui_add_point_on_edge
 <br><h2>Add Point on Edge</h2>
 
index 443326feaf08f8ec8bacb07295b968903ea4c739..e2c6d43b4f00d17f2242a361eca5c7e8a874fdb4 100644 (file)
 \anchor swig_GetPoint
 \until blocksComp (-50, -50, -50)
 
+\anchor swig_GetVertexNearPoint
+\until near (40,  40,  40)
+
+\anchor swig_GetEdge
+\until by two points
+
 \anchor swig_GetEdgeNearPoint
 \until edge near point
 
 \anchor swig_GetBlockByParts
 \until "b0 image"
 
+\anchor swig_GetShapesNearPoint
+\until "faces near point"
+
 \anchor swig_GetShapesOnPlane
 \until Face on Plane
 
index 164969e51be1c3a7fa9ea0d4a195abf89ac735b9..94321f4d9f7660f17e1036764fdf214946e22ccd 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-
 //  File   : GEOM_Gen.idl
 //  Author : Sergey RUIN
-//
+
 #ifndef __GEOM_GEN__
 #define __GEOM_GEN__
 
@@ -45,13 +44,13 @@ module GEOM
    * Marker type
    */
   enum marker_type { MT_NONE, MT_POINT, MT_PLUS, MT_STAR, MT_O, MT_X, MT_O_POINT, MT_O_PLUS,
-                    MT_O_STAR, MT_O_X, MT_BALL, MT_RING1, MT_RING2, MT_RING3, MT_USER };
+                     MT_O_STAR, MT_O_X, MT_BALL, MT_RING1, MT_RING2, MT_RING3, MT_USER };
 
   /*!
    * Marker size
    */
   enum marker_size { MS_NONE, MS_10, MS_15, MS_20, MS_25, MS_30, MS_35,
-                    MS_40, MS_45, MS_50, MS_55, MS_60, MS_65, MS_70 };
+                     MS_40, MS_45, MS_50, MS_55, MS_60, MS_65, MS_70 };
 
   /*!
    *  State of shape relatively geometrical surface like plane, sphere or cylinder.
@@ -166,10 +165,10 @@ module GEOM
      *  Get a <VAR>shape_type</VAR> of the object value.
      */
     shape_type GetShapeType();
-    
+
     /*!
      *  Get the topology type of the object value.
-     *  In contrast to the shape type, this function returns type of the most 
+     *  In contrast to the shape type, this function returns type of the most
      *  top-level sub-shape of the COMPOUND or COMPSOLID, if there is only one
      *  sub-shape there.
      *  \sa GetShapeType()
@@ -385,7 +384,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created point.
      */
     GEOM_Object MakePointWithReference (in GEOM_Object theReference,
-                                       in double theX, in double theY, in double theZ);
+                                        in double theX, in double theY, in double theZ);
 
     /*!
      *  Create a point, corresponding to the given parameter on the given curve.
@@ -394,7 +393,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created point.
      */
     GEOM_Object MakePointOnCurve (in GEOM_Object theRefCurve,
-                                 in double theParameter);
+                                  in double theParameter);
 
     /*!
      *  Create a point on the given curve, projecting given point
@@ -418,8 +417,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created point.
      */
     GEOM_Object MakePointOnSurface (in GEOM_Object theRefSurf,
-                                   in double theUParameter,
-                                   in double theVParameter);
+                                    in double theUParameter,
+                                    in double theVParameter);
 
     /*!
      *  Create a point on the given surface, projecting given point
@@ -441,7 +440,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created point.
      */
     GEOM_Object MakePointOnLinesIntersection (in GEOM_Object theRefLine1,
-                                             in GEOM_Object theRefLine2);
+                                              in GEOM_Object theRefLine2);
 
      /*!
      *  Create a vector, corresponding to tangent to the given parameter on the given curve.
@@ -452,7 +451,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created point.
      */
      GEOM_Object MakeTangentOnCurve (in GEOM_Object theRefCurve,
-                                    in double theParameter);
+                                     in double theParameter);
 
     /*!
      *  Create a vector with the given components.
@@ -462,8 +461,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created vector.
      */
     GEOM_Object MakeVectorDXDYDZ (in double theDX,
-                                 in double theDY,
-                                 in double theDZ);
+                                  in double theDY,
+                                  in double theDZ);
 
     /*!
      *  Create a vector between two points.
@@ -507,9 +506,9 @@ module GEOM
      *  \return New GEOM_Object, containing the created plane.
      */
     GEOM_Object MakePlaneThreePnt (in GEOM_Object thePnt1,
-                                  in GEOM_Object thePnt2,
-                                  in GEOM_Object thePnt3,
-                                  in double theTrimSize);
+                                   in GEOM_Object thePnt2,
+                                   in GEOM_Object thePnt3,
+                                   in double theTrimSize);
 
     /*!
      *  Create a plane, passing through the given point
@@ -520,8 +519,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created plane.
      */
     GEOM_Object MakePlanePntVec (in GEOM_Object thePnt,
-                                in GEOM_Object theVec,
-                                in double theTrimSize);
+                                 in GEOM_Object theVec,
+                                 in double theTrimSize);
 
     /*!
      *  Create a plane, similar to the existing one, but with another size of representing face.
@@ -530,7 +529,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created plane.
      */
     GEOM_Object MakePlaneFace (in GEOM_Object theFace,
-                              in double theTrimSize);
+                               in double theTrimSize);
 
     /*!
      *  Create a plane, by two vectors.
@@ -540,8 +539,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created plane.
      */
     GEOM_Object MakePlane2Vec (in GEOM_Object theVec1,
-                              in GEOM_Object theVec2,
-                              in double theTrimSize);
+                               in GEOM_Object theVec2,
+                               in double theTrimSize);
 
     /*!
      *  Create a plane, defined by local coordinate system.
@@ -551,8 +550,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created plane.
      */
     GEOM_Object MakePlaneLCS (in GEOM_Object theLCS,
-                             in double theTrimSize,
-                             in double theOrientation);
+                              in double theTrimSize,
+                              in double theOrientation);
 
     /*!
      *  Create a local coordinate system.
@@ -562,8 +561,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created coordinate system.
      */
     GEOM_Object MakeMarker (in double theOX , in double theOY , in double theOZ,
-                           in double theXDX, in double theXDY, in double theXDZ,
-                           in double theYDX, in double theYDY, in double theYDZ);
+                            in double theXDX, in double theXDY, in double theXDZ,
+                            in double theYDX, in double theYDY, in double theYDZ);
 
     /*!
      *  Create a local coordinate system from shape.
@@ -571,7 +570,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created coordinate system.
      */
     GEOM_Object MakeMarkerFromShape (in GEOM_Object theShape);
-   
+
     /*!
      *  Create a local coordinate system from point and two vectors (DX, DY).
      *  \param theOrigin Point of coordinate system origin.
@@ -580,7 +579,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created coordinate system.
      */
     GEOM_Object MakeMarkerPntTwoVec (in GEOM_Object theOrigin, in GEOM_Object theXVec, in GEOM_Object theYVec);
-       
+
     /*!
      *  Create a tangent plane to specified face in the point with specified parameters.
      *  Values of parameters should be between 0. and 1.0
@@ -591,9 +590,9 @@ module GEOM
      *  \return New GEOM_Object, containing the face built on tangent plane.
      */
     GEOM_Object MakeTangentPlaneOnFace(in GEOM_Object theFace,
-                                      in double theParameterU,
-                                      in double theParameterV,
-                                      in double theTrimSize);
+                                       in double theParameterU,
+                                       in double theParameterV,
+                                       in double theTrimSize);
   };
 
   interface GEOM_ITransformOperations : GEOM_IOperations
@@ -606,8 +605,8 @@ module GEOM
      *  \return theObject.
      */
     GEOM_Object TranslateTwoPoints (in GEOM_Object theObject,
-                                   in GEOM_Object thePoint1,
-                                   in GEOM_Object thePoint2);
+                                    in GEOM_Object thePoint1,
+                                    in GEOM_Object thePoint2);
 
     /*!
      *  Translate the given object along the vector, specified
@@ -618,7 +617,7 @@ module GEOM
      *  \return New GEOM_Object, containing the translated object.
      */
     GEOM_Object TranslateTwoPointsCopy (in GEOM_Object theObject,
-                                       in GEOM_Object thePoint1,
+                                        in GEOM_Object thePoint1,
                                         in GEOM_Object thePoint2);
 
     /*!
@@ -628,7 +627,7 @@ module GEOM
      *  \return theObject.
      */
     GEOM_Object TranslateDXDYDZ (in GEOM_Object theObject,
-                                in double theDX, in double theDY, in double theDZ);
+                                 in double theDX, in double theDY, in double theDZ);
 
     /*!
      *  Translate the given object along the vector, specified
@@ -638,7 +637,7 @@ module GEOM
      *  \return New GEOM_Object, containing the translated object.
      */
     GEOM_Object TranslateDXDYDZCopy (in GEOM_Object theObject,
-                                    in double theDX, in double theDY, in double theDZ);
+                                     in double theDX, in double theDY, in double theDZ);
 
 
     /*!
@@ -648,7 +647,7 @@ module GEOM
      *  \return theObject.
      */
     GEOM_Object TranslateVector (in GEOM_Object theObject,
-                                in GEOM_Object theVector);
+                                 in GEOM_Object theVector);
 
     /*!
      *  Translate the given object along the given vector,
@@ -658,7 +657,7 @@ module GEOM
      *  \return New GEOM_Object, containing the translated object.
      */
     GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
-                                    in GEOM_Object theVector);
+                                     in GEOM_Object theVector);
 
     /*!
      *  Translate the given object along the given vector on given distance,
@@ -670,9 +669,9 @@ module GEOM
      *  \return New GEOM_Object, containing the translated object.
      */
     GEOM_Object TranslateVectorDistance (in GEOM_Object theObject,
-                                        in GEOM_Object theVector,
-                                        in double      theDistance,
-                                        in boolean     theCopy);
+                                         in GEOM_Object theVector,
+                                         in double      theDistance,
+                                         in boolean     theCopy);
 
     /*!
      *  Translate the given object along the given vector a given number times
@@ -684,9 +683,9 @@ module GEOM
      *          the shapes, obtained after each translation.
      */
     GEOM_Object MultiTranslate1D (in GEOM_Object theObject,
-                                 in GEOM_Object theVector,
-                                 in double theStep,
-                                 in long theNbTimes);
+                                  in GEOM_Object theVector,
+                                  in double theStep,
+                                  in long theNbTimes);
 
     /*!
      *  Conseqently apply two specified translations to theObject specified number of times.
@@ -701,12 +700,12 @@ module GEOM
      *          the shapes, obtained after each translation.
      */
     GEOM_Object MultiTranslate2D (in GEOM_Object theObject,
-                                 in GEOM_Object theVector1,
-                                 in double theStep1,
-                                 in long theNbTimes1,
-                                 in GEOM_Object theVector2,
-                                 in double theStep2,
-                                 in long theNbTimes2);
+                                  in GEOM_Object theVector1,
+                                  in double theStep1,
+                                  in long theNbTimes1,
+                                  in GEOM_Object theVector2,
+                                  in double theStep2,
+                                  in long theNbTimes2);
 
     /*!
      *  Rotate given object around vector perpendicular to plane containing three points.
@@ -717,9 +716,9 @@ module GEOM
      *  \return theObject.
      */
     GEOM_Object RotateThreePoints (in GEOM_Object theObject,
-                                  in GEOM_Object theCentPoint,
-                                  in GEOM_Object thePoint1,
-                                  in GEOM_Object thePoint2);
+                                   in GEOM_Object theCentPoint,
+                                   in GEOM_Object thePoint1,
+                                   in GEOM_Object thePoint2);
 
 
     /*!
@@ -732,9 +731,9 @@ module GEOM
      *  \return New GEOM_Object, containing the rotated object.
      */
     GEOM_Object RotateThreePointsCopy (in GEOM_Object theObject,
-                                      in GEOM_Object theCentPoint,
-                                      in GEOM_Object thePoint1,
-                                      in GEOM_Object thePoint2);
+                                       in GEOM_Object theCentPoint,
+                                       in GEOM_Object thePoint1,
+                                       in GEOM_Object thePoint2);
 
     /*!
      *  Rotate the given object around the given axis on the given angle.
@@ -744,8 +743,8 @@ module GEOM
      *  \return theObject.
      */
     GEOM_Object Rotate (in GEOM_Object theObject,
-                       in GEOM_Object theAxis,
-                       in double theAngle);
+                        in GEOM_Object theAxis,
+                        in double theAngle);
 
 
     /*!
@@ -757,8 +756,8 @@ module GEOM
      *  \return New GEOM_Object, containing the rotated object.
      */
     GEOM_Object RotateCopy (in GEOM_Object theObject,
-                           in GEOM_Object theAxis,
-                           in double theAngle);
+                            in GEOM_Object theAxis,
+                            in double theAngle);
 
 
     /*!
@@ -771,8 +770,8 @@ module GEOM
      *          shapes, obtained after each rotation.
      */
     GEOM_Object MultiRotate1D (in GEOM_Object theObject,
-                              in GEOM_Object theAxis,
-                              in long theNbTimes);
+                               in GEOM_Object theAxis,
+                               in long theNbTimes);
 
     /*!
      *  Rotate the given object around the
@@ -790,11 +789,11 @@ module GEOM
      *          shapes, obtained after each transformation.
      */
     GEOM_Object MultiRotate2D (in GEOM_Object theObject,
-                              in GEOM_Object theAxis,
-                              in double theAngle,
-                              in long theNbTimes1,
-                              in double theStep,
-                              in long theNbTimes2);
+                               in GEOM_Object theAxis,
+                               in double theAngle,
+                               in long theNbTimes1,
+                               in double theStep,
+                               in long theNbTimes2);
 
     /*!
      *  Replace the given object by an object,
@@ -871,7 +870,7 @@ module GEOM
      *  \return theObject.
      */
     GEOM_Object ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint,
-                           in double theFactor);
+                            in double theFactor);
 
     /*!
      *  Scale the given object by the factor, creating its copy before the scaling.
@@ -881,7 +880,7 @@ module GEOM
      *  \return New GEOM_Object, containing the scaled shape.
      */
     GEOM_Object ScaleShapeCopy (in GEOM_Object theObject, in GEOM_Object thePoint,
-                               in double theFactor);
+                                in double theFactor);
 
     /*!
      *  Scale the given object by different factors along coordinate axes.
@@ -922,8 +921,8 @@ module GEOM
      *  \return theObject.
      */
     GEOM_Object PositionShape (in GEOM_Object theObject,
-                              in GEOM_Object theStartLCS,
-                              in GEOM_Object theEndLCS);
+                               in GEOM_Object theStartLCS,
+                               in GEOM_Object theEndLCS);
 
     /*!
      *  Modify the Location of the given object by LCS,
@@ -938,24 +937,24 @@ module GEOM
      *  \return New GEOM_Object, containing the displaced shape.
      */
     GEOM_Object PositionShapeCopy (in GEOM_Object theObject,
-                                  in GEOM_Object theStartLCS,
-                                  in GEOM_Object theEndLCS);
+                                   in GEOM_Object theStartLCS,
+                                   in GEOM_Object theEndLCS);
 
     /*!
      *  Modify the Location of the given object by Path,
      *  \param  theObject The object to be displaced.
      *  \param  thePath Wire or Edge along that the object will be translated.
-     * \param  theDistance progress of Path (0 = actual location, 1 = end of path location).
-     * \param  theCopy is a true or false parameter. true is to create a copy, false to move the object.
-     * \param  theCopy is a true or false parameter. true is to reverse direction, false is to move normal direction.
+     *        \param  theDistance progress of Path (0 = actual location, 1 = end of path location).
+     *        \param  theCopy is a true or false parameter. true is to create a copy, false to move the object.
+     *        \param  theCopy is a true or false parameter. true is to reverse direction, false is to move normal direction.
      *  \return New GEOM_Object, containing the displaced shape.
      */
 
     GEOM_Object PositionAlongPath (in GEOM_Object theObject,
-                                  in GEOM_Object thePath,
-                                  in double theDistance,
-                                  in boolean theCopy,
-                                  in boolean theReverse);
+                                   in GEOM_Object thePath,
+                                   in double theDistance,
+                                   in boolean theCopy,
+                                   in boolean theReverse);
 
     /*!
      *  Recompute the shape from its arguments.
@@ -1019,16 +1018,16 @@ module GEOM
      *  \return New GEOM_Object, containing the created disk.
      */
     GEOM_Object MakeDiskPntVecR (in GEOM_Object thePnt,
-                                in GEOM_Object theVec,
-                                in double theR);
+                                 in GEOM_Object theVec,
+                                 in double theR);
     /*!
      *  Create a disk (circular face), passing through three given points
      *  \param thePnt1, thePnt2, thePnt3 Points, defining the disk.
      *  \return New GEOM_Object, containing the created disk.
      */
     GEOM_Object MakeDiskThreePnt (in GEOM_Object thePnt1,
-                                 in GEOM_Object thePnt2,
-                                 in GEOM_Object thePnt3);
+                                  in GEOM_Object thePnt2,
+                                  in GEOM_Object thePnt3);
 
     /*!
      *  Create a disk specified dimensions along OX-OY coordinate axes,
@@ -1058,9 +1057,9 @@ module GEOM
      *  \return New GEOM_Object, containing the created cylinder.
      */
     GEOM_Object MakeCylinderPntVecRH (in GEOM_Object thePnt,
-                                     in GEOM_Object theAxis,
-                                     in double      theR,
-                                     in double      theH);
+                                      in GEOM_Object theAxis,
+                                      in double      theR,
+                                      in double      theH);
 
     /*!
      *  Create a cone with given height and radiuses at
@@ -1087,10 +1086,10 @@ module GEOM
      *  \return New GEOM_Object, containing the created cone.
      */
     GEOM_Object MakeConePntVecR1R2H (in GEOM_Object thePnt,
-                                    in GEOM_Object theAxis,
-                                    in double      theR1,
-                                    in double      theR2,
-                                    in double      theH);
+                                     in GEOM_Object theAxis,
+                                     in double      theR1,
+                                     in double      theR2,
+                                     in double      theH);
 
     /*!
      *  Create a torus with given radiuses at the origin of coordinate system.
@@ -1099,7 +1098,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created torus.
      */
     GEOM_Object MakeTorusRR (in double theRMajor,
-                            in double theRMinor);
+                             in double theRMinor);
 
     /*!
      *  Create a torus with given center, normal vector and radiuses.
@@ -1110,9 +1109,9 @@ module GEOM
      *  \return New GEOM_Object, containing the created torus.
      */
     GEOM_Object MakeTorusPntVecRR (in GEOM_Object thePnt,
-                                  in GEOM_Object theVec,
-                                  in double theRMajor,
-                                  in double theRMinor);
+                                   in GEOM_Object theVec,
+                                   in double theRMajor,
+                                   in double theRMinor);
 
     /*!
      *  Create a sphere with given radius at the origin of coordinate system.
@@ -1139,12 +1138,12 @@ module GEOM
      *  \return New GEOM_Object, containing the created prism.
      */
     GEOM_Object MakePrismVecH (in GEOM_Object theBase,
-                              in GEOM_Object theVec,
-                              in double      theH);
+                               in GEOM_Object theVec,
+                               in double      theH);
     /*  The Same Prism but in 2 directions (forward&backward) */
     GEOM_Object MakePrismVecH2Ways (in GEOM_Object theBase,
-                                   in GEOM_Object theVec,
-                                   in double      theH);
+                                    in GEOM_Object theVec,
+                                    in double      theH);
 
     /*!
      *  Create a shape by extrusion of the base shape along a vector, defined by two points.
@@ -1154,12 +1153,12 @@ module GEOM
      *  \return New GEOM_Object, containing the created prism.
      */
     GEOM_Object MakePrismTwoPnt (in GEOM_Object theBase,
-                                in GEOM_Object thePoint1,
-                                in GEOM_Object thePoint2);
+                                 in GEOM_Object thePoint1,
+                                 in GEOM_Object thePoint2);
     /*  The same prism but in two directions forward&backward */
     GEOM_Object MakePrismTwoPnt2Ways (in GEOM_Object theBase,
-                                     in GEOM_Object thePoint1,
-                                     in GEOM_Object thePoint2);
+                                      in GEOM_Object thePoint1,
+                                      in GEOM_Object thePoint2);
 
     /*!
      *  Create a shape by extrusion of the base shape along a vector, defined by DX DY DZ.
@@ -1168,7 +1167,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created prism.
      */
     GEOM_Object MakePrismDXDYDZ (in GEOM_Object theBase,
-                                in double theDX, in double theDY, in double theDZ);
+                                   in double theDX, in double theDY, in double theDZ);
     /*  The same prism but in two directions forward&backward */
     GEOM_Object MakePrismDXDYDZ2Ways (in GEOM_Object theBase,
                                       in double theDX, in double theDY, in double theDZ);
@@ -1192,12 +1191,12 @@ module GEOM
      *  \return New GEOM_Object, containing the created revolution.
      */
     GEOM_Object MakeRevolutionAxisAngle (in GEOM_Object theBase,
-                                        in GEOM_Object theAxis,
-                                        in double theAngle);
+                                         in GEOM_Object theAxis,
+                                         in double theAngle);
     /*  The Same Revolution but in both ways forward&backward */
     GEOM_Object MakeRevolutionAxisAngle2Ways (in GEOM_Object theBase,
-                                             in GEOM_Object theAxis,
-                                             in double theAngle);
+                                              in GEOM_Object theAxis,
+                                              in double theAngle);
 
     /*!
      *  Create a filling from the given compound of contours.
@@ -1210,9 +1209,9 @@ module GEOM
      *  \return New GEOM_Object, containing the created filling surface.
      */
     GEOM_Object MakeFilling (in GEOM_Object theShape,
-                            in long theMinDeg, in long theMaxDeg,
-                            in double theTol2D, in double theTol3D,
-                            in long theNbIter,
+                             in long theMinDeg, in long theMaxDeg,
+                             in double theTol2D, in double theTol3D,
+                             in long theNbIter,
                              in filling_oper_method theMethod,
                              in boolean theApprox);
 
@@ -1225,8 +1224,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created shell or solid.
      */
     GEOM_Object MakeThruSections(in ListOfGO theSeqSections,
-                                in boolean theModeSolid,
-                                in double thePreci,
+                                 in boolean theModeSolid,
+                                 in double thePreci,
                                  in boolean theRuled);
 
       /*!
@@ -1241,14 +1240,14 @@ module GEOM
      *  \param theWithContact - the mode defining that the section is translated to be in
      *                          contact with the spine.
      *  \param - WithCorrection - defining that the section is rotated to be
-     *                          orthogonal to the spine tangent in the correspondent point
+     *                                 orthogonal to the spine tangent in the correspondent point
      *  \return New GEOM_Object, containing the created pipe.
      */
     GEOM_Object MakePipeWithDifferentSections (in ListOfGO theSeqBases,
-                                              in ListOfGO theLocations,
-                                              in GEOM_Object thePath,
-                                              in boolean theWithContact ,
-                                              in boolean theWithCorrection );
+                                               in ListOfGO theLocations,
+                                               in GEOM_Object thePath,
+                                               in boolean theWithContact ,
+                                               in boolean theWithCorrection );
 
     /*!
      *  Create a shape by extrusion of the profile shape along
@@ -1263,15 +1262,15 @@ module GEOM
      *  \param theWithContact - the mode defining that the section is translated to be in
      *                          contact with the spine.
      *  \param - WithCorrection - defining that the section is rotated to be
-     *                          orthogonal to the spine tangent in the correspondent point
+     *                                 orthogonal to the spine tangent in the correspondent point
      *  \return New GEOM_Object, containing the created pipe.
      */
     GEOM_Object MakePipeWithShellSections (in ListOfGO theSeqBases,
-                                          in ListOfGO theSeqSubBases,
-                                          in ListOfGO theLocations,
-                                          in GEOM_Object thePath,
-                                          in boolean theWithContact ,
-                                          in boolean theWithCorrection );
+                                           in ListOfGO theSeqSubBases,
+                                           in ListOfGO theLocations,
+                                           in GEOM_Object thePath,
+                                           in boolean theWithContact ,
+                                           in boolean theWithCorrection );
 
     /*!
      * Create solids between given sections
@@ -1280,7 +1279,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created solids.
      */
     GEOM_Object MakePipeShellsWithoutPath (in ListOfGO theSeqBases,
-                                          in ListOfGO theLocations);
+                                           in ListOfGO theLocations);
 
     /*!
      *  Create a shape by extrusion of the base shape along
@@ -1294,8 +1293,8 @@ module GEOM
      *  \return New GEOM_Object, containing the created pipe.
      */
     GEOM_Object MakePipeBiNormalAlongVector (in GEOM_Object theBase,
-                                            in GEOM_Object thePath,
-                                            in GEOM_Object theVec);
+                                             in GEOM_Object thePath,
+                                             in GEOM_Object theVec);
 
   };
 
@@ -1397,7 +1396,18 @@ module GEOM
      *  \return New GEOM_Object, containing a copy of theShape without some faces.
      */
     GEOM_Object MakeGlueFacesByList (in GEOM_Object theShape, in double theTolerance,
-                                    in ListOfGO theFaces, in boolean doKeepNonSolids);
+                                     in ListOfGO theFaces, in boolean doKeepNonSolids);
+
+    /*!
+     *  Get all sub-shapes and groups of \a theShape,
+     *  that were created already by any other methods.
+     *  \param theShape Any shape.
+     *  \param theGroupsOnly If this parameter is TRUE, only groups will be
+     *                       returned, else all found sub-shapes and groups.
+     *  \return List of existing sub-objects of \a theShape.
+     */
+    ListOfGO GetExistingSubObjects (in GEOM_Object theShape,
+                                    in boolean     theGroupsOnly);
 
     /*!
      *  Explode a shape on subshapes of a given type.
@@ -1408,8 +1418,8 @@ module GEOM
      *  \return List of sub-shapes of type theShapeType, contained in theShape.
      */
     ListOfGO MakeExplode (in GEOM_Object theShape,
-                         in long        theShapeType,
-                         in boolean     isSorted);
+                          in long        theShapeType,
+                          in boolean     isSorted);
 
     /*!
      *  Explode a shape on subshapes of a given type.
@@ -1422,8 +1432,8 @@ module GEOM
      *  \return List of IDs of sub-shapes of type theShapeType, contained in theShape.
      */
     ListOfLong SubShapeAllIDs (in GEOM_Object theShape,
-                              in long        theShapeType,
-                              in boolean     isSorted);
+                               in long        theShapeType,
+                               in boolean     isSorted);
 
     /*!
      *  Get a sub shape defined by its unique ID inside \a theMainShape
@@ -1431,7 +1441,7 @@ module GEOM
      *        Don't try to apply modification operations on them.
      */
     GEOM_Object GetSubShape (in GEOM_Object theMainShape,
-                            in long        theID);
+                             in long        theID);
 
     /*!
      *  Get global index of \a theSubShape in \a theMainShape.
@@ -1508,8 +1518,8 @@ module GEOM
      *  \return List of sub-shapes of theShape1, shared with theShape2.
      */
     ListOfGO GetSharedShapes (in GEOM_Object theShape1,
-                             in GEOM_Object theShape2,
-                             in long        theShapeType);
+                              in GEOM_Object theShape2,
+                              in long        theShapeType);
 
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
@@ -1522,9 +1532,9 @@ module GEOM
      *  \return List of all found sub-shapes.
      */
     ListOfGO GetShapesOnPlane (in GEOM_Object theShape,
-                              in long        theShapeType,
-                              in GEOM_Object theAx1,
-                              in shape_state theState);
+                               in long        theShapeType,
+                               in GEOM_Object theAx1,
+                               in shape_state theState);
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
      *  the specified plane by the certain way, defined through \a theState parameter.
@@ -1537,10 +1547,10 @@ module GEOM
      *  \return List of all found sub-shapes.
      */
     ListOfGO GetShapesOnPlaneWithLocation (in GEOM_Object theShape,
-                                          in long        theShapeType,
-                                          in GEOM_Object theAx1,
-                                          in GEOM_Object thePnt,
-                                          in shape_state theState);
+                                           in long        theShapeType,
+                                           in GEOM_Object theAx1,
+                                           in GEOM_Object thePnt,
+                                           in shape_state theState);
 
 
 
@@ -1556,10 +1566,10 @@ module GEOM
      *  \return List of all found sub-shapes.
      */
     ListOfGO GetShapesOnCylinder (in GEOM_Object theShape,
-                                 in long        theShapeType,
-                                 in GEOM_Object theAxis,
-                                 in double      theRadius,
-                                 in shape_state theState);
+                                  in long        theShapeType,
+                                  in GEOM_Object theAxis,
+                                  in double      theRadius,
+                                  in shape_state theState);
 
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
@@ -1591,10 +1601,10 @@ module GEOM
      *  \return List of all found sub-shapes.
      */
     ListOfGO GetShapesOnSphere (in GEOM_Object theShape,
-                               in long        theShapeType,
-                               in GEOM_Object theCenter,
-                               in double      theRadius,
-                               in shape_state theState);
+                                in long        theShapeType,
+                                in GEOM_Object theCenter,
+                                in double      theRadius,
+                                in shape_state theState);
 
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
@@ -1627,9 +1637,9 @@ module GEOM
      *  \return List of IDs of all found sub-shapes.
      */
     ListOfLong GetShapesOnPlaneIDs (in GEOM_Object theShape,
-                                   in long        theShapeType,
-                                   in GEOM_Object theAx1,
-                                   in shape_state theState);
+                                    in long        theShapeType,
+                                    in GEOM_Object theAx1,
+                                    in shape_state theState);
 
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
@@ -1643,10 +1653,10 @@ module GEOM
      *  \return List of IDs of all found sub-shapes.
      */
     ListOfLong GetShapesOnPlaneWithLocationIDs (in GEOM_Object theShape,
-                                               in long        theShapeType,
-                                               in GEOM_Object theAx1,
-                                               in GEOM_Object thePnt,
-                                               in shape_state theState);
+                                                in long        theShapeType,
+                                                in GEOM_Object theAx1,
+                                                in GEOM_Object thePnt,
+                                                in shape_state theState);
 
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
@@ -1660,10 +1670,10 @@ module GEOM
      *  \return List of IDs of all found sub-shapes.
      */
     ListOfLong GetShapesOnCylinderIDs (in GEOM_Object theShape,
-                                      in long        theShapeType,
-                                      in GEOM_Object theAxis,
-                                      in double      theRadius,
-                                      in shape_state theState);
+                                       in long        theShapeType,
+                                       in GEOM_Object theAxis,
+                                       in double      theRadius,
+                                       in shape_state theState);
 
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
@@ -1695,10 +1705,10 @@ module GEOM
      *  \return List of IDs of all found sub-shapes.
      */
     ListOfLong GetShapesOnSphereIDs (in GEOM_Object theShape,
-                                    in long        theShapeType,
-                                    in GEOM_Object theCenter,
-                                    in double      theRadius,
-                                    in shape_state theState);
+                                     in long        theShapeType,
+                                     in GEOM_Object theCenter,
+                                     in double      theRadius,
+                                     in shape_state theState);
 
     /*!
      *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
@@ -1729,9 +1739,9 @@ module GEOM
      * \return List of IDs of all found sub-shapes.
      */
     ListOfLong GetShapesOnBoxIDs (in GEOM_Object theBox,
-                                 in GEOM_Object theShape,
-                                 in long        theShapeType,
-                                 in shape_state theState);
+                                  in GEOM_Object theShape,
+                                  in long        theShapeType,
+                                  in shape_state theState);
 
     /*!
      * \brief Find subshapes complying with given status
@@ -1742,9 +1752,9 @@ module GEOM
      * \return List of all found sub-shapes.
      */
     ListOfGO GetShapesOnBox (in GEOM_Object theBox,
-                            in GEOM_Object theShape,
-                            in long        theShapeType,
-                            in shape_state theState);
+                             in GEOM_Object theShape,
+                             in long        theShapeType,
+                             in shape_state theState);
 
     /*!
      * \brief Find subshapes complying with given status
@@ -1755,9 +1765,9 @@ module GEOM
      * \return List of IDs of all found sub-shapes.
      */
     ListOfLong GetShapesOnShapeIDs (in GEOM_Object theCheckShape,
-                                   in GEOM_Object theShape,
-                                   in short       theShapeType,
-                                   in shape_state theState);
+                                    in GEOM_Object theShape,
+                                    in short       theShapeType,
+                                    in shape_state theState);
 
     /*!
      * \brief Find subshapes complying with given status
@@ -1768,9 +1778,9 @@ module GEOM
      * \return List of all found sub-shapes.
      */
     ListOfGO GetShapesOnShape (in GEOM_Object theCheckShape,
-                              in GEOM_Object theShape,
-                              in short       theShapeType,
-                              in shape_state theState);
+                               in GEOM_Object theShape,
+                               in short       theShapeType,
+                               in shape_state theState);
 
     /*!
      * \brief Find subshapes complying with given status
@@ -1781,9 +1791,9 @@ module GEOM
      * \return compound includes all found sub-shapes.
      */
     GEOM_Object GetShapesOnShapeAsCompound (in GEOM_Object theCheckShape,
-                                           in GEOM_Object theShape,
-                                           in short       theShapeType,
-                                           in shape_state theState);
+                                            in GEOM_Object theShape,
+                                            in short       theShapeType,
+                                            in shape_state theState);
 
     /*!
      *  Get sub-shape(s) of \a theShapeWhere, which are
@@ -1793,7 +1803,7 @@ module GEOM
      *  \return Group of all found sub-shapes or a single found sub-shape.
      */
     GEOM_Object GetInPlace (in GEOM_Object theShapeWhere,
-                           in GEOM_Object theShapeWhat);
+                            in GEOM_Object theShapeWhat);
 
     /*!
      *  Get sub-shape(s) of \a theShapeWhere, which are
@@ -1810,7 +1820,7 @@ module GEOM
      *  \return Group of all found sub-shapes or a single found sub-shape.
      */
     GEOM_Object GetInPlaceByHistory (in GEOM_Object theShapeWhere,
-                                    in GEOM_Object theShapeWhat);
+                                     in GEOM_Object theShapeWhat);
 
     /*!
      *  Get sub-shape of theShapeWhere, which are
@@ -1820,7 +1830,7 @@ module GEOM
      *  \return found sub-shape.
      */
     GEOM_Object GetSame (in GEOM_Object theShapeWhere,
-                        in GEOM_Object theShapeWhat);
+                                in GEOM_Object theShapeWhat);
   };
 
   /*!
@@ -1841,9 +1851,9 @@ module GEOM
      *  \return New GEOM_Object, containing the created face.
      */
     GEOM_Object MakeQuad (in GEOM_Object theEdge1,
-                         in GEOM_Object theEdge2,
-                         in GEOM_Object theEdge3,
-                         in GEOM_Object theEdge4);
+                          in GEOM_Object theEdge2,
+                          in GEOM_Object theEdge3,
+                          in GEOM_Object theEdge4);
 
     /*!
      *  Create a quadrangle face on two edges.
@@ -1852,7 +1862,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created face.
      */
     GEOM_Object MakeQuad2Edges (in GEOM_Object theEdge1,
-                               in GEOM_Object theEdge2);
+                                in GEOM_Object theEdge2);
 
     /*!
      *  Create a quadrangle face with specified corners.
@@ -1861,9 +1871,9 @@ module GEOM
      *  \return New GEOM_Object, containing the created face.
      */
     GEOM_Object MakeQuad4Vertices (in GEOM_Object thePnt1,
-                                  in GEOM_Object thePnt2,
-                                  in GEOM_Object thePnt3,
-                                  in GEOM_Object thePnt4);
+                                   in GEOM_Object thePnt2,
+                                   in GEOM_Object thePnt3,
+                                   in GEOM_Object thePnt4);
 
     /*!
      *  Create a hexahedral solid, bounded by the six given faces. Order of
@@ -1872,11 +1882,11 @@ module GEOM
      *  \return New GEOM_Object, containing the created solid.
      */
     GEOM_Object MakeHexa (in GEOM_Object theFace1,
-                         in GEOM_Object theFace2,
-                         in GEOM_Object theFace3,
-                         in GEOM_Object theFace4,
-                         in GEOM_Object theFace5,
-                         in GEOM_Object theFace6);
+                          in GEOM_Object theFace2,
+                          in GEOM_Object theFace3,
+                          in GEOM_Object theFace4,
+                          in GEOM_Object theFace5,
+                          in GEOM_Object theFace6);
 
     /*!
      *  Create a hexahedral solid between two given faces.
@@ -1885,7 +1895,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created solid.
      */
     GEOM_Object MakeHexa2Faces (in GEOM_Object theFace1,
-                               in GEOM_Object theFace2);
+                                in GEOM_Object theFace2);
 
     /*!
      *  Extract elements of blocks and blocks compounds
@@ -1900,10 +1910,19 @@ module GEOM
      *  \return New GEOM_Object, containing the found vertex.
      */
     GEOM_Object GetPoint (in GEOM_Object theShape,
-                         in double      theX,
-                         in double      theY,
-                         in double      theZ,
-                         in double      theEpsilon);
+                          in double      theX,
+                          in double      theY,
+                          in double      theZ,
+                          in double      theEpsilon);
+
+    /*!
+     *  Find a vertex of the given shape, which has minimal distance to the given point.
+     *  \param theShape Any shape.
+     *  \param thePoint Point, close to the desired vertex.
+     *  \return New GEOM_Object, containing the found vertex.
+     */
+    GEOM_Object GetVertexNearPoint (in GEOM_Object theShape,
+                                    in GEOM_Object thePoint);
 
     /*!
      *  Get an edge, found in the given shape by two given vertices.
@@ -1912,8 +1931,8 @@ module GEOM
      *  \return New GEOM_Object, containing the found edge.
      */
     GEOM_Object GetEdge (in GEOM_Object theShape,
-                        in GEOM_Object thePoint1,
-                        in GEOM_Object thePoint2);
+                         in GEOM_Object thePoint1,
+                         in GEOM_Object thePoint2);
 
     /*!
      *  Find an edge of the given shape, which has minimal distance to the given point.
@@ -1922,7 +1941,7 @@ module GEOM
      *  \return New GEOM_Object, containing the found edge.
      */
     GEOM_Object GetEdgeNearPoint (in GEOM_Object theShape,
-                                 in GEOM_Object thePoint);
+                                  in GEOM_Object thePoint);
 
     /*!
      *  Returns a face, found in the given shape by four given corner vertices.
@@ -1931,10 +1950,10 @@ module GEOM
      *  \return New GEOM_Object, containing the found face.
      */
     GEOM_Object GetFaceByPoints (in GEOM_Object theShape,
-                                in GEOM_Object thePoint1,
-                                in GEOM_Object thePoint2,
-                                in GEOM_Object thePoint3,
-                                in GEOM_Object thePoint4);
+                                 in GEOM_Object thePoint1,
+                                 in GEOM_Object thePoint2,
+                                 in GEOM_Object thePoint3,
+                                 in GEOM_Object thePoint4);
 
     /*!
      *  Get a face of block, found in the given shape by two given edges.
@@ -1943,8 +1962,8 @@ module GEOM
      *  \return New GEOM_Object, containing the found face.
      */
     GEOM_Object GetFaceByEdges (in GEOM_Object theShape,
-                               in GEOM_Object theEdge1,
-                               in GEOM_Object theEdge2);
+                                in GEOM_Object theEdge1,
+                                in GEOM_Object theEdge2);
 
     /*!
      *  Find a face, opposite to the given one in the given block.
@@ -1953,7 +1972,7 @@ module GEOM
      *  \return New GEOM_Object, containing the found face.
      */
     GEOM_Object GetOppositeFace (in GEOM_Object theBlock,
-                                in GEOM_Object theFace);
+                                 in GEOM_Object theFace);
 
     /*!
      *  Find a face of the given shape, which has minimal distance to the given point.
@@ -1962,7 +1981,7 @@ module GEOM
      *  \return New GEOM_Object, containing the found face.
      */
     GEOM_Object GetFaceNearPoint (in GEOM_Object theShape,
-                                 in GEOM_Object thePoint);
+                                  in GEOM_Object thePoint);
 
     /*!
      *  Find a face of block, whose outside normale has minimal angle with the given vector.
@@ -1971,7 +1990,23 @@ module GEOM
      *  \return New GEOM_Object, containing the found face.
      */
     GEOM_Object GetFaceByNormale (in GEOM_Object theBlock,
-                                 in GEOM_Object theVector);
+                                  in GEOM_Object theVector);
+
+    /*!
+     *  Find all subshapes of type \a theShapeType of the given shape,
+     *  which have minimal distance to the given point.
+     *  \param theShape Any shape.
+     *  \param thePoint Point, close to the desired shape.
+     *  \param theShapeType Defines what kind of subshapes is searched.
+     *  \param theTolerance The tolerance for distances comparison. All shapes
+     *                      with distances to the given point in interval
+     *                      [minimal_distance, minimal_distance + theTolerance] will be gathered.
+     *  \return New GEOM_Object, containing a group of all found shapes.
+     */
+    GEOM_Object GetShapesNearPoint (in GEOM_Object theShape,
+                                    in GEOM_Object thePoint,
+                                    in long        theShapeType,
+                                    in double      theTolerance);
 
     /*!
      *  Extract blocks from blocks compounds
@@ -1987,9 +2022,9 @@ module GEOM
      *  \return theNbBlocks Number of specified blocks in theCompound.
      */
     boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
-                               in long        theMinNbFaces,
-                               in long        theMaxNbFaces,
-                               out long       theNbBlocks);
+                                in long        theMinNbFaces,
+                                in long        theMaxNbFaces,
+                                out long       theNbBlocks);
 
     /*!
      *  Enumeration of Blocks Compound defects.
@@ -2040,7 +2075,7 @@ module GEOM
      *  \return theErrors Structure, containing discovered errors and incriminated sub-shapes.
      */
     boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
-                                  out BCErrors   theErrors);
+                                   out BCErrors   theErrors);
 
     /*!
      *  Convert sequence of Blocks Compound errors, returned by
@@ -2050,7 +2085,7 @@ module GEOM
      *  \return String, describing all the errors in form, suitable for printing.
      */
     string PrintBCErrors (in GEOM_Object theCompound,
-                         in BCErrors    theErrors);
+                          in BCErrors    theErrors);
 
     /*!
      *  Remove all seam and degenerated edges from \a theShape.
@@ -2083,8 +2118,8 @@ module GEOM
      *  \return List of GEOM_Objects, containing the retrieved blocks.
      */
     ListOfGO ExplodeCompoundOfBlocks (in GEOM_Object theCompound,
-                                     in long        theMinNbFaces,
-                                     in long        theMaxNbFaces);
+                                      in long        theMinNbFaces,
+                                      in long        theMaxNbFaces);
 
     /*!
      *  Find block, containing the given point inside its volume or on boundary.
@@ -2094,7 +2129,7 @@ module GEOM
      *  \return New GEOM_Object, containing the found block.
      */
     GEOM_Object GetBlockNearPoint (in GEOM_Object theCompound,
-                                  in GEOM_Object thePoint);
+                                   in GEOM_Object thePoint);
 
     /*!
      *  Find block, containing all the elements, passed as the parts, or maximum quantity of them.
@@ -2103,7 +2138,7 @@ module GEOM
      *  \return New GEOM_Object, containing the found block.
      */
     GEOM_Object GetBlockByParts (in GEOM_Object theCompound,
-                                in ListOfGO    theParts);
+                                 in ListOfGO    theParts);
 
     /*!
      *  Return all blocks, containing all the elements, passed as the parts.
@@ -2112,7 +2147,7 @@ module GEOM
      *  \return List of GEOM_Objects, containing the found blocks.
      */
     ListOfGO GetBlocksByParts (in GEOM_Object theCompound,
-                              in ListOfGO    theParts);
+                               in ListOfGO    theParts);
 
     /*!
      *  Operations on blocks with gluing of result
@@ -2130,9 +2165,9 @@ module GEOM
      *  \return New GEOM_Object, containing the result shape.
      */
     GEOM_Object MakeMultiTransformation1D (in GEOM_Object theBlock,
-                                          in long        theDirFace1,
-                                          in long        theDirFace2,
-                                          in long        theNbTimes);
+                                           in long        theDirFace1,
+                                           in long        theDirFace2,
+                                           in long        theNbTimes);
 
     /*!
      *  Multi-transformate block and glue the result.
@@ -2726,6 +2761,14 @@ module GEOM
     GEOM_Object ChangeOrientation (in GEOM_Object theObject);
     GEOM_Object ChangeOrientationCopy (in GEOM_Object theObject);
 
+    /*!
+     *  Try to limit tolerance of the given object by value \a theTolerance.
+     *  \param theObject Shape to be processed.
+     *  \param theTolerance Required tolerance value.
+     *  \return New GEOM_Object, containing processed shape.
+     */
+    GEOM_Object LimitTolerance (in GEOM_Object theObject, in double theTolerance);
+
   };
 
   /*!
@@ -2916,8 +2959,7 @@ module GEOM
      *  \return New GEOM_Object, containing the created point.
      */
     GEOM_Object GetCentreOfMass (in GEOM_Object theShape);
-    
-    
+        
     /*
      *  Get the vertex by index for 1D objects depends the edge/wire orientation
      *  \param theShape Shape (wire or edge) to find the vertex on it
index 3ba2946e012b9f214ae732cbf27bfc964a424feb..f8bc0a9dcf168989eea3910632d529f78177ee81 100644 (file)
@@ -93,6 +93,7 @@ filletface.png                        \
 filling.png                    \
 fuse.png                       \
 geometry.png                   \
+limit_tolerance.png            \
 line.png                       \
 line2points.png                        \
 line2faces.png                 \
diff --git a/resources/limit_tolerance.png b/resources/limit_tolerance.png
new file mode 100644 (file)
index 0000000..35f2080
Binary files /dev/null and b/resources/limit_tolerance.png differ
index ef68dfb54d07a0512f9609b62631f612e7f1bdaf..6fe83b1e450b23126cfc9db582ba99e20725cc16 100644 (file)
@@ -899,9 +899,11 @@ bool BasicGUI_PointDlg::execute( ObjectList& objects )
     if ( GEOMBase::GetShape( anObj, aShape ) && !aShape.IsNull() &&
          aShape.ShapeType() == TopAbs_VERTEX ) {
       gp_Pnt aPnt = BRep_Tool::Pnt( TopoDS::Vertex( aShape ) );
-      myX->setText( QString( "%1" ).arg( aPnt.X() ) );
-      myY->setText( QString( "%1" ).arg( aPnt.Y() ) );
-      myZ->setText( QString( "%1" ).arg( aPnt.Z() ) );
+      SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+      int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 );
+      myX->setText( DlgRef::PrintDoubleValue( aPnt.X(), aPrecision ) );
+      myY->setText( DlgRef::PrintDoubleValue( aPnt.Y(), aPrecision ) );
+      myZ->setText( DlgRef::PrintDoubleValue( aPnt.Z(), aPrecision ) );
     }
     else {
       myX->setText( "" );
index 7d131f0ebae76a33ae69766fdfff701644b70194..d77481e8f77e0f8bd50c095804cb84c361655bee 100644 (file)
@@ -342,6 +342,7 @@ void DisplayGUI::SetDisplayMode( const int mode, SUIT_ViewWindow* viewWindow )
   if ( viewWindow->getViewManager()->getType() == SVTK_Viewer::Type() ) {
     SVTK_View* aView = ((SVTK_ViewWindow*)viewWindow)->getView();
     aView->SetDisplayMode( mode );
+    GeometryGUI::Modified();
   } 
   else if ( viewWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() ) {
     OCCViewer_Viewer* v3d = ((OCCViewer_ViewManager*)(viewWindow->getViewManager()))->getOCCViewer();
@@ -363,6 +364,7 @@ void DisplayGUI::SetDisplayMode( const int mode, SUIT_ViewWindow* viewWindow )
     }
 
     ic->SetDisplayMode( newmode, Standard_False );
+    GeometryGUI::Modified();
   }
 }
 
@@ -413,6 +415,7 @@ void DisplayGUI::SetVectorMode( const bool mode, SUIT_ViewWindow* viewWindow )
         }
       }
     }
+    GeometryGUI::Modified();
   }
   else if ( viewWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() ) {
     viewWindow->setCustomData( "VectorsMode", QVariant( mode ) );
@@ -433,6 +436,7 @@ void DisplayGUI::SetVectorMode( const bool mode, SUIT_ViewWindow* viewWindow )
       }
       ite.Next();
     }
+    GeometryGUI::Modified();
   }
 }
 
@@ -504,6 +508,7 @@ void DisplayGUI::ChangeDisplayMode( const int mode, SUIT_ViewWindow* viewWindow
       }
     }
     aView->Repaint();
+    GeometryGUI::Modified();
   }
   else if ( viewWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() ) {
     OCCViewer_Viewer* v3d = ((OCCViewer_ViewManager*)(viewWindow->getViewManager()))->getOCCViewer();
@@ -534,6 +539,7 @@ void DisplayGUI::ChangeDisplayMode( const int mode, SUIT_ViewWindow* viewWindow
       }
     }
     ic->UpdateCurrentViewer();
+    GeometryGUI::Modified();
   }
 }
 
index d3a0bc5ec6e606f444450299fcc355804a5cde98..9bd1c3fb3da62b1ddfbae1cf33206affa56ed60e 100644 (file)
@@ -781,13 +781,12 @@ QString DlgRef::PrintDoubleValue( double theValue, int thePrecision )
   if ( qAbs(theValue) < prec )
     return "0";
 
-  QString aRes;
-  aRes.setNum( theValue, 'g', thePrecision );
+  QString aRes = QLocale().toString( theValue, thePrecision >= 0 ? 'f' : 'g', qAbs( thePrecision ) );
 
   if ( prec > 0 ) {
     int p = 0;
     while ( p < thePrecision ) {
-      aRes.setNum( theValue, 'g', p++ );
+      QString aRes = QLocale().toString( theValue, thePrecision >= 0 ? 'f' : 'g', qAbs( p++ ) );
       double v = aRes.toDouble();
       double err = qAbs( theValue - v );
       if ( err > 0 && err <= prec )
@@ -796,21 +795,19 @@ QString DlgRef::PrintDoubleValue( double theValue, int thePrecision )
   }
 
   // remove trailing zeroes
-  QString delim( "." );
 
-  int idx = aRes.lastIndexOf( delim );
-  if ( idx == -1 )
-    return aRes;
+  QRegExp expre( QString( "(%1|%2)[+-]?[0-9]+$" ).arg( QLocale().exponential().toLower(), 
+                                                      QLocale().exponential().toUpper() ) );
 
-  QString iPart = aRes.left( idx );
-  QString fPart = aRes.mid( idx + 1 );
-
-  while ( !fPart.isEmpty() && fPart.at( fPart.length() - 1 ) == '0' )
-    fPart.remove( fPart.length() - 1, 1 );
+  int idx = aRes.indexOf( expre );
+  QString aResExp = "";
+  if ( idx >= 0 ) {
+    aResExp = aRes.mid( idx );
+    aRes = aRes.left( idx );
+  }
 
-  aRes = iPart;
-  if ( !fPart.isEmpty() )
-    aRes += delim + fPart;
+  if ( aRes.contains( QLocale().decimalPoint() ) )
+    aRes.remove( QRegExp( QString( "(\\%1|0)0*$" ).arg( QLocale().decimalPoint() ) ) );
 
-  return aRes;
+  return aRes == "-0" ? QString( "0" ) : aRes + aResExp;
 }
index 5de5a1e170f7879ea61db8905f731fd889df0f18..b0ea5a0c2dd3c1ebe149ffba50dc8b63f4cb03ee 100644 (file)
@@ -310,7 +310,7 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape,
                                              Handle(TColStd_HArray1OfInteger) theIndices,
                                              bool isStandaloneOperation)
 {
-  if(theMainShape.IsNull() || theIndices.IsNull()) return NULL;
+  if (theMainShape.IsNull() || theIndices.IsNull()) return NULL;
 
   Handle(TDocStd_Document) aDoc = GetDocument(theMainShape->GetDocID());
   Handle(TDataStd_TreeNode) aRoot = TDataStd_TreeNode::Set(aDoc->Main());
@@ -319,21 +319,6 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape,
   //            if this label has been freed (object deleted)
   bool useExisting = false;
   TDF_Label aChild;
-  /*
-  if (!_lastCleared.IsNull()) {
-    if (_lastCleared.Root() == aDoc->Main().Root()) {
-      useExisting = true;
-      aChild = _lastCleared;
-      // 0020229: if next label exists and is empty, try to reuse it
-      Standard_Integer aNextTag = aChild.Tag() + 1;
-      TDF_Label aNextL = aDoc->Main().FindChild(aNextTag, Standard_False);
-      if (!aNextL.IsNull() && !aNextL.HasAttribute())
-        _lastCleared = aNextL;
-      else
-        _lastCleared.Nullify();
-    }
-  }
-  */
   int aDocID = theMainShape->GetDocID();
   if (_freeLabels.find(aDocID) != _freeLabels.end()) {
     std::list<TDF_Label>& aFreeLabels = _freeLabels[aDocID];
@@ -349,10 +334,10 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape,
   }
 
   Handle(GEOM_Function) aMainShape = theMainShape->GetLastFunction();
-  Handle(GEOM_Object) anObject = new GEOM_Object(aChild, 28); //28 is SUBSHAPE type
+  Handle(GEOM_Object) anObject = new GEOM_Object (aChild, 28); //28 is SUBSHAPE type
   Handle(GEOM_Function) aFunction = anObject->AddFunction(GEOM_Object::GetSubShapeID(), 1);
 
-  GEOM_ISubShape aSSI(aFunction);
+  GEOM_ISubShape aSSI (aFunction);
   aSSI.SetMainShape(aMainShape);
   aSSI.SetIndices(theIndices);
 
@@ -372,11 +357,14 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape,
     return NULL;
   }
 
-  //Put an object in the map of created objects
+  // Put an object in the map of created objects
   TCollection_AsciiString anID = BuildIDFromObject(anObject);
-  if(_objects.IsBound(anID)) _objects.UnBind(anID);
+  if (_objects.IsBound(anID)) _objects.UnBind(anID);
   _objects.Bind(anID, anObject);
 
+  // Put this subshape in the list of subshapes of theMainShape
+  aMainShape->AddSubShapeReference(aFunction);
+
   GEOM::TPythonDump pd (aFunction);
 
   if (isStandaloneOperation) {
@@ -410,9 +398,17 @@ bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject)
   TCollection_AsciiString anID = BuildIDFromObject(theObject);
   if (_objects.IsBound(anID)) _objects.UnBind(anID);
 
+  // If subshape, remove it from the list of subshapes of its main shape
+  if (!theObject->IsMainShape()) {
+    Handle(GEOM_Function) aFunction = theObject->GetFunction(1);
+    GEOM_ISubShape aSSI (aFunction);
+    Handle(GEOM_Function) aMainShape = aSSI.GetMainShape();
+    aMainShape->RemoveSubShapeReference(aFunction);
+  }
+
   int nb = theObject->GetNbFunctions();
   Handle(TDataStd_TreeNode) aNode;
-  for (int i = 1; i<=nb; i++) {
+  for (int i = 1; i <= nb; i++) {
     Handle(GEOM_Function) aFunction = theObject->GetFunction(i);
     if (aFunction->GetEntry().FindAttribute(GEOM_Function::GetFunctionTreeID(), aNode))
       aNode->Remove();
index 3a348fd5e429e71b694da1a1488b5a823e4bef56..46da48dfc0b47a5b23b8dc6819fbf36b85bb7f4e 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #include <Standard_Stream.hxx>
 
@@ -43,6 +42,7 @@
 #include <TDataStd_UAttribute.hxx>
 #include <TDataStd_ChildNodeIterator.hxx>
 #include <TDataStd_ExtStringArray.hxx>
+#include <TDataStd_ExtStringList.hxx>
 #include <TDocStd_Owner.hxx>
 #include <TDocStd_Document.hxx>
 #include <TFunction_Function.hxx>
@@ -64,6 +64,8 @@
 #define RESULT_LABEL 2
 #define DESCRIPTION_LABEL 3
 #define HISTORY_LABEL 4
+#define SUBSHAPES_LABEL 5 // 0020756: GetGroups
+#define NAMING_LABEL 6 // 002020750: Naming during STEP import
 
 #define ARGUMENTS _label.FindChild((ARGUMENT_LABEL))
 #define ARGUMENT(thePosition) _label.FindChild((ARGUMENT_LABEL)).FindChild((thePosition))
@@ -471,8 +473,8 @@ TCollection_AsciiString GEOM_Function::GetString(int thePosition)
 void GEOM_Function::SetReference(int thePosition, Handle(GEOM_Function) theReference)
 {
   _isDone = false;
-  if(thePosition <= 0) return;
-  if(theReference.IsNull()) return;
+  if (thePosition <= 0) return;
+  if (theReference.IsNull()) return;
   TDF_Label anArgLabel = ARGUMENT(thePosition);
   TDF_Reference::Set(anArgLabel, theReference->GetEntry());
   TDataStd_UAttribute::Set(anArgLabel, GetDependencyID());
@@ -670,6 +672,85 @@ void GEOM_Function::GetDependency(TDF_LabelSequence& theSeq)
   }
 }
 
+//=============================================================================
+/*!
+ *  AddSubShapeReference
+ */
+//=============================================================================
+void GEOM_Function::AddSubShapeReference(Handle(GEOM_Function) theSubShape)
+{
+  _isDone = false;
+
+  TDF_Label aSubShapesLabel = _label.FindChild(SUBSHAPES_LABEL);
+
+  Handle(TDataStd_ExtStringList) aList;
+  if (!aSubShapesLabel.FindAttribute(TDataStd_ExtStringList::GetID(), aList)) {
+    aList = new TDataStd_ExtStringList;
+    aSubShapesLabel.AddAttribute(aList);
+  }
+
+  TCollection_AsciiString anEntry;
+  TDF_Tool::Entry(theSubShape->GetOwnerEntry(), anEntry);
+  aList->Append(anEntry);
+
+  _isDone = true;
+}
+
+//=============================================================================
+/*!
+ *  RemoveSubShapeReference
+ */
+//=============================================================================
+void GEOM_Function::RemoveSubShapeReference(Handle(GEOM_Function) theSubShape)
+{
+  _isDone = false;
+
+  TDF_Label aSubShapesLabel = _label.FindChild(SUBSHAPES_LABEL);
+
+  Handle(TDataStd_ExtStringList) aList;
+  if (aSubShapesLabel.FindAttribute(TDataStd_ExtStringList::GetID(), aList)) {
+    TCollection_AsciiString anEntry;
+    TDF_Tool::Entry(theSubShape->GetOwnerEntry(), anEntry);
+    aList->Remove(anEntry);
+  }
+
+  _isDone = true;
+}
+
+//=============================================================================
+/*!
+ *  HasSubShapeReferences
+ */
+//=============================================================================
+bool GEOM_Function::HasSubShapeReferences()
+{
+  _isDone = true;
+
+  TDF_Label aSubShapesLabel = _label.FindChild(SUBSHAPES_LABEL);
+  return aSubShapesLabel.IsAttribute(TDataStd_ExtStringList::GetID());
+}
+
+//=============================================================================
+/*!
+ *  GetSubShapeReferences
+ */
+//=============================================================================
+const TDataStd_ListOfExtendedString& GEOM_Function::GetSubShapeReferences()
+{
+  _isDone = false;
+
+  TDF_Label aSubShapesLabel = _label.FindChild(SUBSHAPES_LABEL);
+
+  Handle(TDataStd_ExtStringList) aList;
+  if (!aSubShapesLabel.FindAttribute(TDataStd_ExtStringList::GetID(), aList)) {
+    aList = new TDataStd_ExtStringList;
+    aSubShapesLabel.AddAttribute(aList);
+  }
+
+  _isDone = true;
+  return aList->List();
+}
+
 //=============================================================================
 /*!
  *  GetHistoryEntry
@@ -713,6 +794,16 @@ TDF_Label GEOM_Function::GetArgumentHistoryEntry (const TDF_Label&       theArgu
   return aHistoryCurLabel;
 }
 
+//=============================================================================
+/*!
+ *  GetNamingEntry
+ */
+//=============================================================================
+TDF_Label GEOM_Function::GetNamingEntry (const Standard_Boolean create)
+{
+  return _label.FindChild(NAMING_LABEL, create);
+}
+
 //=======================================================================
 //function :  GEOM_Function_Type_
 //purpose  :
@@ -721,10 +812,9 @@ Standard_EXPORT Handle_Standard_Type& GEOM_Function_Type_()
 {
 
   static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
+  if (aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
   static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
-
+  if (aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
 
   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
   static Handle_Standard_Type _aType = new Standard_Type("GEOM_Function",
@@ -751,5 +841,5 @@ const Handle(GEOM_Function) Handle(GEOM_Function)::DownCast(const Handle(Standar
      }
   }
 
-  return _anOtherObject ;
+  return _anOtherObject;
 }
index 4cd9fe3ff974c525aec31c18ebcecc626f7240ce..9476ae2e64a3f28a5f642be43755b5dec4a451fd 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #ifndef _GEOM_Function_HeaderFile
 #define _GEOM_Function_HeaderFile
 #endif
 #ifndef _Handle_MMgt_TShared_HeaderFile
 #include <Handle_MMgt_TShared.hxx>
-#endif  
+#endif
 #ifndef _MMgt_TShared_HeaderFile
 #include <MMgt_TShared.hxx>
-#endif  
+#endif
 #ifndef _Standard_GUID_HeaderFile
 #include <Standard_GUID.hxx>
 #endif
@@ -65,31 +64,31 @@ class Handle(MMgt_TShared);
 class GEOM_Function;
 
 #include <TCollection_AsciiString.hxx>
-
+#include <TDataStd_ListOfExtendedString.hxx>
 
 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_Function);
 
 class Handle(GEOM_Function) : public Handle(MMgt_TShared) {
   public:
-    inline void* operator new(size_t,void* anAddress) 
+    inline void* operator new(size_t,void* anAddress)
       {
         return anAddress;
       }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
+    inline void* operator new(size_t size)
+      {
+        return Standard::Allocate(size);
       }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
+    inline void  operator delete(void *anAddress)
+      {
+        if (anAddress) Standard::Free((Standard_Address&)anAddress);
       }
 
-    Handle(GEOM_Function)():Handle(MMgt_TShared)() {} 
-    Handle(GEOM_Function)(const Handle(GEOM_Function)& aHandle) : Handle(MMgt_TShared)(aHandle) 
+    Handle(GEOM_Function)():Handle(MMgt_TShared)() {}
+    Handle(GEOM_Function)(const Handle(GEOM_Function)& aHandle) : Handle(MMgt_TShared)(aHandle)
      {
      }
 
-    Handle(GEOM_Function)(const GEOM_Function* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem) 
+    Handle(GEOM_Function)(const GEOM_Function* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem)
      {
      }
 
@@ -105,18 +104,18 @@ class Handle(GEOM_Function) : public Handle(MMgt_TShared) {
       return *this;
      }
 
-    GEOM_Function* operator->() 
+    GEOM_Function* operator->()
      {
       return (GEOM_Function *)ControlAccess();
      }
 
-    GEOM_Function* operator->() const 
+    GEOM_Function* operator->() const
      {
       return (GEOM_Function *)ControlAccess();
      }
 
    Standard_EXPORT ~Handle(GEOM_Function)() {};
+
    Standard_EXPORT static const Handle(GEOM_Function) DownCast(const Handle(Standard_Transient)& AnObject);
 };
 
@@ -125,24 +124,26 @@ class GEOM_Function : public MMgt_TShared
 
 public:
 
-    inline void* operator new(size_t,void* anAddress) 
+    inline void* operator new(size_t,void* anAddress)
       {
         return anAddress;
       }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
+    inline void* operator new(size_t size)
+      {
+        return Standard::Allocate(size);
       }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
+    inline void  operator delete(void *anAddress)
+      {
+        if (anAddress) Standard::Free((Standard_Address&)anAddress);
       }
 
     // Type management
     //
     Standard_EXPORT friend Handle_Standard_Type& GEOM_Function_Type_();
-    Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOM_Function) ; }
-    Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOM_Function) == AType || MMgt_TShared::IsKind(AType)); } 
+    Standard_EXPORT const Handle(Standard_Type)& DynamicType() const
+      { return STANDARD_TYPE(GEOM_Function) ; }
+    Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const
+      { return (STANDARD_TYPE(GEOM_Function) == AType || MMgt_TShared::IsKind(AType)); }
 
 
 private:
@@ -150,22 +151,22 @@ private:
 
 public:
 
-  //Returns a GUID for a function tree  
+  //Returns a GUID for a function tree
   Standard_EXPORT static const Standard_GUID& GetFunctionTreeID();
 
-  //Returns the ID which is associated with a reference to another function  
+  //Returns the ID which is associated with a reference to another function
   Standard_EXPORT static const Standard_GUID& GetDependencyID();
 
   //Finds and returns a function located on a label theEntry
   Standard_EXPORT static Handle(GEOM_Function) GetFunction(const TDF_Label& theEntry);
 
 
-  Standard_EXPORT GEOM_Function(const TDF_Label& theEntry, const Standard_GUID& theGUID, int theType); 
+  Standard_EXPORT GEOM_Function(const TDF_Label& theEntry, const Standard_GUID& theGUID, int theType);
   Standard_EXPORT ~GEOM_Function() {;}
 
   Standard_EXPORT TDF_Label GetOwnerEntry();
 
-  //Access to properties 
+  //Access to properties
 
   //Returns a result of the function built by the function Driver
   Standard_EXPORT TopoDS_Shape GetValue();
@@ -177,7 +178,7 @@ public:
   Standard_EXPORT TDF_Label& GetEntry() { return _label; }
 
   //Returns the type of the function
-  Standard_EXPORT int GetType();    
+  Standard_EXPORT int GetType();
 
   //Returns a function Driver GUID
   Standard_EXPORT Standard_GUID GetDriverGUID();
@@ -185,8 +186,8 @@ public:
   //Returns aPython description of the function
   Standard_EXPORT TCollection_AsciiString GetDescription();
 
-  //Sets aPython description of the function  
-  Standard_EXPORT void SetDescription(const TCollection_AsciiString& theDescription);  
+  //Sets aPython description of the function
+  Standard_EXPORT void SetDescription(const TCollection_AsciiString& theDescription);
 
   //Access to arguments
 
@@ -206,8 +207,8 @@ public:
   Standard_EXPORT void SetInteger(int thePosition, int theValue);
 
   //Returns an integer argument at position thePosition
-  Standard_EXPORT int GetInteger(int thePosition);  
-  
+  Standard_EXPORT int GetInteger(int thePosition);
+
   //Sets an integer array argument at position thePosition
   Standard_EXPORT void SetIntegerArray(int thePosition, const Handle(TColStd_HArray1OfInteger)& theArray);
 
@@ -221,18 +222,18 @@ public:
   Standard_EXPORT void SetString(int thePosition, const TCollection_AsciiString& theValue);
 
   //Returns a string argument at position thePosition
-  Standard_EXPORT TCollection_AsciiString GetString(int thePosition);  
-  
+  Standard_EXPORT TCollection_AsciiString GetString(int thePosition);
+
   //Returns a reference to other function argument at position thePosition
-  Standard_EXPORT Handle(GEOM_Function) GetReference(int thePosition); 
+  Standard_EXPORT Handle(GEOM_Function) GetReference(int thePosition);
 
   //Set an array of ExtendedString
   Standard_EXPORT void SetStringArray(int thePosition, const Handle(TColStd_HArray1OfExtendedString)& theArray);
-    
+
   //Returns the array of ExtendedString
   Standard_EXPORT Handle(TColStd_HArray1OfExtendedString) GetStringArray(int thePosition);
 
-  //Returns a GUID for a references tree  
+  //Returns a GUID for a references tree
   Standard_EXPORT static const Standard_GUID& GetReferencesTreeID();
 
   //Sets a list of references to other function arguments at position thePosition
@@ -240,33 +241,41 @@ public:
                          const Handle(TColStd_HSequenceOfTransient)& theRefList);
 
   //Returns a list of references to other function arguments at position thePosition
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetReferenceList (int thePosition); 
+  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetReferenceList (int thePosition);
 
   //Sets a TopoDS_Shape argument at position thePosition
   //void SetShape(int thePosition, const TopoDS_Shape& theShape);
-    
+
   //Returns a TopoDS_Shape argument at position thePosition
-  //TopoDS_Shape GetShape(int thePosition);  
-  
-  //Returns true if the last method succided 
+  //TopoDS_Shape GetShape(int thePosition);
+
+  //Returns true if the last method succided
   Standard_EXPORT bool IsDone() { return _isDone; }
 
   //Returns a sequence of the external dependencies of this function
   Standard_EXPORT void GetDependency(TDF_LabelSequence& theSeq);
 
+  // Add/Remove/Check/Get subshape references
+  Standard_EXPORT void AddSubShapeReference   (Handle(GEOM_Function) theSubShape);
+  Standard_EXPORT void RemoveSubShapeReference(Handle(GEOM_Function) theSubShape);
+  Standard_EXPORT bool HasSubShapeReferences();
+  Standard_EXPORT const TDataStd_ListOfExtendedString& GetSubShapeReferences();
+
   //Returns top label of this function's history tree
   Standard_EXPORT TDF_Label GetHistoryEntry (const Standard_Boolean create = Standard_True);
 
   //Returns history label, corresponding to the label,
   //on which a reference on argument is stored
   Standard_EXPORT TDF_Label GetArgumentHistoryEntry (const TDF_Label&       theArgumentRefEntry,
-                                     const Standard_Boolean create = Standard_True);
+                                                     const Standard_Boolean create = Standard_True);
+
+  //Returns top label of this function's naming tree
+  Standard_EXPORT TDF_Label GetNamingEntry (const Standard_Boolean create = Standard_True);
 
 private:
 
-  
-  TDF_Label    _label;
-  bool _isDone;
+  TDF_Label _label;
+  bool      _isDone;
 };
 
 #endif
index 96e9809188d8b55e31fba3e3ee69ce5c1191bf4f..2f09aa141b17c4ae324efd0518dc70332fe0ad4e 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+//  NOTE: This is an intreface to a function for the Shapes
+//  (Wire, Face, Shell, Solid and Compound) creation.
 
-// NOTE: This is an intreface to a function for the Shapes
-// (Wire, Face, Shell, Solid and Compound) creation.
-//
 #include "GEOM_Function.hxx"
 
 #include "TColStd_HSequenceOfTransient.hxx"
 #include "TColStd_HArray1OfInteger.hxx"
 
-#define SHAPE_ARG_MAIN_SHAPE     1 
-#define SHAPE_ARG_INDICES             2 
-#define SHAPE_ARG_SORTED             3
+#define SHAPE_ARG_MAIN_SHAPE  1
+#define SHAPE_ARG_INDICES     2
 
 class GEOM_ISubShape
 {
index ca8ac421dbcbddaf5b00393e273280477592fdde..cbbce1eebf14e26d2cd468ddcaf40fa3f31e3a10 100644 (file)
@@ -191,7 +191,7 @@ GEOM_Object::GEOM_Object(TDF_Label& theEntry, int theType)
 //=============================================================================
 GEOM_Object::~GEOM_Object()
 {
-  //MESSAGE("GEOM_Object::~GEOM_Object()");
+  MESSAGE("GEOM_Object::~GEOM_Object()");
 }
 
 //=============================================================================
index 602c3e85927524185bf13e3f2a6fcb95f078b304..8dd2946b08a56b638fb14c26620c3a798081a5b9 100644 (file)
@@ -291,9 +291,15 @@ TopoDS_Shape BlockFix_UnionEdges::Perform(const TopoDS_Shape& Shape,
   TopoDS_Shape aResult = myContext->Apply(Shape);
 
   // processing each solid
-  TopExp_Explorer exps;
-  for(exps.Init(Shape, TopAbs_SOLID); exps.More(); exps.Next()) {
-    TopoDS_Solid aSolid = TopoDS::Solid(exps.Current());
+  TopAbs_ShapeEnum aType = TopAbs_SOLID;
+  TopExp_Explorer exps (Shape, aType);
+  if (!exps.More()) {
+    aType = TopAbs_SHELL;
+    exps.Init(Shape, aType);
+  }
+  for (; exps.More(); exps.Next()) {
+    //TopoDS_Solid aSolid = TopoDS::Solid(exps.Current());
+    TopoDS_Shape aSolid = exps.Current();
 
     TopTools_IndexedMapOfShape ChangedFaces;
 
@@ -307,21 +313,21 @@ TopoDS_Shape BlockFix_UnionEdges::Perform(const TopoDS_Shape& Shape,
 
     // processing each face
     TopExp_Explorer exp;
-    for(exp.Init(aRes, TopAbs_FACE); exp.More(); exp.Next()) {
+    for (exp.Init(aRes, TopAbs_FACE); exp.More(); exp.Next()) {
       TopoDS_Face aFace =
         TopoDS::Face(aContext->Apply(exp.Current().Oriented(TopAbs_FORWARD)));
       TopTools_IndexedDataMapOfShapeListOfShape aMapFacesEdges;
 
-      for(TopExp_Explorer expe(aFace,TopAbs_EDGE); expe.More(); expe.Next()) {
+      for (TopExp_Explorer expe(aFace,TopAbs_EDGE); expe.More(); expe.Next()) {
         TopoDS_Edge edge = TopoDS::Edge(expe.Current());
-        if(!aMapEdgeFaces.Contains(edge)) continue;
+        if (!aMapEdgeFaces.Contains(edge)) continue;
         const TopTools_ListOfShape& aList = aMapEdgeFaces.FindFromKey(edge);
         TopTools_ListIteratorOfListOfShape anIter(aList);
-        for( ; anIter.More(); anIter.Next()) {
+        for ( ; anIter.More(); anIter.Next()) {
           TopoDS_Face face = TopoDS::Face(anIter.Value());
           TopoDS_Face face1 = TopoDS::Face(aContext->Apply(anIter.Value()));
-          if(face1.IsSame(aFace)) continue;
-          if(aMapFacesEdges.Contains(face)) {
+          if (face1.IsSame(aFace)) continue;
+          if (aMapFacesEdges.Contains(face)) {
             aMapFacesEdges.ChangeFromKey(face).Append(edge);
           }
           else {
@@ -332,27 +338,27 @@ TopoDS_Shape BlockFix_UnionEdges::Perform(const TopoDS_Shape& Shape,
         }
       }
 
-      for(Standard_Integer i=1; i<=aMapFacesEdges.Extent(); i++) {
+      for (Standard_Integer i=1; i<=aMapFacesEdges.Extent(); i++) {
         const TopTools_ListOfShape& ListEdges = aMapFacesEdges.FindFromIndex(i);
         TopTools_SequenceOfShape SeqEdges;
         TopTools_ListIteratorOfListOfShape anIter(ListEdges);
-        for( ; anIter.More(); anIter.Next()) {
+        for ( ; anIter.More(); anIter.Next()) {
           SeqEdges.Append(anIter.Value());
         }
-        if(SeqEdges.Length()==1) continue;
+        if (SeqEdges.Length()==1) continue;
         TopoDS_Edge E;
-        if( MergeEdges(SeqEdges,aFace,Tol,E) ) {
+        if ( MergeEdges(SeqEdges,aFace,Tol,E) ) {
           // now we have only one edge - aChain.Value(1)
           // we have to replace old ListEdges with this new edge
           aContext->Replace(SeqEdges(1),E);
-          for(Standard_Integer j=2; j<=SeqEdges.Length(); j++) {
+          for (Standard_Integer j=2; j<=SeqEdges.Length(); j++) {
             aContext->Remove(SeqEdges(j));
           }
           TopoDS_Face tmpF = TopoDS::Face(exp.Current());
-          if( !ChangedFaces.Contains(tmpF) )
+          if ( !ChangedFaces.Contains(tmpF) )
             ChangedFaces.Add(tmpF);
           tmpF = TopoDS::Face(aMapFacesEdges.FindKey(i));
-          if( !ChangedFaces.Contains(tmpF) )
+          if ( !ChangedFaces.Contains(tmpF) )
             ChangedFaces.Add(tmpF);
         }
       }
@@ -360,7 +366,7 @@ TopoDS_Shape BlockFix_UnionEdges::Perform(const TopoDS_Shape& Shape,
     } // end processing each face
 
     // fix changed faces and replace them in the local context
-    for(Standard_Integer i=1; i<=ChangedFaces.Extent(); i++) {
+    for (Standard_Integer i=1; i<=ChangedFaces.Extent(); i++) {
       TopoDS_Face aFace = TopoDS::Face(aContext->Apply(ChangedFaces.FindKey(i)));
       Handle(ShapeFix_Face) sff = new ShapeFix_Face(aFace);
       sff->SetContext(myContext);
@@ -371,11 +377,11 @@ TopoDS_Shape BlockFix_UnionEdges::Perform(const TopoDS_Shape& Shape,
       aContext->Replace(aFace,sff->Face());
     }
 
-    if(ChangedFaces.Extent()>0) {
+    if (ChangedFaces.Extent() > 0) {
       // fix changed shell and replace it in the local context
       TopoDS_Shape aRes1 = aContext->Apply(aRes);
       TopExp_Explorer expsh;
-      for(expsh.Init(aRes1, TopAbs_SHELL); expsh.More(); expsh.Next()) {
+      for (expsh.Init(aRes1, TopAbs_SHELL); expsh.More(); expsh.Next()) {
         TopoDS_Shell aShell = TopoDS::Shell(expsh.Current());
         Handle(ShapeFix_Shell) sfsh = new ShapeFix_Shell;
         sfsh->FixFaceOrientation(aShell);
index 3dab5a40488426d1810e1c6b698834d88e541754..e41de1d956ae89e7be97933ecdde9606d0c01ee5 100644 (file)
             <source>ICON_DLG_GLUE_FACES2</source>
             <translation>glue2.png</translation>
         </message>
+        <message>
+            <source>ICON_DLG_LIMIT_TOLERANCE</source>
+            <translation>limit_tolerance.png</translation>
+        </message>
         <message>
             <source>ICON_DLG_INERTIA</source>
             <translation>axisinertia.png</translation>
             <source>ICO_GLUE_FACES</source>
             <translation>glue.png</translation>
         </message>
+        <message>
+            <source>ICO_LIMIT_TOLERANCE</source>
+            <translation>limit_tolerance.png</translation>
+        </message>
         <message>
             <source>ICO_GROUP_CREATE</source>
             <translation>group_new.png</translation>
index aac0da797f0ddb53b165ba2f8e82dd6e491993d8..01b728a308a496fcd1509a9bd689eb0aeaa20d56 100644 (file)
+<?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<!--
-  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
-
-  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
-  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.
-
-  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
-
--->
-<TS version="1.1" >
-    <context>
-        <name>@default</name>
-        <message>
-            <source>BRep_API: command not done</source>
-            <translation>Error: can't build object</translation>
-        </message>
-        <message>
-            <source>CHANGE_ORIENTATION_NEW_OBJ_NAME</source>
-            <translation>Invert</translation>
-        </message>
-        <message>
-            <source>CLOSE_CONTOUR_NEW_OBJ_NAME</source>
-            <translation>CloseContour</translation>
-        </message>
-        <message>
-            <source>DEP_OBJECT</source>
-            <translation>Selected object has been used to create another one.
-It can't be deleted </translation>
-        </message>
-        <message>
-            <source>DEVIDE_EDGE_NEW_OBJECT_NAME</source>
-            <translation>NewObject</translation>
-        </message>
-        <message>
-            <source>ERROR_SHAPE_TYPE</source>
-            <translation>Object of incorrect type selected!
+<TS version="2.0" language="en_US">
+<context>
+    <name>@default</name>
+    <message>
+        <source>BRep_API: command not done</source>
+        <translation>Error: can&apos;t build object</translation>
+    </message>
+    <message>
+        <source>CHANGE_ORIENTATION_NEW_OBJ_NAME</source>
+        <translation>Invert</translation>
+    </message>
+    <message>
+        <source>CLOSE_CONTOUR_NEW_OBJ_NAME</source>
+        <translation>CloseContour</translation>
+    </message>
+    <message>
+        <source>DEP_OBJECT</source>
+        <translation>Selected object has been used to create another one.
+It can&apos;t be deleted </translation>
+    </message>
+    <message>
+        <source>DEVIDE_EDGE_NEW_OBJECT_NAME</source>
+        <translation>NewObject</translation>
+    </message>
+    <message>
+        <source>ERROR_SHAPE_TYPE</source>
+        <translation>Object of incorrect type selected!
 Please, select face, shell or solid and try again</translation>
-        </message>
-       <message>
-           <source> iErr : 10</source>
-           <translation>the Classifier is NULL</translation>
-       </message>
-       <message>
-           <source> iErr : 11</source>
-           <translation>the Shape is NULL</translation>
-       </message>
-       <message>
-           <source> iErr : 12</source>
-           <translation>Unallowed Type of Subshape</translation>
-       </message>
-       <message>
-           <source> iErr : 13</source>
-           <translation>Unallowed State</translation>
-       </message>
-       <message>
-           <source> iErr : 15</source>
-           <translation>Unallowed Surface Type</translation>
-       </message>
-       <message>
-           <source> iErr : 20</source>
-           <translation>Triangulation is not Found</translation>
-       </message>
-       <message>
-           <source> iErr : 30</source>
-           <translation>Can not Obtain the Line From the Link</translation>
-       </message>
-       <message>
-           <source> iErr : 40</source>
-           <translation>A Point Can Not Be Classified</translation>
-       </message>
-       <message>
-           <source> iErr : 41</source>
-           <translation>Invalid Data for Classifier</translation>
-       </message>
-        <message>
-            <source>GEOM_2D_CONTINUTY</source>
-            <translation>2D continuity</translation>
-        </message>
-        <message>
-            <source>GEOM_2D_CURVE_MODE</source>
-            <translation>2D curve mode</translation>
-        </message>
-        <message>
-            <source>GEOM_2D_TOLERANCE</source>
-            <translation>2D tolerance</translation>
-        </message>
-        <message>
-            <source>GEOM_3D_CONTINUTY</source>
-            <translation>3D continuity</translation>
-        </message>
-        <message>
-            <source>GEOM_3D_CURVE_MODE</source>
-            <translation>3D curve mode</translation>
-        </message>
-        <message>
-            <source>GEOM_3D_TOLERANCE</source>
-            <translation>3D tolerance</translation>
-        </message>
-        <message>
-            <source>GEOM_3_POINTS</source>
-            <translation>3 points</translation>
-        </message>
-        <message>
-            <source>GEOM_ADD_POINT</source>
-            <translation>Add point</translation>
-        </message>
-        <message>
-            <source>GEOM_ANGLE</source>
-            <translation>Angle :</translation>
-        </message>
-        <message>
-            <source>GEOM_ANGLE_1</source>
-            <translation>Angle</translation>
-        </message>
-        <message>
-            <source>GEOM_ARC_ELLIPSE</source>
-            <translation>Arc of ellipse</translation>
-        </message>
-        <message>
-            <source>GEOM_ARC</source>
-            <translation>Arc</translation>
-        </message>
-        <message>
-            <source>GEOM_ARCHIMEDE</source>
-            <translation>Archimede</translation>
-        </message>
-        <message>
-            <source>GEOM_ARCHIMEDE_TITLE</source>
-            <translation>Archimede Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_ARC_TITLE</source>
-            <translation>Arc Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_ARGUMENTS</source>
-            <translation>Arguments</translation>
-        </message>
-        <message>
-            <source>GEOM_AXE_MIRROR</source>
-            <translation>Axe Mirror</translation>
-        </message>
-        <message>
-            <source>GEOM_AXIS</source>
-            <translation>Axis</translation>
-        </message>
-        <message>
-            <source>GEOM_BASE</source>
-            <translation>Base</translation>
-        </message>
-        <message>
-            <source>GEOM_BASE_OBJECT</source>
-            <translation>Base Object</translation>
-        </message>
-        <message>
-            <source>GEOM_BASE_POINT</source>
-            <translation>Base Point</translation>
-        </message>
-        <message>
-            <source>GEOM_BEZIER</source>
-            <translation>Bezier</translation>
-        </message>
-        <message>
-            <source>GEOM_BINORMAL</source>
-            <translation>BiNormal</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK</source>
-            <translation>Hexahedral Solid</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCKS_COMPOUND</source>
-            <translation>BlocksCompound</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK_EXPLODE</source>
-            <translation>Sub Blocks</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK_EXPLODE_TITLE</source>
-            <translation>Sub Blocks Selection</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK_MULTITRSF</source>
-            <translation>Block Multi-Transformation</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK_MULTITRSF_DOUBLE</source>
-            <translation>Multi-Transformation Double</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK_MULTITRSF_SIMPLE</source>
-            <translation>Multi-Transformation Simple</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK_MULTITRSF_TITLE</source>
-            <translation>Block Multi-Transformation</translation>
-        </message>
-        <message>
-            <source>GEOM_BLOCK_TITLE</source>
-            <translation>Hexahedral Solid Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_BNDBOX</source>
-            <translation>Bounding Box</translation>
-        </message>
-        <message>
-            <source>GEOM_BNDBOX_OBJDIM</source>
-            <translation>Object And Its Dimensions</translation>
-        </message>
-        <message>
-            <source>GEOM_BNDBOX_TITLE</source>
-            <translation>Bounding Box Information</translation>
-        </message>
-        <message>
-            <source>GEOM_BOX</source>
-            <translation>Box</translation>
-        </message>
-        <message>
-            <source>GEOM_BOX_OBJ</source>
-            <translation>Dimensions At Origin</translation>
-        </message>
-        <message>
-            <source>GEOM_BOX_TITLE</source>
-            <translation>Box Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_BSplineRestriction</source>
-            <translation>BSplineRestriction</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_APPLY</source>
-            <translation>&amp;Apply</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_CANCEL</source>
-            <translation>&amp;Cancel</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_CLOSE</source>
-            <translation>&amp;Close</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_CLOSE_SKETCH</source>
-            <translation>Sketch Closure</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_END_SKETCH</source>
-            <translation>Sketch Validation</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_EXPLODE</source>
-            <translation>&amp;Explode</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_HELP</source>
-            <translation>&amp;Help</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_NO</source>
-            <translation>&amp;No</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_OK</source>
-            <translation>O&amp;k</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_APPLY_AND_CLOSE</source>
-            <translation>A&amp;pply and Close</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_YES</source>
-            <translation>&amp;Yes</translation>
-        </message>
-        <message>
-            <source>GEOM_BY_LENGTH</source>
-            <translation>By length</translation>
-        </message>
-        <message>
-            <source>GEOM_BY_PARAMETER</source>
-            <translation>By parameter</translation>
-        </message>
-        <message>
-            <source>GEOM_CENTER</source>
-            <translation>Center</translation>
-        </message>
-        <message>
-            <source>GEOM_CENTER_POINT</source>
-            <translation>Center Point</translation>
-        </message>
-        <message>
-            <source>GEOM_CENTRAL_POINT</source>
-            <translation>Central Point</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER</source>
-            <translation>Chamfer</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_ABORT</source>
-            <translation>Chamfer can't be computed with %1 and %2</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_ALL</source>
-            <translation>Chamfer On Whole Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_EDGES</source>
-            <translation>Chamfer On Edges From Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_FACES</source>
-            <translation>Chamfer On Faces From Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_TITLE</source>
-            <translation>Chamfer Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_CHANGE_ORIENTATION</source>
-            <translation>Objects to change orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_CHANGE_ORIENTATION_TITLE</source>
-            <translation>Change orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND</source>
-            <translation>Check and Improve Blocks Compound</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_FAILED</source>
-            <translation>Check failed</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_ERRORS</source>
-            <translation>Errors</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_ERRORS</source>
-            <translation>The Compound of Blocks has errors</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_NO_ERRORS</source>
-            <translation>The Compound of Blocks has no errors</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES</source>
-            <translation>Incriminated Sub-Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_INFOS</source>
-            <translation>Object And Its Topological Information</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_SHAPE</source>
-            <translation>Check Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_TITLE</source>
-            <translation>Check Shape Information</translation>
-        </message>
-        <message>
-            <source>GEOM_CIRCLE</source>
-            <translation>Circle</translation>
-        </message>
-        <message>
-            <source>GEOM_CIRCLE_TITLE</source>
-            <translation>Circle Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_CLOSECONTOUR_TITLE</source>
-            <translation>Close contour</translation>
-        </message>
-        <message>
-            <source>GEOM_CMASS</source>
-            <translation>Center Of Mass</translation>
-        </message>
-        <message>
-            <source>GEOM_CMASS_TITLE</source>
-            <translation>Center Of Mass Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_COMMON</source>
-            <translation>Common</translation>
-        </message>
-        <message>
-            <source>GEOM_COMMON_TITLE</source>
-            <translation>Common Of Two Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_COMPOUND</source>
-            <translation>Compound</translation>
-        </message>
-        <message>
-            <source>GEOM_COMPOUNDSOLID</source>
-            <translation>CompSolid</translation>
-        </message>
-        <message>
-            <source>GEOM_COMPOUND_TITLE</source>
-            <translation>Create A Compound</translation>
-        </message>
-        <message>
-            <source>GEOM_CONE</source>
-            <translation>Cone</translation>
-        </message>
-        <message>
-            <source>GEOM_CONE_TITLE</source>
-            <translation>Cone Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_CONFIRM</source>
-            <translation>Confirm operation</translation>
-        </message>
-        <message>
-            <source>GEOM_CONFIRM_INFO</source>
-            <translation>Shape contains %1 sub shapes !</translation>
-        </message>
-        <message>
-            <source>GEOM_COOR</source>
-            <translation>Coord. :</translation>
-        </message>
-        <message>
-            <source>GEOM_COORDINATES</source>
-            <translation>Coordinates</translation>
-        </message>
-        <message>
-            <source>GEOM_COORDINATES_RES</source>
-            <translation>Result coordinates</translation>
-        </message>
-        <message>
-            <source>GEOM_CREATE_COPY</source>
-            <translation>Create a copy</translation>
-        </message>
-        <message>
-            <source>GEOM_CREATE_SINGLE_SOLID</source>
-            <translation>Create a single solid</translation>
-        </message>
-        <message>
-            <source>GEOM_CURVE</source>
-            <translation>Curve</translation>
-        </message>
-        <message>
-            <source>GEOM_CURVE_CONTINUTY</source>
-            <translation>Curve continuity</translation>
-        </message>
-        <message>
-            <source>GEOM_CURVE_TITLE</source>
-            <translation>Curve Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_CUT</source>
-            <translation>Cut</translation>
-        </message>
-        <message>
-            <source>GEOM_CUT_TITLE</source>
-            <translation>Cut Of Two Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_CYLINDER</source>
-            <translation>Cylinder</translation>
-        </message>
-        <message>
-            <source>GEOM_CYLINDER_TITLE</source>
-            <translation>Cylinder Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_D1</source>
-            <translation>D1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_D2</source>
-            <translation>D2 :</translation>
-        </message>
-        <message>
-            <source>GEOM_DETECT</source>
-            <translation>Detect</translation>
-        </message>
-        <message>
-            <source>GEOM_DIAGONAL_POINTS</source>
-            <translation>Diagonal Points</translation>
-        </message>
-       <message>
-            <source>GEOM_DISK</source>
-            <translation>Disk</translation>
-        </message>
-       <message>
-            <source>GEOM_DISK_TITLE</source>
-            <translation>Disk Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_DIMENSIONS</source>
-            <translation>Dimensions</translation>
-        </message>
-        <message>
-            <source>GEOM_DISTANCE</source>
-            <translation>Distance</translation>
-        </message>
-        <message>
-            <source>GEOM_DIVIDE_EDGE_TITLE</source>
-            <translation>Addition of point</translation>
-        </message>
-        <message>
-            <source>GEOM_DX</source>
-            <translation>Dx :</translation>
-        </message>
-        <message>
-            <source>GEOM_DY</source>
-            <translation>Dy :</translation>
-        </message>
-        <message>
-            <source>GEOM_DZ</source>
-            <translation>Dz :</translation>
-        </message>
-        <message>
-            <source>GEOM_DropSmallEdges</source>
-            <translation>DropSmallEdges</translation>
-        </message>
-        <message>
-            <source>GEOM_EDGE</source>
-            <translation>Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_EDGE_TITLE</source>
-            <translation>Create An Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_ELLIPSE</source>
-            <translation>Ellipse</translation>
-        </message>
-        <message>
-            <source>GEOM_ELLIPSE_ERROR_1</source>
-            <translation>Error creating ellipse.  Reason: minor radius is greater than major radius.</translation>
-        </message>
-        <message>
-            <source>GEOM_ELLIPSE_TITLE</source>
-            <translation>Ellipse Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_END_LCS</source>
-            <translation>End LCS</translation>
-        </message>
-        <message>
-            <source>GEOM_ERROR</source>
-            <translation>Error</translation>
-        </message>
-        <message>
-            <source>GEOM_ERROR_STATUS</source>
-            <translation>Operation status</translation>
-        </message>
-        <message>
-            <source>GEOM_ERR_GET_ENGINE</source>
-            <translation>Failed to obtain GEOM Engine component.  Reload Geometry module and try again.</translation>
-        </message>
-        <message>
-            <source>GEOM_ERR_LIB_NOT_FOUND</source>
-            <translation>GUI library corresponding to the user action can not be found or loaded</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION</source>
-            <translation>Extrusion</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION_BSV</source>
-            <translation>Base Shape + Vector</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION_BSV_2P</source>
-            <translation>Base Shape + 2 Points</translation>
-        </message>
-       <message>
-            <source>GEOM_EXTRUSION_DXDYDZ</source>
-            <translation>Base Shape + DX DY DZ Vector</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION_TITLE</source>
-            <translation>Construction by Extrusion</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE</source>
-            <translation>Face</translation>
-        </message>
-       <message>
-            <source>GEOM_CS</source>
-            <translation>Coordinate system</translation>
-        </message>
-       <message>
-            <source>GEOM_GCS</source>
-            <translation>Global coordinate system</translation>
-        </message>
-       <message>
-            <source>GEOM_LCS</source>
-            <translation>Local coordinate system</translation>
-        </message>
-        <message>
-            <source>GEOM_FACES</source>
-            <translation>Faces</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_FFW</source>
-            <translation>Face creation from wires and/or edges</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_OPT</source>
-            <translation>Try to create a planar face</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_OR_LCS</source>
-            <translation>Face or LCS</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_SELECTION</source>
-            <translation>Face Selection</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_TITLE</source>
-            <translation>Create A Face</translation>
-        </message>
-        <message>
-            <source>GEOM_RECTANGLE_TITLE</source>
-            <translation>Rectangle Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_RECTANGLE</source>
-            <translation>Rectangle</translation>
-        </message>
-        <message>
-          <source>GEOM_FILLET</source>
-            <translation>Fillet</translation>
-        </message>
-       <message>
-            <source>GEOM_FILLET_2D</source>
-            <translation>Fillet 2D</translation>
-        </message>
-       <message>
-            <source>GEOM_FILLET_1D</source>
-            <translation>Fillet 1D</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_ABORT</source>
-            <translation>Fillet can't be computed with radius %1</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_ALL</source>
-            <translation>Fillet On Whole Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_EDGES</source>
-            <translation>Fillet On Edges From Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_WIRES</source>
-            <translation>Fillet On Wires From Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_FACES</source>
-            <translation>Fillet On Faces From Shape</translation>
-        </message>
-       <message>
-            <source>GEOM_FILLET_VERTEXES</source>
-            <translation>Fillet On Vertexes From Face</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_TITLE</source>
-            <translation>Fillet Construction</translation>
-        </message>
-       <message>
-            <source>GEOM_FILLET_2D_TITLE</source>
-            <translation>2D Fillet Construction</translation>
-        </message>
-       <message>
-            <source>GEOM_FILLET_1D_TITLE</source>
-            <translation>1D Fillet Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING</source>
-            <translation>Filling</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_ARG</source>
-            <translation>Arguments And Parameters</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_COMPOUND</source>
-            <translation>Input compound</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_MAX_DEG</source>
-            <translation>Max deg</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_MIN_DEG</source>
-            <translation>Min deg</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_NB_ITER</source>
-            <translation>Nb. Iter :</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_TITLE</source>
-            <translation>Filling Surface With Edges</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_TOL_2D</source>
-            <translation>Tol. 2D :</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_TOL_3D</source>
-            <translation>Tol. 3D :</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_BOUNDARIES</source>
-            <translation>Free boundaries</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_BOUNDS_ERROR</source>
-            <translation>Object is not selected</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_BOUNDS_MSG</source>
-            <translation>Number of free boundaries detected: %1 (%2 closed, %3 open)</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_BOUNDS_TLT</source>
-            <translation>Free boundary detection</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_FACES</source>
-            <translation>Free faces</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_FACES_TITLE</source>
-            <translation>Free faces</translation>
-        </message>
-        <message>
-            <source>GEOM_FUSE</source>
-            <translation>Fuse</translation>
-        </message>
-        <message>
-            <source>GEOM_FUSE_TITLE</source>
-            <translation>Fuse Two Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_FixFaceSize</source>
-            <translation>FixFaceSize</translation>
-        </message>
-        <message>
-            <source>GEOM_FixShape</source>
-            <translation>FixShape</translation>
-        </message>
-        <message>
-            <source>GEOM_GLUE</source>
-            <translation>Glue</translation>
-        </message>
-        <message>
-            <source>GEOM_GLUE_TITLE</source>
-            <translation>Glue faces</translation>
-        </message>
-        <message>
-            <source>GEOM_HEIGHT</source>
-            <translation>Height :</translation>
-        </message>
-        <message>
-            <source>GEOM_HOLES</source>
-            <translation>Holes</translation>
-        </message>
-        <message>
-            <source>GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE</source>
-            <translation>Identical names : select by mouse !</translation>
-        </message>
-        <message>
-            <source>GEOM_IMPORT</source>
-            <translation>Imported_Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_INCORRECT_INPUT</source>
-            <translation>Incorrect Input Data!</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_CONSTR</source>
-            <translation>Matrix And Moments Of Inertia</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_I</source>
-            <translation>%1:1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_IXYZ</source>
-            <translation>IX &amp; IY &amp; IZ :</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_TITLE</source>
-            <translation>Calculs Of Inertia</translation>
-        </message>
-        <message>
-            <source>GEOM_INF_LOADED</source>
-            <translation>File %1 loaded.</translation>
-        </message>
-        <message>
-            <source>GEOM_INTERNAL_WIRES</source>
-            <translation>Internal wires</translation>
-        </message>
-        <message>
-            <source>GEOM_INTERPOL</source>
-            <translation>Interpolation</translation>
-        </message>
-        <message>
-            <source>GEOM_KEEP_OBJECT</source>
-            <translation>Keep Object</translation>
-        </message>
-        <message>
-            <source>GEOM_LENGTH</source>
-            <translation>Length :</translation>
-        </message>
-        <message>
-            <source>GEOM_LINE</source>
-            <translation>Line</translation>
-        </message>
-        <message>
-            <source>GEOM_LINE_TITLE</source>
-            <translation>Line Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_MAIN_OBJECT</source>
-            <translation>Main Object</translation>
-        </message>
-        <message>
-            <source>GEOM_MARKER</source>
-            <translation>Marker</translation>
-        </message>
-        <message>
-            <source>GEOM_MARKER_TITLE</source>
-            <translation>Create marker</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_ID</source>
-            <translation>Material ID:</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_MATERIAL</source>
-            <translation>Material</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_SET</source>
-            <translation>&lt;&lt; Set</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_SHAPE</source>
-            <translation>Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_TITLE</source>
-            <translation>Define materials for Dominant Fuse</translation>
-        </message>
-        <message>
-            <source>GEOM_MATRIX</source>
-            <translation>Matrix :</translation>
-        </message>
-        <message>
-            <source>GEOM_MAX</source>
-            <translation>Max :</translation>
-        </message>
-        <message>
-            <source>GEOM_MAX_3D_TOLERANCE</source>
-            <translation>Max 3D tolerance</translation>
-        </message>
-        <message>
-            <source>GEOM_MAX_TOLERANCE</source>
-            <translation>Max tolerance</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ALL_FILES</source>
-            <translation>All Files ( * )</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ANGLE</source>
-            <translation>Angle :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_COMPONENT</source>
-            <translation>Geometry</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ENTER_ANGLE</source>
-            <translation>Enter An Angle In Degrees</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_EXPORT</source>
-            <translation>Export</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_IMPORT</source>
-            <translation>Import</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ISOS</source>
-            <translation>Select Number Of Isos</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ISOU</source>
-            <translation>Isos U :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ISOV</source>
-            <translation>Isos V :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_POPUP_NAME</source>
-            <translation>%1 Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_SHADING</source>
-            <translation>Shading</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_SKETCHER_X</source>
-            <translation>Enter a Length to Set X</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_SKETCHER_Y</source>
-            <translation>Enter a Length to Set Y</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_STEP_LABEL</source>
-            <translation>Step :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_TRANSPARENCY</source>
-            <translation>Transparency</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_TRANSPARENCY_LABEL</source>
-            <translation>Transparency :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_WIREFRAME</source>
-            <translation>Wireframe</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_X</source>
-            <translation>X :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_Y</source>
-            <translation>Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_MESHING_DEFLECTION</source>
-            <translation>Meshing Deflect. :</translation>
-        </message>
-        <message>
-            <source>GEOM_MIN</source>
-            <translation>Min :</translation>
-        </message>
-        <message>
-            <source>GEOM_MINDIST_OBJ</source>
-            <translation>Objects And Results</translation>
-        </message>
-        <message>
-            <source>GEOM_MINDIST_TITLE</source>
-            <translation>Minimun Distance Between Two Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_MIRROR</source>
-            <translation>Mirror</translation>
-        </message>
-        <message>
-            <source>GEOM_MIRROR_TITLE</source>
-            <translation>Mirror An Object</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION</source>
-            <translation>Multi-Rotation</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION_DOUBLE</source>
-            <translation>Multi Rotation Double</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION_SIMPLE</source>
-            <translation>Multi Rotation Simple</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION_TITLE</source>
-            <translation>Multi-Rotation</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION</source>
-            <translation>Multi-Translation</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION_DOUBLE</source>
-            <translation>Multi Translation Double</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION_SIMPLE</source>
-            <translation>Multi Translation Simple</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION_TITLE</source>
-            <translation>Multi-Translation</translation>
-        </message>
-        <message>
-            <source>GEOM_NAME_INCORRECT</source>
-            <translation>Object name not found</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_BLOCKS_NO_OTHERS</source>
-            <translation>There are %1 specified blocks and NO other solids</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_BLOCKS_SOME_OTHERS</source>
-            <translation>There are %1 specified blocks and some other solids</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_TIMES</source>
-            <translation>Nb. Times :</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_TIMES_U</source>
-            <translation>Nb. Times U :</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_TIMES_V</source>
-            <translation>Nb. Times V :</translation>
-        </message>
-        <message>
-            <source>GEOM_NODES</source>
-            <translation>Nodes</translation>
-        </message>
-        <message>
-            <source>GEOM_NUM_SPLIT_POINTS</source>
-            <translation>Number of splitting points</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECT</source>
-            <translation>Object</translation>
-        </message>
-       <message>
-            <source>GEOM_OBJECT_TYPE</source>
-            <translation>Object Type</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECTS</source>
-            <translation>Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECT_I</source>
-            <translation>Object %1</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECT_RESULT</source>
-            <translation>Object And Result</translation>
-        </message>
-        <message>
-            <source>GEOM_OFFSET</source>
-            <translation>Offset</translation>
-        </message>
-        <message>
-            <source>GEOM_OFFSET_TITLE</source>
-            <translation>Offset Surface</translation>
-        </message>
-        <message>
-            <source>GEOM_OPERATIONS</source>
-            <translation>Operations</translation>
-        </message>
-        <message>
-            <source>GEOM_ORIENTATION</source>
-            <translation>Orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_ORIENTATION_OPT</source>
-            <translation>Reverse orientation with normal vectors simulation</translation>
-        </message>
-        <message>
-            <source>GEOM_ORIENTATION_TITLE</source>
-            <translation>Change Orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_PARAMETER</source>
-            <translation>Parameter :</translation>
-        </message>
-        <message>
-            <source>GEOM_PARAMETERS</source>
-            <translation>Parameters</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_ON_EDGE</source>
-            <translation>Point on Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_ON_FACE</source>
-            <translation>Point on Face</translation>
-        </message>
-        <message>
-            <source>GEOM_PARAM_VALUE</source>
-            <translation>By parameter</translation>
-        </message>
-        <message>
-            <source>GEOM_COORD_VALUE</source>
-            <translation>By coordinate</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION</source>
-            <translation>Partition</translation>
-        </message>
-       <message>
-            <source>GEOM_WRN_PARTITION_RESULT_EMPTY</source>
-            <translation>The partition result is empty, please verify the reconstruction limit parameter.</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION_HALFSPACE</source>
-            <translation>Half-space partition</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION_ORIENTATION</source>
-            <translation>Change Orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION_TITLE</source>
-            <translation>Partition Of Object With Tool</translation>
-        </message>
-        <message>
-            <source>GEOM_PATH_OBJECT</source>
-            <translation>Path Object</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE</source>
-            <translation>Pipe</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TITLE</source>
-            <translation>Pipe Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_SEGMENT</source>
-            <translation>Segment of straight line</translation>
-        </message>
-       <message>
-            <source>GEOM_SELECT_UNPUBLISHED_EDGES</source>
-            <translation>Select unpublished edges</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE</source>
-            <translation>Plane</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_MIRROR</source>
-            <translation>Plane Mirror</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_PV</source>
-            <translation>Point + Vector</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_PVC</source>
-            <translation>Point + Coordinate Vector</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_SIZE</source>
-            <translation>Size of plane :</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_TITLE</source>
-            <translation>Plane Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT</source>
-            <translation>Point</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT1</source>
-            <translation>Point 1</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT2</source>
-            <translation>Point 2</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT3</source>
-            <translation>Point 3</translation>
-        </message>
-        <message>
-            <source>GEOM_POINTS</source>
-            <translation>Points</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_I</source>
-            <translation>Point %1</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_MIRROR</source>
-            <translation>Point Mirror</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_TITLE</source>
-            <translation>Point Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_POLYLINE</source>
-            <translation>Polyline</translation>
-        </message>
-        <message>
-            <source>GEOM_POSITION</source>
-            <translation>Location</translation>
-        </message>
-        <message>
-            <source>GEOM_POSITION_TITLE</source>
-            <translation>Modify the Location of an Object</translation>
-        </message>
-        <message>
-            <source>GEOM_PRECISION</source>
-            <translation>Precision :</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPAGATE</source>
-            <translation>Propagate</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPAGATE_TITLE</source>
-            <translation>Propagate</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES</source>
-            <translation>Basic Properties</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_CONSTR</source>
-            <translation>Object And Its Properties</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_SURFACE</source>
-            <translation>Surface is :</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_TITLE</source>
-            <translation>Basic Properties Information</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_VOLUME</source>
-            <translation>Volume is :</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_ABORT</source>
-            <translation>Operation aborted</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_COMMAND</source>
-            <translation>No command associated with this id = %1.</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_DONE</source>
-            <translation>Operation done</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_EXPORT</source>
-            <translation>Exporting geometry to %1 ...</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_LOADING</source>
-            <translation>Loading %1 ...</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_MIN_DIST</source>
-            <translation>Min Distance not computed</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_NOT_FOR_VTK_VIEWER</source>
-            <translation>Not allowed in VTK viewer</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_NULLSHAPE</source>
-            <translation>Error, null or inappropriate shape !</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_READY</source>
-            <translation>Ready</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_EDGE</source>
-            <translation>Select edges and click on Apply</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_FACE</source>
-            <translation>Select faces to suppress and click on Ok/Apply</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_FIRST</source>
-            <translation>Select main shape first</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_SUBSHAPES</source>
-            <translation>Select Sub Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SHAPE_IN_STUDY</source>
-            <translation>Main shape must be in the study before</translation>
-        </message>
-        <message>
-            <source>GEOM_QUAD_FACE</source>
-            <translation>Quadrangle Face</translation>
-        </message>
-        <message>
-            <source>GEOM_QUAD_FACE_TITLE</source>
-            <translation>Quadrangle Face Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS</source>
-            <translation>Radius :</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS_I</source>
-            <translation>Radius %1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS_MAJOR</source>
-            <translation>Major radius :</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS_MINOR</source>
-            <translation>Minor radius :</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT</source>
-            <translation>Resulting Type</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_EDGE</source>
-            <translation>Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_FACE</source>
-            <translation>Face</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_SHAPE</source>
-            <translation>Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_SHELL</source>
-            <translation>Shell</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_SOLID</source>
-            <translation>Solid</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_VERTEX</source>
-            <translation>Vertex</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_WIRE</source>
-            <translation>Wire</translation>
-        </message>
-        <message>
-            <source>GEOM_REF_POINT</source>
-            <translation>Point with reference</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_ALL_HOLES</source>
-            <translation>Remove all holes</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_ALL_INT_WIRES</source>
-            <translation>Remove all internal wires</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_HOLES_TITLE</source>
-            <translation>Suppress holes</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_INTERNAL_WIRES_TITLE</source>
-            <translation>Suppress internal wires</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_WEBS</source>
-            <translation>Remove webs</translation>
-        </message>
-        <message>
-            <source>GEOM_REQUIRED_DEGREE</source>
-            <translation>Required degree</translation>
-        </message>
-        <message>
-            <source>GEOM_REQUIRED_NUM_SEGMENTS</source>
-            <translation>Required number of segments</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE</source>
-            <translation>Reverse</translation>
-        </message>
-       <message>
-            <source>GEOM_REVERSE_DIRECTION</source>
-            <translation>Reverse Direction</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE_PLANE</source>
-            <translation>Reverse the plane normal</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE_U</source>
-            <translation>Reverse U</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE_V</source>
-            <translation>Reverse V</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE_VECTOR</source>
-            <translation>Reverse Vector</translation>
-        </message>
-        <message>
-            <source>GEOM_REVOLUTION</source>
-            <translation>Revolution</translation>
-        </message>
-        <message>
-            <source>GEOM_REVOLUTION_TITLE</source>
-            <translation>Construction By Revolution</translation>
-        </message>
-        <message>
-            <source>GEOM_ROTATION</source>
-            <translation>Rotation</translation>
-        </message>
-        <message>
-            <source>GEOM_ROTATION_TITLE</source>
-            <translation>Rotation Of An Object</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE</source>
-            <translation>Scale</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_FACTOR</source>
-            <translation>Scale Factor :</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_TITLE</source>
-            <translation>Scale An Object</translation>
-        </message>
-        <message>
-            <source>GEOM_SECTION</source>
-            <translation>Section</translation>
-        </message>
-        <message>
-            <source>GEOM_SECTION_TITLE</source>
-            <translation>Section Of Two Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_SELECTED_FACE</source>
-            <translation>Selected face</translation>
-        </message>
-        <message>
-            <source>GEOM_SELECTED_OBJECTS</source>
-            <translation>Selected objects</translation>
-        </message>
-        <message>
-            <source>GEOM_SELECTED_SHAPE</source>
-            <translation>Selected shape</translation>
-        </message>
-        <message>
-            <source>GEOM_SELECTION</source>
-            <translation>Selection</translation>
-        </message>
-        <message>
-            <source>GEOM_SET_MATERIALS</source>
-            <translation>Set materials</translation>
-        </message>
-        <message>
-            <source>GEOM_SEWING</source>
-            <translation>Sewing</translation>
-        </message>
-        <message>
-            <source>GEOM_SEWING_TITLE</source>
-            <translation>Topological sewing</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPE</source>
-            <translation>Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPEPROCESS_TITLE</source>
-            <translation>Shape Processing</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPES</source>
-            <translation>Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_SHELL</source>
-            <translation>Shell</translation>
-        </message>
-        <message>
-            <source>GEOM_SHELLS</source>
-            <translation>Shells</translation>
-        </message>
-        <message>
-            <source>GEOM_SHELL_TITLE</source>
-            <translation>Shell Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ABS</source>
-            <translation>Absolute</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ANGLE</source>
-            <translation>Angle</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ANGLE2</source>
-            <translation>Angle :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_APPLY</source>
-            <translation>Apply</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ARC</source>
-            <translation>Arc</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DEST</source>
-            <translation>Destination</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DIR</source>
-            <translation>Direction</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DX2</source>
-            <translation>DX :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DY2</source>
-            <translation>DY :</translation>
-        </message>
-       <message>
-            <source>GEOM_SKETCHER_DZ2</source>
-            <translation>DZ :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_EL</source>
-            <translation>Element Type</translation>
-        </message>
-       <message>
-            <source>GEOM_SKETCHER_RESTORE</source>
-            <translation>Restore</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_LENGTH</source>
-            <translation>Length</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_LENGTH2</source>
-            <translation>Length :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_PER</source>
-            <translation>Perpendicular</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_POINT</source>
-            <translation>Point</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_POINT2</source>
-            <translation>Point :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_RADIUS2</source>
-            <translation>Radius :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_REL</source>
-            <translation>Relative</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_SEGMENT</source>
-            <translation>Segment</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_SEL</source>
-            <translation>Selection</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_TAN</source>
-            <translation>Tangent</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_TITLE</source>
-            <translation>2D Sketch Construction</translation>
-        </message>
-       <message>
-            <source>GEOM_3DSKETCHER_TITLE</source>
-            <translation>3D Sketch Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_TYPE</source>
-            <translation>Type</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_UNDO</source>
-            <translation>Undo</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VALUES</source>
-            <translation>Values</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VX2</source>
-            <translation>VX :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VXVY</source>
-            <translation>VX-VY</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VY2</source>
-            <translation>VY :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_X</source>
-            <translation>X</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_X2</source>
-            <translation>X :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_X3</source>
-            <translation>Abs. X :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_Y</source>
-            <translation>Y</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_Y2</source>
-            <translation>Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_Y3</source>
-            <translation>Abs. Y :</translation>
-        </message>
-       <message>
-            <source>GEOM_SKETCHER_Z2</source>
-            <translation>Z :</translation>
-        </message>
-       <message>
-            <source>GEOM_3DSKETCHER</source>
-            <translation>3D Sketcher</translation>
-        </message>
-       <message>
-            <source>GEOM_COORDINATES_TYPE</source>
-            <translation>Coordinates Type</translation>
-        </message>
-        <message>
-            <source>GEOM_SOLID</source>
-            <translation>Solid</translation>
-        </message>
-        <message>
-            <source>GEOM_SOLID_TITLE</source>
-            <translation>Solid Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE</source>
-            <translation>Sphere</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE_CR</source>
-            <translation>Center + Radius</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE_RO</source>
-            <translation>Radius At Origin</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE_TITLE</source>
-            <translation>Sphere Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_SPLINE</source>
-            <translation>Spline</translation>
-        </message>
-        <message>
-            <source>GEOM_SPLINE_TITLE</source>
-            <translation>Spline Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_START_LCS</source>
-            <translation>Start LCS</translation>
-        </message>
-       <message>
-            <source>SELECT_UNPUBLISHED_EDGES</source>
-            <translation>Select unpublished edges</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP</source>
-            <translation>Step :</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP_TITLE</source>
-            <translation>Step value for GUI constructions</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP_U</source>
-            <translation>Step U :</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP_V</source>
-            <translation>Step V :</translation>
-        </message>
-        <message>
-            <source>GEOM_STUDY_LOCKED</source>
-            <translation>The active study is locked and therefore cannot be modified</translation>
-        </message>
-        <message>
-            <source>GEOM_SUBSHAPE_SELECT</source>
-            <translation>Select Sub Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_SUBSHAPE_TITLE</source>
-            <translation>Sub Shapes Selection</translation>
-        </message>
-        <message>
-            <source>GEOM_SUBSHAPE_TYPE</source>
-            <translation>Sub Shapes Type :</translation>
-        </message>
-        <message>
-            <source>GEOM_SUB_SHAPE</source>
-            <translation>Sub Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_FACE_SHELL</source>
-            <translation>Face or shell</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTFACE</source>
-            <translation>Select the face with hole</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTFACE_END</source>
-            <translation>Select end face (if hole traversing)</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTWIRE</source>
-            <translation>Select wire on face</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTWIRE_END</source>
-            <translation>Select end wire (if hole traversing)</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE</source>
-            <translation>Select hole(s) on the face</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_TITLE</source>
-            <translation>Suppress holes</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESS_RESULT</source>
-            <translation>Suppress Result</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESS_RESULT_INSIDE</source>
-            <translation>Inside</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESS_RESULT_OUTSIDE</source>
-            <translation>Outside</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPRESSFACE</source>
-            <translation>Supress Face</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPRESSFACE_SELECT</source>
-            <translation>Select Faces To Suppress</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPRESSFACE_TITLE</source>
-            <translation>Suppress Faces In An Object</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFACE_CONTINUTY</source>
-            <translation>Surface continuity</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFACE_MODE</source>
-            <translation>Surface mode</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFCONE</source>
-            <translation>Conical Face</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFCYLINDER</source>
-            <translation>Cylindrical Face</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFSPHERE</source>
-            <translation>Spherical Face</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFTORUS</source>
-            <translation>Toroidal Face</translation>
-        </message>
-        <message>
-            <source>GEOM_SameParameter</source>
-            <translation>SameParameter</translation>
-        </message>
-        <message>
-            <source>GEOM_SplitAngle</source>
-            <translation>SplitAngle</translation>
-        </message>
-        <message>
-            <source>GEOM_SplitClosedFaces</source>
-            <translation>SplitClosedFaces</translation>
-        </message>
-        <message>
-            <source>GEOM_SplitContinuity</source>
-            <translation>SplitContinuity</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE</source>
-            <translation>Tolerance</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_CONSTR</source>
-            <translation>Object And Its Tolerances</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_EDGE</source>
-            <translation>Edge :</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_FACE</source>
-            <translation>Face :</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_TITLE</source>
-            <translation>Maximum Tolerance</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_VERTEX</source>
-            <translation>Vertex :</translation>
-        </message>
-        <message>
-            <source>GEOM_TOOL_OBJECT</source>
-            <translation>Tool Object</translation>
-        </message>
-       <message>
-            <source>GEOM_TOOL_OBJECTS</source>
-            <translation>Tool Objects</translation>
-        </message>
-        <message>
-            <source>GEOM_TORUS</source>
-            <translation>Torus</translation>
-        </message>
-        <message>
-            <source>GEOM_TORUS_TITLE</source>
-            <translation>Torus Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSLATION</source>
-            <translation>Translation</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSLATION_COOR</source>
-            <translation>Translation With Coordinates</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSLATION_TITLE</source>
-            <translation>Translation Of An Object</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSPARENCY_OPAQUE</source>
-            <translation>Opaque</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSPARENCY_TITLE</source>
-            <translation>Transparency</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSPARENCY_TRANSPARENT</source>
-            <translation>Transparent</translation>
-        </message>
-        <message>
-            <source>GEOM_TRIHEDRON</source>
-            <translation>Trihedron</translation>
-        </message>
-        <message>
-            <source>GEOM_ToBezier</source>
-            <translation>ToBezier</translation>
-        </message>
-        <message>
-            <source>GEOM_VALUE</source>
-            <translation>Value</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR</source>
-            <translation>Vector</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_LENGTH</source>
-            <translation>Vector Length :</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_TITLE</source>
-            <translation>Vector Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_U</source>
-            <translation>Vector U</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_V</source>
-            <translation>Vector V</translation>
-        </message>
-        <message>
-            <source>GEOM_VERTEX</source>
-            <translation>Vertex</translation>
-        </message>
-       <message>
-            <source>GEOM_VERTEXES</source>
-            <translation>Vertexes</translation>
-        </message>
-        <message>
-            <source>GEOM_WATER_DENSITY</source>
-            <translation>Water Density :</translation>
-        </message>
-        <message>
-            <source>GEOM_WEIGHT</source>
-            <translation>Weight :</translation>
-        </message>
-       <message>
-            <source>GEOM_WIDTH</source>
-            <translation>Width :</translation>
-        </message>
-        <message>
-            <source>GEOM_WHATIS</source>
-            <translation>Whatis</translation>
-        </message>
-        <message>
-            <source>GEOM_WHATIS_OBJECT</source>
-            <translation>Object And Its Topological Information</translation>
-        </message>
-        <message>
-            <source>GEOM_WHATIS_TITLE</source>
-            <translation>Whatis Information</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRE</source>
-            <translation>Wire</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRES</source>
-            <translation>Wire(s)</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRES_TO_REMOVE</source>
-            <translation>Wires to remove</translation>
-        </message>
-        <message>
-            <source>GEOM_WIREZ</source>
-            <translation>Wires</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRE_CONNECT</source>
-            <translation>Wire creation from wires/edges connected</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRE_TITLE</source>
-            <translation>Create A Wire</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE</source>
-            <translation>Working Plane</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_FACE</source>
-            <translation>Plane, Planar Face or LCS</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_ORIGIN</source>
-            <translation>Select a plane</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_OXY</source>
-            <translation>OXY</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_OYZ</source>
-            <translation>OYZ</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_OZX</source>
-            <translation>OZX</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_TITLE</source>
-            <translation>Working Plane Selection</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_VECTOR</source>
-            <translation>Select 2 vectors</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_VX</source>
-            <translation>Vector X</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_VZ</source>
-            <translation>Vector Z</translation>
-        </message>
-        <message>
-            <source>GEOM_WRN_RADIUS_NULL</source>
-            <translation>Radius is null</translation>
-        </message>
-        <message>
-            <source>GEOM_WRN_WARNING</source>
-            <translation>Warning</translation>
-        </message>
-        <message>
-            <source>WRN_SHAPE_UNCLOSED</source>
-            <translation>Unable to create solid from unclosed shape %1</translation>
-        </message>
-        <message>
-            <source>GEOM_X</source>
-            <translation>X :</translation>
-        </message>
-        <message>
-            <source>GEOM_Y</source>
-            <translation>Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_Z</source>
-            <translation>Z :</translation>
-        </message>
-        <message>
-            <source>GLUE_NEW_OBJ_NAME</source>
-            <translation>Glue</translation>
-        </message>
-        <message>
-            <source>MEN_ALL_SEL_ONLY</source>
-            <translation>Select All</translation>
-        </message>
-        <message>
-            <source>MEN_ARC</source>
-            <translation>Arc</translation>
-        </message>
-        <message>
-            <source>MEN_ARCHIMEDE</source>
-            <translation>Archimede</translation>
-        </message>
-        <message>
-            <source>MEN_BASIC</source>
-            <translation>Basic</translation>
-        </message>
-        <message>
-            <source>MEN_BASIC_PROPS</source>
-            <translation>Basic Properties</translation>
-        </message>
-        <message>
-            <source>MEN_BLOCKS</source>
-            <translation>Blocks</translation>
-        </message>
-        <message>
-            <source>MEN_BND_BOX</source>
-            <translation>Bounding Box</translation>
-        </message>
-        <message>
-            <source>MEN_BOOLEAN</source>
-            <translation>Boolean</translation>
-        </message>
-        <message>
-            <source>MEN_BOX</source>
-            <translation>Box</translation>
-        </message>
-        <message>
-            <source>MEN_BUILD</source>
-            <translation>Build</translation>
-        </message>
-        <message>
-            <source>MEN_CHAMFER</source>
-            <translation>Chamfer</translation>
-        </message>
-        <message>
-            <source>MEN_CHANGE_ORIENTATION</source>
-            <translation>Change Orientation</translation>
-        </message>
-        <message>
-            <source>MEN_CHECK</source>
-            <translation>Check Shape</translation>
-        </message>
-        <message>
-            <source>MEN_CHECK_COMPOUND</source>
-            <translation>Check Compound of Blocks</translation>
-        </message>
-        <message>
-            <source>MEN_CHECK_FREE_BNDS</source>
-            <translation>Check Free Boundaries</translation>
-        </message>
-        <message>
-            <source>MEN_CHECK_FREE_FACES</source>
-            <translation>Check Free Faces</translation>
-        </message>
-        <message>
-            <source>MEN_CHECK_GEOMETRY</source>
-            <translation>Check Geometry</translation>
-        </message>
-        <message>
-            <source>MEN_CIRCLE</source>
-            <translation>Circle</translation>
-        </message>
-        <message>
-            <source>MEN_CLIPPING</source>
-            <translation>Clipping Range</translation>
-        </message>
-        <message>
-            <source>MEN_CLOSE_CONTOUR</source>
-            <translation>Close Contour</translation>
-        </message>
-        <message>
-            <source>MEN_COMMON</source>
-            <translation>Common</translation>
-        </message>
-        <message>
-            <source>MEN_COMPOUND</source>
-            <translation>Compound</translation>
-        </message>
-        <message>
-            <source>MEN_COMPOUND_SEL_ONLY</source>
-            <translation>Compound</translation>
-        </message>
-        <message>
-            <source>MEN_CONE</source>
-            <translation>Cone</translation>
-        </message>
-        <message>
-            <source>MEN_CURVE</source>
-            <translation>Curve</translation>
-        </message>
-        <message>
-            <source>MEN_CUT</source>
-            <translation>Cut</translation>
-        </message>
-        <message>
-            <source>MEN_CYLINDER</source>
-            <translation>Cylinder</translation>
-        </message>
-        <message>
-            <source>MEN_RECTANGLE</source>
-            <translation>Rectangle</translation>
-        </message>
-        <message>
-            <source>MEN_DELETE</source>
-            <translation>Delete</translation>
-        </message>
-        <message>
-            <source>MEN_DIMENSIONS</source>
-            <translation>Dimensions</translation>
-        </message>
-        <message>
-            <source>MEN_DISPLAY</source>
-            <translation>Show</translation>
-        </message>
-       <message>
-            <source>MEN_DISK</source>
-            <translation>Disk</translation>
-        </message>
-        <message>
-            <source>MEN_DISPLAY_ALL</source>
-            <translation>Show All</translation>
-        </message>
-        <message>
-            <source>MEN_DISPLAY_MODE</source>
-            <translation>Display Mode</translation>
-        </message>
-        <message>
-            <source>MEN_DISPLAY_ONLY</source>
-            <translation>Show Only</translation>
-        </message>
-        <message>
-            <source>MEN_EDGE</source>
-            <translation>Edge</translation>
-        </message>
-        <message>
-            <source>MEN_EDGE_SEL_ONLY</source>
-            <translation>Edge</translation>
-        </message>
-        <message>
-            <source>MEN_EDIT</source>
-            <translation>Edit</translation>
-        </message>
-        <message>
-            <source>MEN_ELLIPSE</source>
-            <translation>Ellipse</translation>
-        </message>
-        <message>
-            <source>MEN_ERASE</source>
-            <translation>Hide</translation>
-        </message>
-        <message>
-            <source>MEN_ERASE_ALL</source>
-            <translation>Hide All</translation>
-        </message>
-        <message>
-            <source>MEN_EXPLODE</source>
-            <translation>Explode</translation>
-        </message>
-        <message>
-            <source>MEN_EXPLODE_BLOCKS</source>
-            <translation>Explode on Blocks</translation>
-        </message>
-        <message>
-            <source>MEN_EXPORT</source>
-            <translation>Export...</translation>
-        </message>
-        <message>
-            <source>MEN_EXTRUSION</source>
-            <translation>Extrusion</translation>
-        </message>
-        <message>
-            <source>MEN_FACE</source>
-            <translation>Face</translation>
-        </message>
-        <message>
-            <source>MEN_FACE_SEL_ONLY</source>
-            <translation>Face</translation>
-        </message>
-        <message>
-            <source>MEN_FILE</source>
-            <translation>File</translation>
-        </message>
-        <message>
-            <source>MEN_FILLET</source>
-            <translation>Fillet 3D</translation>
-        </message>
-       <message>
-            <source>MEN_FILLET_1D</source>
-            <translation>Fillet 1D</translation>
-        </message>
-       <message>
-            <source>MEN_FILLET_2D</source>
-            <translation>Fillet 2D</translation>
-        </message>
-        <message>
-            <source>MEN_FILLING</source>
-            <translation>Filling</translation>
-        </message>
-        <message>
-            <source>MEN_FUSE</source>
-            <translation>Fuse</translation>
-        </message>
-        <message>
-            <source>MEN_GENERATION</source>
-            <translation>Generation</translation>
-        </message>
-        <message>
-            <source>MEN_GLUE_FACES</source>
-            <translation>Glue Faces</translation>
-        </message>
-        <message>
-            <source>MEN_GROUP</source>
-            <translation>Group</translation>
-        </message>
-        <message>
-            <source>MEN_GROUP_CREATE</source>
-            <translation>Create</translation>
-        </message>
-        <message>
-            <source>MEN_GROUP_EDIT</source>
-            <translation>Edit</translation>
-        </message>
-        <message>
-            <source>MEN_RELOAD_IMPORTED</source>
-            <translation>Reload From Disk</translation>
-        </message>
-        <message>
-            <source>MEN_HEX_SOLID</source>
-            <translation>Hexahedral Solid</translation>
-        </message>
-        <message>
-            <source>MEN_IMPORT</source>
-            <translation>Import...</translation>
-        </message>
-        <message>
-            <source>MEN_INERTIA</source>
-            <translation>Inertia</translation>
-        </message>
-        <message>
-            <source>MEN_ISOS</source>
-            <translation>Isos</translation>
-        </message>
-        <message>
-            <source>MEN_LINE</source>
-            <translation>Line</translation>
-        </message>
-        <message>
-            <source>MEN_LOCAL_CS</source>
-            <translation>Local Coordinate System</translation>
-        </message>
-        <message>
-            <source>MEN_MASS_CENTER</source>
-            <translation>Center of Mass</translation>
-        </message>
-        <message>
-            <source>MEN_MEASURES</source>
-            <translation>Measures</translation>
-        </message>
-        <message>
-            <source>MEN_MIN_DIST</source>
-            <translation>Min Distance</translation>
-        </message>
-        <message>
-            <source>MEN_MIRROR</source>
-            <translation>Mirror Image</translation>
-        </message>
-        <message>
-            <source>MEN_MODIFY_LOCATION</source>
-            <translation>Modify Location</translation>
-        </message>
-        <message>
-            <source>MEN_MUL_ROTATION</source>
-            <translation>Multi-Rotation</translation>
-        </message>
-        <message>
-            <source>MEN_MUL_TRANSFORM</source>
-            <translation>Multi-Transformation</translation>
-        </message>
-        <message>
-            <source>MEN_MUL_TRANSLATION</source>
-            <translation>Multi-Translation</translation>
-        </message>
-        <message>
-            <source>MEN_NEW_ENTITY</source>
-            <translation>New Entity</translation>
-        </message>
-        <message>
-            <source>MEN_OFFSET</source>
-            <translation>Offset Surface</translation>
-        </message>
-        <message>
-            <source>MEN_OPERATIONS</source>
-            <translation>Operations</translation>
-        </message>
-        <message>
-            <source>MEN_ORIGIN_AND_VECTORS</source>
-            <translation>Origin and Base Vectors</translation>
-        </message>
-        <message>
-            <source>MEN_PARTITION</source>
-            <translation>Partition</translation>
-        </message>
-        <message>
-            <source>MEN_PIPE</source>
-            <translation>Extrusion Along Path</translation>
-        </message>
-        <message>
-            <source>MEN_PLANE</source>
-            <translation>Plane</translation>
-        </message>
-        <message>
-            <source>MEN_POINT</source>
-            <translation>Point</translation>
-        </message>
-        <message>
-            <source>MEN_POINT_COORDS</source>
-            <translation>Point Coordinates</translation>
-        </message>
-        <message>
-            <source>MEN_POINT_ON_EDGE</source>
-            <translation>Add Point on Edge</translation>
-        </message>
-        <message>
-            <source>MEN_POP_COLOR</source>
-            <translation>Color</translation>
-        </message>
-        <message>
-            <source>MEN_POP_CREATE_GROUP</source>
-            <translation>Create Group</translation>
-        </message>
-        <message>
-            <source>MEN_POP_SHOW_CHILDREN</source>
-            <translation>Show Children</translation>
-        </message>
-        <message>
-            <source>MEN_POP_HIDE_CHILDREN</source>
-            <translation>Hide Children</translation>
-        </message>
-        <message>
-            <source>MEN_POP_ISOS</source>
-            <translation>Isos</translation>
-        </message>
-        <message>
-            <source>MEN_POP_DEFLECTION</source>
-            <translation>Deflection Coefficient</translation>
-        </message>
-        <message>
-            <source>MEN_POP_RENAME</source>
-            <translation>Rename</translation>
-        </message>
-        <message>
-            <source>MEN_POP_SHADING</source>
-            <translation>Shading</translation>
-        </message>
-        <message>
-            <source>MEN_POP_TRANSPARENCY</source>
-            <translation>Transparency</translation>
-        </message>
-        <message>
-            <source>MEN_POP_WIREFRAME</source>
-            <translation>Wireframe</translation>
-        </message>
-       <message>
-            <source>MEN_POP_VECTORS</source>
-            <translation>Show Edge Direction</translation>
-        </message>
-        <message>
-            <source>MEN_PREFERENCES</source>
-            <translation>Preferences</translation>
-        </message>
-        <message>
-            <source>MEN_PREFERENCES_GEOM</source>
-            <translation>Geometry</translation>
-        </message>
-        <message>
-            <source>MEN_PRIMITIVES</source>
-            <translation>Primitives</translation>
-        </message>
-        <message>
-            <source>MEN_ADVANCED</source>
-            <translation>Advanced</translation>
-        </message>
-        <message>
-            <source>MEN_PROPAGATE</source>
-            <translation>Propagate</translation>
-        </message>
-        <message>
-            <source>MEN_Q_FACE</source>
-            <translation>Quadrangle Face</translation>
-        </message>
-        <message>
-            <source>MEN_REPAIR</source>
-            <translation>Repair</translation>
-        </message>
-        <message>
-            <source>MEN_REVOLUTION</source>
-            <translation>Revolution</translation>
-        </message>
-        <message>
-            <source>MEN_ROTATION</source>
-            <translation>Rotation</translation>
-        </message>
-        <message>
-            <source>MEN_SCALE</source>
-            <translation>Scale Transform</translation>
-        </message>
-        <message>
-            <source>MEN_SECTION</source>
-            <translation>Section</translation>
-        </message>
-        <message>
-            <source>MEN_SELECT_ONLY</source>
-            <translation>Select Only</translation>
-        </message>
-        <message>
-            <source>MEN_SEWING</source>
-            <translation>Sewing</translation>
-        </message>
-        <message>
-            <source>MEN_SHADING</source>
-            <translation>Shading</translation>
-        </message>
-        <message>
-            <source>MEN_SHADING_COLOR</source>
-            <translation>Shading Color</translation>
-        </message>
-        <message>
-            <source>MEN_SHAPE_PROCESS</source>
-            <translation>Shape Processing</translation>
-        </message>
-        <message>
-            <source>MEN_SHELL</source>
-            <translation>Shell</translation>
-        </message>
-        <message>
-            <source>MEN_SHELL_SEL_ONLY</source>
-            <translation>Shell</translation>
-        </message>
-        <message>
-            <source>MEN_SKETCH</source>
-            <translation>2D Sketch</translation>
-        </message>
-       <message>
-            <source>MEN_3DSKETCH</source>
-            <translation>3D Sketch</translation>
-        </message>
-        <message>
-            <source>MEN_SOLID</source>
-            <translation>Solid</translation>
-        </message>
-        <message>
-            <source>MEN_SOLID_SEL_ONLY</source>
-            <translation>Solid</translation>
-        </message>
-        <message>
-            <source>MEN_SPHERE</source>
-            <translation>Sphere</translation>
-        </message>
-        <message>
-            <source>MEN_STEP_VALUE</source>
-            <translation>Step Value</translation>
-        </message>
-        <message>
-            <source>MEN_SUPPERSS_HOLES</source>
-            <translation>Suppress Holes</translation>
-        </message>
-        <message>
-            <source>MEN_SUPPRESS_FACES</source>
-            <translation>Suppress Faces</translation>
-        </message>
-        <message>
-            <source>MEN_SUPPRESS_INT_WIRES</source>
-            <translation>Suppress Internal Wires</translation>
-        </message>
-        <message>
-            <source>MEN_TOLERANCE</source>
-            <translation>Tolerance</translation>
-        </message>
-        <message>
-            <source>MEN_TOOLS</source>
-            <translation>Tools</translation>
-        </message>
-        <message>
-            <source>MEN_TORUS</source>
-            <translation>Torus</translation>
-        </message>
-        <message>
-            <source>MEN_TRANSFORMATION</source>
-            <translation>Transformation</translation>
-        </message>
-        <message>
-            <source>MEN_TRANSLATION</source>
-            <translation>Translation</translation>
-        </message>
-        <message>
-            <source>MEN_VECTOR</source>
-            <translation>Vector</translation>
-        </message>
-        <message>
-            <source>MEN_VERTEX_SEL_ONLY</source>
-            <translation>Vertex</translation>
-        </message>
-        <message>
-            <source>MEN_VIEW</source>
-            <translation>View</translation>
-        </message>
-        <message>
-            <source>MEN_WHAT_IS</source>
-            <translation>What is</translation>
-        </message>
-        <message>
-            <source>MEN_WIRE</source>
-            <translation>Wire</translation>
-        </message>
-        <message>
-            <source>MEN_VECTOR_MODE_ON</source>
-            <translation>Show Edge Direction</translation>
-        </message>
-       <message>
-            <source>MEN_VECTOR_MODE_OFF</source>
-            <translation>Hide Edge Direction</translation>
-        </message>
-       <message>
-            <source>MEN_WIREFRAME</source>
-            <translation>Wireframe</translation>
-        </message>
-        <message>
-            <source>MEN_WIRE_SEL_ONLY</source>
-            <translation>Wire</translation>
-        </message>
-        <message>
-            <source>MEN_WORK_PLANE</source>
-            <translation>Working Plane</translation>
-        </message>
-        <message>
-            <source>MEN_POP_POINT_MARKER</source>
-            <translation>Point Marker</translation>
-        </message>
-        <message>
-            <source>NAME_LBL</source>
-            <translation>Name: </translation>
-        </message>
-        <message>
-            <source>NON_GEOM_OBJECTS_SELECTED</source>
-            <translation>There are objects selected which do not belong to %1 component.</translation>
-        </message>
-        <message>
-            <source>PREF_DEFLECTION</source>
-            <translation>Deflection coefficient</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_def_precision</source>
-            <translation>Default precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_length_precision</source>
-            <translation>Length precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_angle_precision</source>
-            <translation>Angular precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_len_tol_precision</source>
-            <translation>Length tolerance precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_ang_tol_precision</source>
-            <translation>Angular tolerance precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_weight_precision</source>
-            <translation>Weight precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_density_precision</source>
-            <translation>Density precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_parametric_precision</source>
-            <translation>Parametric precision</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_param_tol_precision</source>
-            <translation>Parametric tolerance precision</translation>
-        </message>
-        <message>
-            <source>PREF_AUTO_CREATE</source>
-            <translation>Auto create</translation>
-        </message>
-        <message>
-            <source>PREF_DISPLAY_MODE</source>
-            <translation>Default display mode</translation>
-        </message>
-        <message>
-            <source>PREF_FREE_BOUND_COLOR</source>
-            <translation>Color of free boundaries</translation>
-        </message>
-        <message>
-            <source>PREF_GROUP_ORIGIN_AND_BASE_VECTORS</source>
-            <translation>Origin and base vectors</translation>
-        </message>
-        <message>
-            <source>PREF_GROUP_GENERAL</source>
-            <translation>General</translation>
-        </message>
-        <message>
-            <source>PREF_GROUP_OCCVIEWER</source>
-            <translation>OCC Viewer 3d</translation>
-        </message>
-        <message>
-            <source>GEOM_PREF_GROUP_PRECISION</source>
-            <translation>Input fields precision</translation>
-        </message>
-        <message>
-            <source>PREF_GROUP_VERTEX</source>
-            <translation>Marker of Points</translation>
-        </message>
-        <message>
-            <source>PREF_ISOS_COLOR</source>
-            <translation>Color of isolines</translation>
-        </message>
-        <message>
-            <source>PREF_LINE_COLOR</source>
-            <translation>Color of edges, vectors, wires</translation>
-        </message>
-        <message>
-            <source>PREF_MARKER_SCALE</source>
-            <translation>Size</translation>
-        </message>
-        <message>
-            <source>PREF_POINT_COLOR</source>
-            <translation>Color of points</translation>
-        </message>
-        <message>
-            <source>PREF_SHADING_COLOR</source>
-            <translation>Default shading color</translation>
-        </message>
-        <message>
-            <source>PREF_STEP_VALUE</source>
-            <translation>Step value for spin boxes</translation>
-        </message>
-        <message>
-            <source>PREF_TAB_SETTINGS</source>
-            <translation>Settings</translation>
-        </message>
-        <message>
-            <source>PREF_TYPE_OF_MARKER</source>
-            <translation>Type</translation>
-        </message>
-        <message>
-            <source>PREF_BASE_VECTORS_LENGTH</source>
-            <translation>Length of base vectors</translation>
-        </message>
-        <message>
-            <source>PREF_WIREFRAME_COLOR</source>
-            <translation>Default wireframe color</translation>
-        </message>
-        <message>
-            <source>PROCESS_SHAPE_NEW_OBJ_NAME</source>
-            <translation>ProcessShape</translation>
-        </message>
-        <message>
-            <source>REMOVE_HOLES_NEW_OBJ_NAME</source>
-            <translation>SupressHoles</translation>
-        </message>
-        <message>
-            <source>REMOVE_INT_WIRES_NEW_OBJ_NAME</source>
-            <translation>RemoveIntWires</translation>
-        </message>
-        <message>
-            <source>SEWING_NEW_OBJ_NAME</source>
-            <translation>Sewing</translation>
-        </message>
-        <message>
-            <source>STB_ALL_SEL_ONLY</source>
-            <translation>Select all Objects</translation>
-        </message>
-        <message>
-            <source>STB_ARC</source>
-            <translation>Create an arc</translation>
-        </message>
-        <message>
-            <source>STB_ARCHIMEDE</source>
-            <translation>Archimede operation</translation>
-        </message>
-        <message>
-            <source>STB_BASIC_PROPS</source>
-            <translation>Show basic properties of the shape</translation>
-        </message>
-        <message>
-            <source>STB_BND_BOX</source>
-            <translation>Compute bounding box of the shape</translation>
-        </message>
-        <message>
-            <source>STB_BOX</source>
-            <translation>Create a box</translation>
-        </message>
-        <message>
-            <source>STB_CHAMFER</source>
-            <translation>Create a chamfer</translation>
-        </message>
-        <message>
-            <source>STB_CHANGE_ORIENTATION</source>
-            <translation>Change orientation</translation>
-        </message>
-        <message>
-            <source>STB_CHECK</source>
-            <translation>Check shape validity</translation>
-        </message>
-        <message>
-            <source>STB_CHECK_COMPOUND</source>
-            <translation>Check compound of blocks</translation>
-        </message>
-        <message>
-            <source>STB_CHECK_FREE_BNDS</source>
-            <translation>Check free boundaries</translation>
-        </message>
-        <message>
-            <source>STB_CHECK_FREE_FACES</source>
-            <translation>Check free faces</translation>
-        </message>
-        <message>
-            <source>STB_CHECK_GEOMETRY</source>
-            <translation>Check Geometry</translation>
-        </message>
-        <message>
-            <source>STB_CIRCLE</source>
-            <translation>Create a circle</translation>
-        </message>
-        <message>
-            <source>STB_CLIPPING</source>
-            <translation>Clipping range</translation>
-        </message>
-        <message>
-            <source>STB_CLOSE_CONTOUR</source>
-            <translation>Perform close contour</translation>
-        </message>
-        <message>
-            <source>STB_COMMON</source>
-            <translation>Common</translation>
-        </message>
-        <message>
-            <source>STB_COMPOUND</source>
-            <translation>Build a compound</translation>
-        </message>
-        <message>
-            <source>STB_COMPOUND_SEL_ONLY</source>
-            <translation>Select only a Compounds</translation>
-        </message>
-        <message>
-            <source>STB_CONE</source>
-            <translation>Create a cone</translation>
-        </message>
-        <message>
-            <source>STB_CURVE</source>
-            <translation>Create a curve</translation>
-        </message>
-        <message>
-            <source>STB_CUT</source>
-            <translation>Cut</translation>
-        </message>
-        <message>
-            <source>STB_CYLINDER</source>
-            <translation>Create a cylinder</translation>
-        </message>
-        <message>
-            <source>STB_RECTANGLE</source>
-            <translation>Create rectangular face</translation>
-        </message>
-        <message>
-            <source>STB_DELETE</source>
-            <translation>Delete object</translation>
-        </message>
-       <message>
-            <source>STB_DISK</source>
-            <translation>Create a disk</translation>
-        </message>
-        <message>
-            <source>STB_DISPLAY</source>
-            <translation>Show object(s)</translation>
-        </message>
-        <message>
-            <source>STB_DISPLAY_ALL</source>
-            <translation>Show all</translation>
-        </message>
-        <message>
-            <source>STB_DISPLAY_ONLY</source>
-            <translation>Show only</translation>
-        </message>
-        <message>
-            <source>STB_EDGE</source>
-            <translation>Build an edge</translation>
-        </message>
-        <message>
-            <source>STB_EDGE_SEL_ONLY</source>
-            <translation>Select only a Edges</translation>
-        </message>
-        <message>
-            <source>STB_ELLIPSE</source>
-            <translation>Create an ellipse</translation>
-        </message>
-        <message>
-            <source>STB_ERASE</source>
-            <translation>Hide object(s)</translation>
-        </message>
-        <message>
-            <source>STB_ERASE_ALL</source>
-            <translation>Hide all</translation>
-        </message>
-        <message>
-            <source>STB_EXPLODE</source>
-            <translation>Explode</translation>
-        </message>
-        <message>
-            <source>STB_EXPLODE_BLOCKS</source>
-            <translation>Explode on Blocks</translation>
-        </message>
-        <message>
-            <source>STB_EXPORT</source>
-            <translation>Export geometry to BREP file</translation>
-        </message>
-        <message>
-            <source>STB_EXTRUSION</source>
-            <translation>Create an extrusion</translation>
-        </message>
-        <message>
-            <source>STB_FACE</source>
-            <translation>Build a face</translation>
-        </message>
-        <message>
-            <source>STB_FACE_SEL_ONLY</source>
-            <translation>Select only a Faces</translation>
-        </message>
-        <message>
-            <source>STB_FILLET</source>
-            <translation>Create 3D fillet</translation>
-        </message>
-        <message>
-            <source>STB_FILLET_1D</source>
-            <translation>Create 1D fillet</translation>
-        </message>
-        <message>
-            <source>STB_FILLET_2D</source>
-            <translation>Create 2D fillet</translation>
-        </message>
-        <message>
-            <source>STB_FILLING</source>
-            <translation>Create a filling</translation>
-        </message>
-        <message>
-            <source>STB_FUSE</source>
-            <translation>Fuse</translation>
-        </message>
-        <message>
-            <source>STB_GLUE_FACES</source>
-            <translation>Perform glue faces</translation>
-        </message>
-        <message>
-            <source>STB_GROUP_CREATE</source>
-            <translation>Create a group</translation>
-        </message>
-        <message>
-            <source>STB_GROUP_EDIT</source>
-            <translation>Edit a group</translation>
-        </message>
-        <message>
-            <source>STB_RELOAD_IMPORTED</source>
-            <translation>Reload imported shape from its original place on disk</translation>
-        </message>
-        <message>
-            <source>STB_HEX_SOLID</source>
-            <translation>Hexahedral Solid</translation>
-        </message>
-        <message>
-            <source>STB_IMPORT</source>
-            <translation>Import geometry from BREP file</translation>
-        </message>
-        <message>
-            <source>STB_INERTIA</source>
-            <translation>Compute moments of intertia of the shape</translation>
-        </message>
-        <message>
-            <source>STB_ISOS</source>
-            <translation>Set number of isolines</translation>
-        </message>
-        <message>
-            <source>STB_LINE</source>
-            <translation>Create a line</translation>
-        </message>
-        <message>
-            <source>STB_LOCAL_CS</source>
-            <translation>Create a local coordinate system</translation>
-        </message>
-        <message>
-            <source>STB_MASS_CENTER</source>
-            <translation>Compute center of mass of the shape</translation>
-        </message>
-        <message>
-            <source>STB_MIN_DIST</source>
-            <translation>Compute minimum distance between two objects</translation>
-        </message>
-        <message>
-            <source>STB_MIRROR</source>
-            <translation>Mirror a shape</translation>
-        </message>
-        <message>
-            <source>STB_MODIFY_LOCATION</source>
-            <translation>Modify shape's location</translation>
-        </message>
-        <message>
-            <source>STB_MUL_ROTATION</source>
-            <translation>Perform multi-rotation</translation>
-        </message>
-        <message>
-            <source>STB_MUL_TRANSFORM</source>
-            <translation>Perform multi-transformation</translation>
-        </message>
-        <message>
-            <source>STB_MUL_TRANSLATION</source>
-            <translation>Perform multi-translation</translation>
-        </message>
-        <message>
-            <source>STB_OFFSET</source>
-            <translation>Offset surface</translation>
-        </message>
-        <message>
-            <source>STB_ORIGIN_AND_VECTORS</source>
-            <translation>Create an origin and base Vectors</translation>
-        </message>
-        <message>
-            <source>STB_PARTITION</source>
-            <translation>Make a partition</translation>
-        </message>
-        <message>
-            <source>STB_PIPE</source>
-            <translation>Create a shape by extrusion along a path</translation>
-        </message>
-        <message>
-            <source>STB_PLANE</source>
-            <translation>Create a plane</translation>
-        </message>
-        <message>
-            <source>STB_POINT</source>
-            <translation>Create a point</translation>
-        </message>
-        <message>
-            <source>STB_POINT_COORDS</source>
-            <translation>Display point coordinates</translation>
-        </message>
-        <message>
-            <source>STB_POINT_ON_EDGE</source>
-            <translation>Add point on edge</translation>
-        </message>
-        <message>
-            <source>STB_POP_COLOR</source>
-            <translation>Color</translation>
-        </message>
-        <message>
-            <source>STB_POP_CREATE_GROUP</source>
-            <translation>Create Group</translation>
-        </message>
-        <message>
-            <source>STB_POP_SHOW_CHILDREN</source>
-            <translation>Show child objects</translation>
-        </message>
-        <message>
-            <source>STB_POP_HIDE_CHILDREN</source>
-            <translation>Hide child objects</translation>
-        </message>
-        <message>
-            <source>STB_POP_ISOS</source>
-            <translation>Isolines</translation>
-        </message>
-        <message>
-            <source>STB_POP_DEFLECTION</source>
-            <translation>Deflection Coefficient</translation>
-        </message>
-        <message>
-            <source>STB_POP_RENAME</source>
-            <translation>Rename</translation>
-        </message>
-        <message>
-            <source>STB_POP_SHADING</source>
-            <translation>Shading</translation>
-        </message>
-        <message>
-            <source>STB_POP_TRANSPARENCY</source>
-            <translation>Transparency</translation>
-        </message>
-        <message>
-            <source>STB_POP_WIREFRAME</source>
-            <translation>Wireframe</translation>
-        </message>
-        <message>
-            <source>STB_PROPAGATE</source>
-            <translation>Propagate</translation>
-        </message>
-        <message>
-            <source>STB_Q_FACE</source>
-            <translation>Quadrangle Face</translation>
-        </message>
-        <message>
-            <source>STB_REVOLUTION</source>
-            <translation>Create a revolution</translation>
-        </message>
-        <message>
-            <source>STB_ROTATION</source>
-            <translation>Rotate a shape</translation>
-        </message>
-        <message>
-            <source>STB_SCALE</source>
-            <translation>Scale a shape</translation>
-        </message>
-        <message>
-            <source>STB_SECTION</source>
-            <translation>Section</translation>
-        </message>
-        <message>
-            <source>STB_SEWING</source>
-            <translation>Perform sewing</translation>
-        </message>
-        <message>
-            <source>STB_SHADING</source>
-            <translation>Shading</translation>
-        </message>
-       <message>
-            <source>STB_VECTOR_MODE</source>
-            <translation>Change Edge Presentation Mode</translation>
-        </message>
-        <message>
-            <source>STB_SHADING_COLOR</source>
-            <translation>Set shading color</translation>
-        </message>
-        <message>
-            <source>STB_SHAPE_PROCESS</source>
-            <translation>Perform shape processing </translation>
-        </message>
-        <message>
-            <source>STB_SHELL</source>
-            <translation>Build a shell</translation>
-        </message>
-        <message>
-            <source>STB_SHELL_SEL_ONLY</source>
-            <translation>Select only a Shells</translation>
-        </message>
-        <message>
-            <source>STB_SKETCH</source>
-            <translation>Create 2D sketch</translation>
-        </message>
-        <message>
-            <source>STB_3DSKETCH</source>
-            <translation>Create 3D sketch</translation>
-        </message>
-        <message>
-            <source>STB_SOLID</source>
-            <translation>Build a solid</translation>
-        </message>
-        <message>
-            <source>STB_SOLID_SEL_ONLY</source>
-            <translation>Select only a Solids</translation>
-        </message>
-        <message>
-            <source>STB_SPHERE</source>
-            <translation>Create a sphere</translation>
-        </message>
-        <message>
-            <source>STB_STEP_VALUE</source>
-            <translation>Set step value</translation>
-        </message>
-        <message>
-            <source>STB_SUPPERSS_HOLES</source>
-            <translation>Perform suppress holes</translation>
-        </message>
-        <message>
-            <source>STB_SUPPRESS_FACES</source>
-            <translation>Perform suppress faces</translation>
-        </message>
-        <message>
-            <source>STB_SUPPRESS_INT_WIRES</source>
-            <translation>Perform suppress internal wires</translation>
-        </message>
-        <message>
-            <source>STB_TOLERANCE</source>
-            <translation>Compute tolerance of the shape</translation>
-        </message>
-        <message>
-            <source>STB_TORUS</source>
-            <translation>Create a torus</translation>
-        </message>
-        <message>
-            <source>STB_TRANSLATION</source>
-            <translation>Translate shape</translation>
-        </message>
-        <message>
-            <source>STB_VECTOR</source>
-            <translation>Create a vector</translation>
-        </message>
-        <message>
-            <source>STB_VERTEX_SEL_ONLY</source>
-            <translation>Select only a Points</translation>
-        </message>
-        <message>
-            <source>STB_WHAT_IS</source>
-            <translation>What is</translation>
-        </message>
-        <message>
-            <source>STB_WIRE</source>
-            <translation>Build a wire</translation>
-        </message>
-        <message>
-            <source>STB_WIRE_SEL_ONLY</source>
-            <translation>Select only a Wires</translation>
-        </message>
-        <message>
-            <source>STB_WORK_PLANE</source>
-            <translation>Create a working plane</translation>
-        </message>
-        <message>
-            <source>STB_POP_POINT_MARKER</source>
-            <translation>Set Point Marker</translation>
-        </message>
-        <message>
-            <source>SUPPRESS_RESULT</source>
-            <translation>Suppress Result</translation>
-        </message>
-        <message>
-            <source>SUPRESS_FACE_NEW_OBJ_NAME</source>
-            <translation>SupressFaces</translation>
-        </message>
-        <message>
-            <source>ShHealOper_ErrorExecution_msg</source>
-            <translation>Shape Healing algorithm failed</translation>
-        </message>
-        <message>
-            <source>ShHealOper_InvalidParameters_msg</source>
-            <translation>Incorrect parameters for Shape Healing algorithm</translation>
-        </message>
-        <message>
-            <source>ShHealOper_NotError_msg</source>
-            <translation>Shape Healing algorithm has done no modification of the original shape</translation>
-        </message>
-        <message>
-            <source>TLT_RENAME</source>
-            <translation>Rename</translation>
-        </message>
-        <message>
-            <source>TOM_O</source>
-            <translation>O</translation>
-        </message>
-        <message>
-            <source>TOM_O_PLUS</source>
-            <translation>+ in O</translation>
-        </message>
-        <message>
-            <source>TOM_O_POINT</source>
-            <translation>. in O</translation>
-        </message>
-        <message>
-            <source>TOM_O_STAR</source>
-            <translation>* in O</translation>
-        </message>
-        <message>
-            <source>TOM_O_X</source>
-            <translation>X in O</translation>
-        </message>
-        <message>
-            <source>TOM_PLUS</source>
-            <translation>+</translation>
-        </message>
-        <message>
-            <source>TOM_POINT</source>
-            <translation>.</translation>
-        </message>
-        <message>
-            <source>TOM_STAR</source>
-            <translation>*</translation>
-        </message>
-        <message>
-            <source>TOM_X</source>
-            <translation>X</translation>
-        </message>
-        <message>
-            <source>TOOL_BASIC</source>
-            <translation>Basic</translation>
-        </message>
-        <message>
-            <source>TOOL_BOOLEAN</source>
-            <translation>Boolean operations</translation>
-        </message>
-        <message>
-            <source>TOOL_GENERATION</source>
-            <translation>Generation</translation>
-        </message>
-        <message>
-            <source>TOOL_PRIMITIVES</source>
-            <translation>Primitives</translation>
-        </message>
-        <message>
-            <source>TOOL_TRANSFORMATION</source>
-            <translation>Transformation</translation>
-        </message>
-        <message>
-            <source>TOOL_BUILD</source>
-            <translation>Build</translation>
-        </message>
-        <message>
-            <source>TOOL_OPERATIONS</source>
-            <translation>Operations</translation>
-        </message>
-        <message>
-            <source>TOOL_ADVANCED</source>
-            <translation>Advanced</translation>
-        </message>
-        <message>
-            <source>TOOL_MEASURES</source>
-            <translation>Measures</translation>
-        </message>
-        <message>
-            <source>TOP_ARC</source>
-            <translation>Create an arc</translation>
-        </message>
-        <message>
-            <source>TOP_ARCHIMEDE</source>
-            <translation>Archimede</translation>
-        </message>
-        <message>
-            <source>TOP_BASIC_PROPS</source>
-            <translation>Basic properties</translation>
-        </message>
-        <message>
-            <source>TOP_BND_BOX</source>
-            <translation>Bounding box</translation>
-        </message>
-        <message>
-            <source>TOP_BOX</source>
-            <translation>Create a box</translation>
-        </message>
-        <message>
-            <source>TOP_CHAMFER</source>
-            <translation>Chamfer</translation>
-        </message>
-        <message>
-            <source>TOP_CHANGE_ORIENTATION</source>
-            <translation>Change orientation</translation>
-        </message>
-        <message>
-            <source>TOP_CHECK</source>
-            <translation>Check shape</translation>
-        </message>
-        <message>
-            <source>TOP_CHECK_COMPOUND</source>
-            <translation>Check compound of blocks</translation>
-        </message>
-        <message>
-            <source>TOP_CHECK_FREE_BNDS</source>
-            <translation>Check free boundaries</translation>
-        </message>
-        <message>
-            <source>TOP_CHECK_FREE_FACES</source>
-            <translation>Check free faces</translation>
-        </message>
-        <message>
-            <source>TOP_CHECK_GEOMETRY</source>
-            <translation>Check Geometry</translation>
-        </message>
-        <message>
-            <source>TOP_CIRCLE</source>
-            <translation>Create a circle</translation>
-        </message>
-        <message>
-            <source>TOP_CLIPPING</source>
-            <translation>Clipping range</translation>
-        </message>
-        <message>
-            <source>TOP_CLOSE_CONTOUR</source>
-            <translation>Perform close contour</translation>
-        </message>
-        <message>
-            <source>TOP_COMMON</source>
-            <translation>Common</translation>
-        </message>
-        <message>
-            <source>TOP_COMPOUND</source>
-            <translation>Build compound</translation>
-        </message>
-        <message>
-            <source>TOP_CONE</source>
-            <translation>Create a cone</translation>
-        </message>
-        <message>
-            <source>TOP_CURVE</source>
-            <translation>Create a curve</translation>
-        </message>
-        <message>
-            <source>TOP_CUT</source>
-            <translation>Cut</translation>
-        </message>
-        <message>
-            <source>TOP_CYLINDER</source>
-            <translation>Create a cylinder</translation>
-        </message>
-        <message>
-            <source>TOP_DELETE</source>
-            <translation>Delete object</translation>
-        </message>
-        <message>
-            <source>TOP_RECTANGLE</source>
-            <translation>Create rectangular face</translation>
-        </message>
-       <message>
-            <source>TOP_DISK</source>
-            <translation>Create a disk</translation>
-        </message>
-        <message>
-            <source>TOP_DISPLAY</source>
-            <translation>Show</translation>
-        </message>
-        <message>
-            <source>TOP_DISPLAY_ALL</source>
-            <translation>Show all</translation>
-        </message>
-        <message>
-            <source>TOP_DISPLAY_ONLY</source>
-            <translation>Show only</translation>
-        </message>
-        <message>
-            <source>TOP_EDGE</source>
-            <translation>Build edge</translation>
-        </message>
-        <message>
-            <source>TOP_ELLIPSE</source>
-            <translation>Create an ellipse</translation>
-        </message>
-        <message>
-            <source>TOP_ERASE</source>
-            <translation>Hide</translation>
-        </message>
-        <message>
-            <source>TOP_ERASE_ALL</source>
-            <translation>Hide all</translation>
-        </message>
-        <message>
-            <source>TOP_EXPLODE</source>
-            <translation>Explode</translation>
-        </message>
-        <message>
-            <source>TOP_EXPLODE_BLOCKS</source>
-            <translation>Explode on Blocks</translation>
-        </message>
-        <message>
-            <source>TOP_EXPORT</source>
-            <translation>Export geometry to BREP file</translation>
-        </message>
-        <message>
-            <source>TOP_EXTRUSION</source>
-            <translation>Create an extrusion</translation>
-        </message>
-        <message>
-            <source>TOP_FACE</source>
-            <translation>Build face</translation>
-        </message>
-        <message>
-            <source>TOP_FILLET</source>
-            <translation>Fillet 3D</translation>
-        </message>
-        <message>
-            <source>TOP_FILLET_1D</source>
-            <translation>Fillet 1D</translation>
-        </message>
-        <message>
-            <source>TOP_FILLET_2D</source>
-            <translation>Fillet 2D</translation>
-        </message>
-        <message>
-            <source>TOP_FILLING</source>
-            <translation>Create a filling</translation>
-        </message>
-        <message>
-            <source>TOP_FUSE</source>
-            <translation>Fuse</translation>
-        </message>
-        <message>
-            <source>TOP_GLUE_FACES</source>
-            <translation>Perform glue faces</translation>
-        </message>
-        <message>
-            <source>TOP_GROUP_CREATE</source>
-            <translation>Create a group</translation>
-        </message>
-        <message>
-            <source>TOP_GROUP_EDIT</source>
-            <translation>Edit a group</translation>
-        </message>
-        <message>
-            <source>TOP_HEX_SOLID</source>
-            <translation>Hexahedral Solid</translation>
-        </message>
-        <message>
-            <source>TOP_IMPORT</source>
-            <translation>Import geometry from BREP file</translation>
-        </message>
-        <message>
-            <source>TOP_INERTIA</source>
-            <translation>Moments of intertia</translation>
-        </message>
-        <message>
-            <source>TOP_ISOS</source>
-            <translation>Set number of isolines</translation>
-        </message>
-        <message>
-            <source>TOP_LINE</source>
-            <translation>Create a line</translation>
-        </message>
-        <message>
-            <source>TOP_LOCAL_CS</source>
-            <translation>Create a local coordinate system</translation>
-        </message>
-        <message>
-            <source>TOP_MASS_CENTER</source>
-            <translation>Center of mass</translation>
-        </message>
-        <message>
-            <source>TOP_MIN_DIST</source>
-            <translation>Minimum distance</translation>
-        </message>
-        <message>
-            <source>TOP_MIRROR</source>
-            <translation>Mirror image</translation>
-        </message>
-        <message>
-            <source>TOP_MODIFY_LOCATION</source>
-            <translation>Modify location</translation>
-        </message>
-        <message>
-            <source>TOP_MUL_ROTATION</source>
-            <translation>Multi-Rotation</translation>
-        </message>
-        <message>
-            <source>TOP_MUL_TRANSFORM</source>
-            <translation>Multi-transformation</translation>
-        </message>
-        <message>
-            <source>TOP_MUL_TRANSLATION</source>
-            <translation>Multi-Translation</translation>
-        </message>
-        <message>
-            <source>TOP_OFFSET</source>
-            <translation>Offset surface</translation>
-        </message>
-        <message>
-            <source>TOP_ORIGIN_AND_VECTORS</source>
-            <translation>Create an origin and base Vectors</translation>
-        </message>
-        <message>
-            <source>TOP_PARTITION</source>
-            <translation>Partition</translation>
-        </message>
-        <message>
-            <source>TOP_PIPE</source>
-            <translation>Extrusion along path</translation>
-        </message>
-        <message>
-            <source>TOP_PLANE</source>
-            <translation>Create a plane</translation>
-        </message>
-        <message>
-            <source>TOP_POINT</source>
-            <translation>Create a point</translation>
-        </message>
-        <message>
-            <source>TOP_POINT_COORDS</source>
-            <translation>Point coordinates</translation>
-        </message>
-        <message>
-            <source>TOP_POINT_ON_EDGE</source>
-            <translation>Add point on edge</translation>
-        </message>
-        <message>
-            <source>TOP_POP_COLOR</source>
-            <translation>Color</translation>
-        </message>
-        <message>
-            <source>TOP_POP_CREATE_GROUP</source>
-            <translation>Create Group</translation>
-        </message>
-        <message>
-            <source>TOP_POP_SHOW_CHILDREN</source>
-            <translation>Show Children</translation>
-        </message>
-        <message>
-            <source>TOP_POP_HIDE_CHILDREN</source>
-            <translation>Hide Children</translation>
-        </message>
-        <message>
-            <source>TOP_POP_ISOS</source>
-            <translation>Isolines</translation>
-        </message>
-        <message>
-            <source>TOP_POP_DEFLECTION</source>
-            <translation>Deflection Coefficient</translation>
-        </message>
-        <message>
-            <source>TOP_POP_RENAME</source>
-            <translation>Rename</translation>
-        </message>
-        <message>
-            <source>TOP_POP_SHADING</source>
-            <translation>Shading</translation>
-        </message>
-        <message>
-            <source>TOP_POP_TRANSPARENCY</source>
-            <translation>Transparency</translation>
-        </message>
-        <message>
-            <source>TOP_POP_WIREFRAME</source>
-            <translation>Wireframe</translation>
-        </message>
-        <message>
-            <source>TOP_PROPAGATE</source>
-            <translation>Propagate</translation>
-        </message>
-        <message>
-            <source>TOP_Q_FACE</source>
-            <translation>Quadrangle Face</translation>
-        </message>
-        <message>
-            <source>TOP_REVOLUTION</source>
-            <translation>Create a revolution</translation>
-        </message>
-        <message>
-            <source>TOP_ROTATION</source>
-            <translation>Rotation</translation>
-        </message>
-        <message>
-            <source>TOP_SCALE</source>
-            <translation>Scale transform</translation>
-        </message>
-        <message>
-            <source>TOP_SECTION</source>
-            <translation>Section</translation>
-        </message>
-        <message>
-            <source>TOP_SEWING</source>
-            <translation>Perform sewing</translation>
-        </message>
-        <message>
-            <source>TOP_SHADING</source>
-            <translation>Shading</translation>
-        </message>
-        <message>
-            <source>TOP_SHADING_COLOR</source>
-            <translation>Set shading color</translation>
-        </message>
-        <message>
-            <source>TOP_SHAPE_PROCESS</source>
-            <translation>Perform shape processing</translation>
-        </message>
-        <message>
-            <source>TOP_SHELL</source>
-            <translation>Build shell</translation>
-        </message>
-        <message>
-            <source>TOP_SKETCH</source>
-            <translation>2D sketch</translation>
-        </message>
-        <message>
-            <source>TOP_3DSKETCH</source>
-            <translation>3D sketch</translation>
-        </message>
-        <message>
-            <source>TOP_SOLID</source>
-            <translation>Build solid</translation>
-        </message>
-        <message>
-            <source>TOP_SPHERE</source>
-            <translation>Create a sphere</translation>
-        </message>
-        <message>
-            <source>TOP_STEP_VALUE</source>
-            <translation>Set step value</translation>
-        </message>
-        <message>
-            <source>TOP_SUPPERSS_HOLES</source>
-            <translation>Perform suppress holes</translation>
-        </message>
-        <message>
-            <source>TOP_SUPPRESS_FACES</source>
-            <translation>Perform suppress faces</translation>
-        </message>
-        <message>
-            <source>TOP_SUPPRESS_INT_WIRES</source>
-            <translation>Perform suppress internal wires</translation>
-        </message>
-        <message>
-            <source>TOP_TOLERANCE</source>
-            <translation>Tolerance</translation>
-        </message>
-        <message>
-            <source>TOP_TORUS</source>
-            <translation>Create a torus</translation>
-        </message>
-        <message>
-            <source>TOP_TRANSLATION</source>
-            <translation>Translation</translation>
-        </message>
-        <message>
-            <source>TOP_VECTOR</source>
-            <translation>Create a vector</translation>
-        </message>
-        <message>
-            <source>TOP_WHAT_IS</source>
-            <translation>What is</translation>
-        </message>
-        <message>
-            <source>TOP_WIRE</source>
-            <translation>Build wire</translation>
-        </message>
-        <message>
-            <source>TOP_WORK_PLANE</source>
-            <translation>Create a working plane</translation>
-        </message>
-        <message>
-            <source>TOP_POP_POINT_MARKER</source>
-            <translation>Point Marker</translation>
-        </message>
-        <message>
-            <source>WRN_NOT_IMPLEMENTED</source>
-            <translation>Sorry, this functionality is not yet implemented</translation>
-        </message>
-        <message>
-            <source>_S_</source>
-            <translation>(s)</translation>
-        </message>
-        <message>
-            <source>NOT_FOUND_ANY</source>
-            <translation>Not a single entity has been found</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_I</source>
-            <translation>Face %1</translation>
-        </message>
-        <message>
-            <source>GEOM_CONSTANT_RADIUS</source>
-            <translation>Radius :</translation>
-        </message>
-        <message>
-            <source>GEOM_R1</source>
-            <translation>R1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_R2</source>
-            <translation>R2 :</translation>
-        </message>
-        <message>
-            <source>GEOM_BOTHWAY</source>
-            <translation>Both Directions</translation>
-        </message>
-        <message>
-            <source>GEOM_NORMALE</source>
-            <translation>Normal To A Face</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_NORMALE</source>
-            <translation>Vector_Normal</translation>
-        </message>
-        <message>
-            <source>GEOM_LINE1</source>
-            <translation>Line 1</translation>
-        </message>
-        <message>
-            <source>GEOM_LINE2</source>
-            <translation>Line 2</translation>
-        </message>
-        <message>
-            <source>GEOM_D</source>
-            <translation>D :</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_EDGE</source>
-            <translation>Chamfer On Selected Edges</translation>
-        </message>
-        <message>
-            <source>SELECTED_EDGE</source>
-            <translation>Selected Edges</translation>
-        </message>
-        <message>
-            <source>GEOM_NORMALE_TITLE</source>
-            <translation>Create Normal To A Face</translation>
-        </message>
-        <message>
-            <source>GEOM_MEASURE_ANGLE_TITLE</source>
-            <translation>Angle Between Two Straight Edges/Lines/Vectors</translation>
-        </message>
-        <message>
-            <source>GEOM_MEASURE_ANGLE_ANGLE</source>
-            <translation>Angle</translation>
-        </message>
-        <message>
-            <source>GEOM_MEASURE_ANGLE_OBJ</source>
-            <translation>Objects And Results</translation>
-        </message>
-        <message>
-            <source>GEOM_MEASURE_ANGLE_IS</source>
-            <translation>Angle in degrees :</translation>
-        </message>
-        <message>
-            <source>GEOM_LINE_INTERSECTION</source>
-            <translation>Point On Lines Intersection</translation>
-        </message>
-        <message>
-            <source>GEOM_KEEP_NONLIMIT_SHAPES</source>
-            <translation>Keep shapes of lower type</translation>
-        </message>
-        <message>
-            <source>GEOM_CENTER_2POINTS</source>
-            <translation>Center and two points</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_EXTRA_EDGES_TITLE</source>
-            <translation>Remove extra edges</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_EXTRA_EDGES</source>
-            <translation>Object to remove extra edges</translation>
-        </message>
-        <message>
-            <source>GEOM_RMEE_UNION_FACES</source>
-            <translation>Union faces, laying on common surface</translation>
-        </message>
-        <message>
-            <source>REMOVE_EXTRA_EDGES_NEW_OBJ_NAME</source>
-            <translation>NoExtraEdges</translation>
-        </message>
-        <message>
-            <source>TOP_REMOVE_EXTRA_EDGES</source>
-            <translation>Remove extra edges</translation>
-        </message>
-        <message>
-            <source>MEN_REMOVE_EXTRA_EDGES</source>
-            <translation>Remove Extra Edges</translation>
-        </message>
-        <message>
-            <source>STB_REMOVE_EXTRA_EDGES</source>
-            <translation>Remove extra edges</translation>
-        </message>
-        <message>
-            <source>TOP_NORMALE</source>
-            <translation>Normal to a face</translation>
-        </message>
-        <message>
-            <source>MEN_NORMALE</source>
-            <translation>Normal to a Face</translation>
-        </message>
-        <message>
-            <source>STB_NORMALE</source>
-            <translation>Compute normal to the face</translation>
-        </message>
-        <message>
-            <source>TOP_MEASURE_ANGLE</source>
-            <translation>Angle</translation>
-        </message>
-        <message>
-            <source>MEN_MEASURE_ANGLE</source>
-            <translation>Angle</translation>
-        </message>
-        <message>
-            <source>STB_MEASURE_ANGLE</source>
-            <translation>Compute angle between two lines or linear edges</translation>
-        </message>
-        <message>
-            <source>TOP_POP_AUTO_COLOR</source>
-            <translation>Auto color</translation>
-        </message>
-        <message>
-            <source>MEN_POP_AUTO_COLOR</source>
-            <translation>Auto Color</translation>
-        </message>
-        <message>
-            <source>STB_POP_AUTO_COLOR</source>
-            <translation>Auto color</translation>
-        </message>
-        <message>
-            <source>TOP_POP_DISABLE_AUTO_COLOR</source>
-            <translation>Disable auto color</translation>
-        </message>
-        <message>
-            <source>MEN_POP_DISABLE_AUTO_COLOR</source>
-            <translation>Disable Auto Color</translation>
-        </message>
-        <message>
-            <source>STB_POP_DISABLE_AUTO_COLOR</source>
-            <translation>Disable auto color</translation>
-        </message>
-        <message>
-            <source>GEOM_RESULT_NAME_GRP</source>
-            <translation>Result name</translation>
-        </message>
-        <message>
-            <source>GEOM_RESULT_NAME_LBL</source>
-            <translation>Name</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_APPROX</source>
-            <translation>Approximation</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_METHOD</source>
-            <translation>Method</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_DEFAULT</source>
-            <translation>Default (standard behaviour)</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_USEORI</source>
-            <translation>Use edges orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_AUTO</source>
-            <translation>Auto-correct edges orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_WRN_NO_APPROPRIATE_SELECTION</source>
-            <translation>No appropriate objects selected</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPES_ON_SHAPE</source>
-            <translation>Get shapes on shape</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPES_ON_SHAPE_ESHAPE</source>
-            <translation>Shape for exploding</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPES_ON_SHAPE_CSHAPE</source>
-            <translation>Solid for checking</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPES_ON_SHAPE_STATE</source>
-            <translation>State</translation>
-        </message>
-        <message>
-            <source>GEOM_KIND_OF_SHAPE</source>
-            <translation>Kind of Shape :</translation>
-        </message>
-        <message>
-            <source>GEOM_CLOSED</source>
-            <translation>Closed</translation>
-        </message>
-        <message>
-            <source>GEOM_UNCLOSED</source>
-            <translation>Opened</translation>
-        </message>
-        <message>
-            <source>GEOM_CLOSEDUNCLOSED</source>
-            <translation>Not defined, Closed or Opened. Possibly, error occured.</translation>
-        </message>
-        <message>
-            <source>GEOM_DISK_CIRCLE</source>
-            <translation>Disk</translation>
-        </message>
-        <message>
-            <source>GEOM_DISK_ELLIPSE</source>
-            <translation>Elliptical face</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANAR_FACE</source>
-            <translation>Planar Face</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANAR_EDGE_WIRE</source>
-            <translation>Wire with Planar Edges</translation>
-        </message>
-        <message>
-            <source>GEOM_POLYGON</source>
-            <translation>Polygon</translation>
-        </message>
-        <message>
-            <source>GEOM_POLYHEDRON</source>
-            <translation>Polyhedron</translation>
-        </message>
-        <message>
-            <source>GEOM_NORMAL</source>
-            <translation>Normal direction</translation>
-        </message>
-        <message>
-            <source>GEOM_DIRECTION</source>
-            <translation>Direction</translation>
-        </message>
-        <message>
-            <source>GEOM_UPARAMETER</source>
-            <translation>U-parameter :</translation>
-        </message>
-        <message>
-            <source>GEOM_VPARAMETER</source>
-            <translation>V-parameter :</translation>
-        </message>
-        <message>
-            <source>GEOM_X_I</source>
-            <translation>X%1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_Y_I</source>
-            <translation>Y%1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_Z_I</source>
-            <translation>Z%1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPES_ON_SHAPE_TITLE</source>
-            <translation>Get shapes on shape</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_FACTOR_X</source>
-            <translation>Scale Factor X :</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_FACTOR_Y</source>
-            <translation>Scale Factor Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_FACTOR_Z</source>
-            <translation>Scale Factor Z :</translation>
-        </message>
-        <message>
-            <source>GEOM_STATE_IN</source>
-            <translation>IN</translation>
-        </message>
-        <message>
-            <source>GEOM_STATE_OUT</source>
-            <translation>OUT</translation>
-        </message>
-        <message>
-            <source>GEOM_STATE_ON</source>
-            <translation>ON</translation>
-        </message>
-        <message>
-            <source>GEOM_STATE_ONIN</source>
-            <translation>ONIN</translation>
-        </message>
-        <message>
-            <source>GEOM_STATE_ONOUT</source>
-            <translation>ONOUT</translation>
-        </message>
-        <message>
-            <source>GEOM_STATE_INOUT</source>
-            <translation>INOUT</translation>
-        </message>
-        <message>
-            <source>TOP_GET_SHAPES_ON_SHAPES</source>
-            <translation>Get shapes on shape</translation>
-        </message>
-        <message>
-            <source>MEN_GET_SHAPES_ON_SHAPES</source>
-            <translation>Get Shapes on Shape</translation>
-        </message>
-        <message>
-            <source>STB_GET_SHAPES_ON_SHAPES</source>
-            <translation>Get shapes on shape</translation>
-        </message>
-        <message>
-            <source>GEOM_PUBLISH_RESULT_GRP</source>
-            <translation>Advanced options</translation>
-        </message>
-        <message>
-            <source>GEOM_RESTORE_SUB_SHAPES</source>
-            <translation>Set presentation parameters and subshapes from arguments</translation>
-        </message>
-        <message>
-            <source>GEOM_RSS_ADD_FREFIX</source>
-            <translation>Add prefix to names of restored subshapes</translation>
-        </message>
-        <message>
-            <source>GEOM_ALL_IMPORT_FILES</source>
-            <translation>All supported formats ( %1 )</translation>
-        </message>
-        <message>
-            <source>GEOM_UNSUPPORTED_TYPE</source>
-            <translation>Unsupported format for the file</translation>
-        </message>
-        <message>
-            <source>GEOM_UNKNOWN_IMPORT_ERROR</source>
-            <translation>Unknown error</translation>
-        </message>
-        <message>
-            <source>GEOM_IMPORT_ERRORS</source>
-            <translation>Import operation has finished with errors:</translation>
-        </message>
-        <message>
-            <source>GEOM_PUBLISH_NAMED_SHAPES</source>
-            <translation>Create groups for named shapes (if there are any)?</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_DIMENSIONS</source>
-            <translation>Would you like to take into account the units?
+    </message>
+    <message>
+        <source> iErr : 10</source>
+        <translation>the Classifier is NULL</translation>
+    </message>
+    <message>
+        <source> iErr : 11</source>
+        <translation>the Shape is NULL</translation>
+    </message>
+    <message>
+        <source> iErr : 12</source>
+        <translation>Unallowed Type of Subshape</translation>
+    </message>
+    <message>
+        <source> iErr : 13</source>
+        <translation>Unallowed State</translation>
+    </message>
+    <message>
+        <source> iErr : 15</source>
+        <translation>Unallowed Surface Type</translation>
+    </message>
+    <message>
+        <source> iErr : 20</source>
+        <translation>Triangulation is not Found</translation>
+    </message>
+    <message>
+        <source> iErr : 30</source>
+        <translation>Can not Obtain the Line From the Link</translation>
+    </message>
+    <message>
+        <source> iErr : 40</source>
+        <translation>A Point Can Not Be Classified</translation>
+    </message>
+    <message>
+        <source> iErr : 41</source>
+        <translation>Invalid Data for Classifier</translation>
+    </message>
+    <message>
+        <source>GEOM_2D_CONTINUTY</source>
+        <translation>2D continuity</translation>
+    </message>
+    <message>
+        <source>GEOM_2D_CURVE_MODE</source>
+        <translation>2D curve mode</translation>
+    </message>
+    <message>
+        <source>GEOM_2D_TOLERANCE</source>
+        <translation>2D tolerance</translation>
+    </message>
+    <message>
+        <source>GEOM_3D_CONTINUTY</source>
+        <translation>3D continuity</translation>
+    </message>
+    <message>
+        <source>GEOM_3D_CURVE_MODE</source>
+        <translation>3D curve mode</translation>
+    </message>
+    <message>
+        <source>GEOM_3D_TOLERANCE</source>
+        <translation>3D tolerance</translation>
+    </message>
+    <message>
+        <source>GEOM_3_POINTS</source>
+        <translation>3 points</translation>
+    </message>
+    <message>
+        <source>GEOM_ADD_POINT</source>
+        <translation>Add point</translation>
+    </message>
+    <message>
+        <source>GEOM_ANGLE</source>
+        <translation>Angle :</translation>
+    </message>
+    <message>
+        <source>GEOM_ANGLE_1</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>GEOM_ARC_ELLIPSE</source>
+        <translation>Arc of ellipse</translation>
+    </message>
+    <message>
+        <source>GEOM_ARC</source>
+        <translation>Arc</translation>
+    </message>
+    <message>
+        <source>GEOM_ARCHIMEDE</source>
+        <translation>Archimede</translation>
+    </message>
+    <message>
+        <source>GEOM_ARCHIMEDE_TITLE</source>
+        <translation>Archimede Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_ARC_TITLE</source>
+        <translation>Arc Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_ARGUMENTS</source>
+        <translation>Arguments</translation>
+    </message>
+    <message>
+        <source>GEOM_AXE_MIRROR</source>
+        <translation>Axe Mirror</translation>
+    </message>
+    <message>
+        <source>GEOM_AXIS</source>
+        <translation>Axis</translation>
+    </message>
+    <message>
+        <source>GEOM_BASE</source>
+        <translation>Base</translation>
+    </message>
+    <message>
+        <source>GEOM_BASE_OBJECT</source>
+        <translation>Base Object</translation>
+    </message>
+    <message>
+        <source>GEOM_BASE_POINT</source>
+        <translation>Base Point</translation>
+    </message>
+    <message>
+        <source>GEOM_BEZIER</source>
+        <translation>Bezier</translation>
+    </message>
+    <message>
+        <source>GEOM_BINORMAL</source>
+        <translation>BiNormal</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK</source>
+        <translation>Hexahedral Solid</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCKS_COMPOUND</source>
+        <translation>BlocksCompound</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_EXPLODE</source>
+        <translation>Sub Blocks</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_EXPLODE_TITLE</source>
+        <translation>Sub Blocks Selection</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF</source>
+        <translation>Block Multi-Transformation</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF_DOUBLE</source>
+        <translation>Multi-Transformation Double</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF_SIMPLE</source>
+        <translation>Multi-Transformation Simple</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF_TITLE</source>
+        <translation>Block Multi-Transformation</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_TITLE</source>
+        <translation>Hexahedral Solid Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_BNDBOX</source>
+        <translation>Bounding Box</translation>
+    </message>
+    <message>
+        <source>GEOM_BNDBOX_OBJDIM</source>
+        <translation>Object And Its Dimensions</translation>
+    </message>
+    <message>
+        <source>GEOM_BNDBOX_TITLE</source>
+        <translation>Bounding Box Information</translation>
+    </message>
+    <message>
+        <source>GEOM_BOX</source>
+        <translation>Box</translation>
+    </message>
+    <message>
+        <source>GEOM_BOX_OBJ</source>
+        <translation>Dimensions At Origin</translation>
+    </message>
+    <message>
+        <source>GEOM_BOX_TITLE</source>
+        <translation>Box Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_BSplineRestriction</source>
+        <translation>BSplineRestriction</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_APPLY</source>
+        <translation>&amp;Apply</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_CANCEL</source>
+        <translation>&amp;Cancel</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_CLOSE</source>
+        <translation>&amp;Close</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_CLOSE_SKETCH</source>
+        <translation>Sketch Closure</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_END_SKETCH</source>
+        <translation>Sketch Validation</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_EXPLODE</source>
+        <translation>&amp;Explode</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_HELP</source>
+        <translation>&amp;Help</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_NO</source>
+        <translation>&amp;No</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_OK</source>
+        <translation>O&amp;k</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_APPLY_AND_CLOSE</source>
+        <translation>A&amp;pply and Close</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_YES</source>
+        <translation>&amp;Yes</translation>
+    </message>
+    <message>
+        <source>GEOM_BY_LENGTH</source>
+        <translation>By length</translation>
+    </message>
+    <message>
+        <source>GEOM_BY_PARAMETER</source>
+        <translation>By parameter</translation>
+    </message>
+    <message>
+        <source>GEOM_CENTER</source>
+        <translation>Center</translation>
+    </message>
+    <message>
+        <source>GEOM_CENTER_POINT</source>
+        <translation>Center Point</translation>
+    </message>
+    <message>
+        <source>GEOM_CENTRAL_POINT</source>
+        <translation>Central Point</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER</source>
+        <translation>Chamfer</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_ABORT</source>
+        <translation>Chamfer can&apos;t be computed with %1 and %2</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_ALL</source>
+        <translation>Chamfer On Whole Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_EDGES</source>
+        <translation>Chamfer On Edges From Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_FACES</source>
+        <translation>Chamfer On Faces From Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_TITLE</source>
+        <translation>Chamfer Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_CHANGE_ORIENTATION</source>
+        <translation>Objects to change orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_CHANGE_ORIENTATION_TITLE</source>
+        <translation>Change orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND</source>
+        <translation>Check and Improve Blocks Compound</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_FAILED</source>
+        <translation>Check failed</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_ERRORS</source>
+        <translation>Errors</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_ERRORS</source>
+        <translation>The Compound of Blocks has errors</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_NO_ERRORS</source>
+        <translation>The Compound of Blocks has no errors</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES</source>
+        <translation>Incriminated Sub-Shapes</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_INFOS</source>
+        <translation>Object And Its Topological Information</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_SHAPE</source>
+        <translation>Check Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_TITLE</source>
+        <translation>Check Shape Information</translation>
+    </message>
+    <message>
+        <source>GEOM_CIRCLE</source>
+        <translation>Circle</translation>
+    </message>
+    <message>
+        <source>GEOM_CIRCLE_TITLE</source>
+        <translation>Circle Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_CLOSECONTOUR_TITLE</source>
+        <translation>Close contour</translation>
+    </message>
+    <message>
+        <source>GEOM_CMASS</source>
+        <translation>Center Of Mass</translation>
+    </message>
+    <message>
+        <source>GEOM_CMASS_TITLE</source>
+        <translation>Center Of Mass Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_COMMON</source>
+        <translation>Common</translation>
+    </message>
+    <message>
+        <source>GEOM_COMMON_TITLE</source>
+        <translation>Common Of Two Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_COMPOUND</source>
+        <translation>Compound</translation>
+    </message>
+    <message>
+        <source>GEOM_COMPOUNDSOLID</source>
+        <translation>CompSolid</translation>
+    </message>
+    <message>
+        <source>GEOM_COMPOUND_TITLE</source>
+        <translation>Create A Compound</translation>
+    </message>
+    <message>
+        <source>GEOM_CONE</source>
+        <translation>Cone</translation>
+    </message>
+    <message>
+        <source>GEOM_CONE_TITLE</source>
+        <translation>Cone Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_CONFIRM</source>
+        <translation>Confirm operation</translation>
+    </message>
+    <message>
+        <source>GEOM_CONFIRM_INFO</source>
+        <translation>Shape contains %1 sub shapes !</translation>
+    </message>
+    <message>
+        <source>GEOM_COOR</source>
+        <translation>Coord. :</translation>
+    </message>
+    <message>
+        <source>GEOM_COORDINATES</source>
+        <translation>Coordinates</translation>
+    </message>
+    <message>
+        <source>GEOM_COORDINATES_RES</source>
+        <translation>Result coordinates</translation>
+    </message>
+    <message>
+        <source>GEOM_CREATE_COPY</source>
+        <translation>Create a copy</translation>
+    </message>
+    <message>
+        <source>GEOM_CREATE_SINGLE_SOLID</source>
+        <translation>Create a single solid</translation>
+    </message>
+    <message>
+        <source>GEOM_CURVE</source>
+        <translation>Curve</translation>
+    </message>
+    <message>
+        <source>GEOM_CURVE_CONTINUTY</source>
+        <translation>Curve continuity</translation>
+    </message>
+    <message>
+        <source>GEOM_CURVE_TITLE</source>
+        <translation>Curve Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_CUT</source>
+        <translation>Cut</translation>
+    </message>
+    <message>
+        <source>GEOM_CUT_TITLE</source>
+        <translation>Cut Of Two Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_CYLINDER</source>
+        <translation>Cylinder</translation>
+    </message>
+    <message>
+        <source>GEOM_CYLINDER_TITLE</source>
+        <translation>Cylinder Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_D1</source>
+        <translation>D1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_D2</source>
+        <translation>D2 :</translation>
+    </message>
+    <message>
+        <source>GEOM_DETECT</source>
+        <translation>Detect</translation>
+    </message>
+    <message>
+        <source>GEOM_DIAGONAL_POINTS</source>
+        <translation>Diagonal Points</translation>
+    </message>
+    <message>
+        <source>GEOM_DISK</source>
+        <translation>Disk</translation>
+    </message>
+    <message>
+        <source>GEOM_DISK_TITLE</source>
+        <translation>Disk Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_DIMENSIONS</source>
+        <translation>Dimensions</translation>
+    </message>
+    <message>
+        <source>GEOM_DISTANCE</source>
+        <translation>Distance</translation>
+    </message>
+    <message>
+        <source>GEOM_DIVIDE_EDGE_TITLE</source>
+        <translation>Addition of point</translation>
+    </message>
+    <message>
+        <source>GEOM_DX</source>
+        <translation>Dx :</translation>
+    </message>
+    <message>
+        <source>GEOM_DY</source>
+        <translation>Dy :</translation>
+    </message>
+    <message>
+        <source>GEOM_DZ</source>
+        <translation>Dz :</translation>
+    </message>
+    <message>
+        <source>GEOM_DropSmallEdges</source>
+        <translation>DropSmallEdges</translation>
+    </message>
+    <message>
+        <source>GEOM_EDGE</source>
+        <translation>Edge</translation>
+    </message>
+    <message>
+        <source>GEOM_EDGE_TITLE</source>
+        <translation>Create An Edge</translation>
+    </message>
+    <message>
+        <source>GEOM_ELLIPSE</source>
+        <translation>Ellipse</translation>
+    </message>
+    <message>
+        <source>GEOM_ELLIPSE_ERROR_1</source>
+        <translation>Error creating ellipse.  Reason: minor radius is greater than major radius.</translation>
+    </message>
+    <message>
+        <source>GEOM_ELLIPSE_TITLE</source>
+        <translation>Ellipse Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_END_LCS</source>
+        <translation>End LCS</translation>
+    </message>
+    <message>
+        <source>GEOM_ERROR</source>
+        <translation>Error</translation>
+    </message>
+    <message>
+        <source>GEOM_ERROR_STATUS</source>
+        <translation>Operation status</translation>
+    </message>
+    <message>
+        <source>GEOM_ERR_GET_ENGINE</source>
+        <translation>Failed to obtain GEOM Engine component.  Reload Geometry module and try again.</translation>
+    </message>
+    <message>
+        <source>GEOM_ERR_LIB_NOT_FOUND</source>
+        <translation>GUI library corresponding to the user action can not be found or loaded</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION</source>
+        <translation>Extrusion</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_BSV</source>
+        <translation>Base Shape + Vector</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_BSV_2P</source>
+        <translation>Base Shape + 2 Points</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_DXDYDZ</source>
+        <translation>Base Shape + DX DY DZ Vector</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_TITLE</source>
+        <translation>Construction by Extrusion</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>GEOM_CS</source>
+        <translation>Coordinate system</translation>
+    </message>
+    <message>
+        <source>GEOM_GCS</source>
+        <translation>Global coordinate system</translation>
+    </message>
+    <message>
+        <source>GEOM_LCS</source>
+        <translation>Local coordinate system</translation>
+    </message>
+    <message>
+        <source>GEOM_FACES</source>
+        <translation>Faces</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_FFW</source>
+        <translation>Face creation from wires and/or edges</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_OPT</source>
+        <translation>Try to create a planar face</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_OR_LCS</source>
+        <translation>Face or LCS</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_SELECTION</source>
+        <translation>Face Selection</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_TITLE</source>
+        <translation>Create A Face</translation>
+    </message>
+    <message>
+        <source>GEOM_RECTANGLE_TITLE</source>
+        <translation>Rectangle Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_RECTANGLE</source>
+        <translation>Rectangle</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET</source>
+        <translation>Fillet</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_2D</source>
+        <translation>Fillet 2D</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_1D</source>
+        <translation>Fillet 1D</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_ABORT</source>
+        <translation>Fillet can&apos;t be computed with radius %1</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_ALL</source>
+        <translation>Fillet On Whole Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_EDGES</source>
+        <translation>Fillet On Edges From Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_WIRES</source>
+        <translation>Fillet On Wires From Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_FACES</source>
+        <translation>Fillet On Faces From Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_VERTEXES</source>
+        <translation>Fillet On Vertexes From Face</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_TITLE</source>
+        <translation>Fillet Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_2D_TITLE</source>
+        <translation>2D Fillet Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_1D_TITLE</source>
+        <translation>1D Fillet Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING</source>
+        <translation>Filling</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_ARG</source>
+        <translation>Arguments And Parameters</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_COMPOUND</source>
+        <translation>Input compound</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_MAX_DEG</source>
+        <translation>Max deg</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_MIN_DEG</source>
+        <translation>Min deg</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_NB_ITER</source>
+        <translation>Nb. Iter :</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_TITLE</source>
+        <translation>Filling Surface With Edges</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_TOL_2D</source>
+        <translation>Tol. 2D :</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_TOL_3D</source>
+        <translation>Tol. 3D :</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDARIES</source>
+        <translation>Free boundaries</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDS_ERROR</source>
+        <translation>Object is not selected</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDS_MSG</source>
+        <translation>Number of free boundaries detected: %1 (%2 closed, %3 open)</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDS_TLT</source>
+        <translation>Free boundary detection</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_FACES</source>
+        <translation>Free faces</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_FACES_TITLE</source>
+        <translation>Free faces</translation>
+    </message>
+    <message>
+        <source>GEOM_FUSE</source>
+        <translation>Fuse</translation>
+    </message>
+    <message>
+        <source>GEOM_FUSE_TITLE</source>
+        <translation>Fuse Two Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_FixFaceSize</source>
+        <translation>FixFaceSize</translation>
+    </message>
+    <message>
+        <source>GEOM_FixShape</source>
+        <translation>FixShape</translation>
+    </message>
+    <message>
+        <source>GEOM_GLUE</source>
+        <translation>Glue</translation>
+    </message>
+    <message>
+        <source>GEOM_GLUE_TITLE</source>
+        <translation>Glue faces</translation>
+    </message>
+    <message>
+        <source>GEOM_LIMIT_TOLERANCE_TITLE</source>
+        <translation>Limit tolerance</translation>
+    </message>
+    <message>
+        <source>GEOM_HEIGHT</source>
+        <translation>Height :</translation>
+    </message>
+    <message>
+        <source>GEOM_HOLES</source>
+        <translation>Holes</translation>
+    </message>
+    <message>
+        <source>GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE</source>
+        <translation>Identical names : select by mouse !</translation>
+    </message>
+    <message>
+        <source>GEOM_IMPORT</source>
+        <translation>Imported_Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_INCORRECT_INPUT</source>
+        <translation>Incorrect Input Data!</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_CONSTR</source>
+        <translation>Matrix And Moments Of Inertia</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_I</source>
+        <translation>%1:1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_IXYZ</source>
+        <translation>IX &amp; IY &amp; IZ :</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_TITLE</source>
+        <translation>Calculs Of Inertia</translation>
+    </message>
+    <message>
+        <source>GEOM_INF_LOADED</source>
+        <translation>File %1 loaded.</translation>
+    </message>
+    <message>
+        <source>GEOM_INTERNAL_WIRES</source>
+        <translation>Internal wires</translation>
+    </message>
+    <message>
+        <source>GEOM_INTERPOL</source>
+        <translation>Interpolation</translation>
+    </message>
+    <message>
+        <source>GEOM_KEEP_OBJECT</source>
+        <translation>Keep Object</translation>
+    </message>
+    <message>
+        <source>GEOM_LENGTH</source>
+        <translation>Length :</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE</source>
+        <translation>Line</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE_TITLE</source>
+        <translation>Line Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_MAIN_OBJECT</source>
+        <translation>Main Object</translation>
+    </message>
+    <message>
+        <source>GEOM_MARKER</source>
+        <translation>Marker</translation>
+    </message>
+    <message>
+        <source>GEOM_MARKER_TITLE</source>
+        <translation>Create marker</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_ID</source>
+        <translation>Material ID:</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_MATERIAL</source>
+        <translation>Material</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_SET</source>
+        <translation>&lt;&lt; Set</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_SHAPE</source>
+        <translation>Shapes</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_TITLE</source>
+        <translation>Define materials for Dominant Fuse</translation>
+    </message>
+    <message>
+        <source>GEOM_MATRIX</source>
+        <translation>Matrix :</translation>
+    </message>
+    <message>
+        <source>GEOM_MAX</source>
+        <translation>Max :</translation>
+    </message>
+    <message>
+        <source>GEOM_MAX_3D_TOLERANCE</source>
+        <translation>Max 3D tolerance</translation>
+    </message>
+    <message>
+        <source>GEOM_MAX_TOLERANCE</source>
+        <translation>Max tolerance</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ALL_FILES</source>
+        <translation>All Files ( * )</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ANGLE</source>
+        <translation>Angle :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_COMPONENT</source>
+        <translation>Geometry</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ENTER_ANGLE</source>
+        <translation>Enter An Angle In Degrees</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_EXPORT</source>
+        <translation>Export</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_IMPORT</source>
+        <translation>Import</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ISOS</source>
+        <translation>Select Number Of Isos</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ISOU</source>
+        <translation>Isos U :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ISOV</source>
+        <translation>Isos V :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_POPUP_NAME</source>
+        <translation>%1 Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_SHADING</source>
+        <translation>Shading</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_SKETCHER_X</source>
+        <translation>Enter a Length to Set X</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_SKETCHER_Y</source>
+        <translation>Enter a Length to Set Y</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_STEP_LABEL</source>
+        <translation>Step :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_TRANSPARENCY</source>
+        <translation>Transparency</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_TRANSPARENCY_LABEL</source>
+        <translation>Transparency :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_WIREFRAME</source>
+        <translation>Wireframe</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_X</source>
+        <translation>X :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_Y</source>
+        <translation>Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_MESHING_DEFLECTION</source>
+        <translation>Meshing Deflect. :</translation>
+    </message>
+    <message>
+        <source>GEOM_MIN</source>
+        <translation>Min :</translation>
+    </message>
+    <message>
+        <source>GEOM_MINDIST_OBJ</source>
+        <translation>Objects And Results</translation>
+    </message>
+    <message>
+        <source>GEOM_MINDIST_TITLE</source>
+        <translation>Minimun Distance Between Two Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_MIRROR</source>
+        <translation>Mirror</translation>
+    </message>
+    <message>
+        <source>GEOM_MIRROR_TITLE</source>
+        <translation>Mirror An Object</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION_DOUBLE</source>
+        <translation>Multi Rotation Double</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION_SIMPLE</source>
+        <translation>Multi Rotation Simple</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION_TITLE</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION_DOUBLE</source>
+        <translation>Multi Translation Double</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION_SIMPLE</source>
+        <translation>Multi Translation Simple</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION_TITLE</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>GEOM_NAME_INCORRECT</source>
+        <translation>Object name not found</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_BLOCKS_NO_OTHERS</source>
+        <translation>There are %1 specified blocks and NO other solids</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_BLOCKS_SOME_OTHERS</source>
+        <translation>There are %1 specified blocks and some other solids</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_TIMES</source>
+        <translation>Nb. Times :</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_TIMES_U</source>
+        <translation>Nb. Times U :</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_TIMES_V</source>
+        <translation>Nb. Times V :</translation>
+    </message>
+    <message>
+        <source>GEOM_NODES</source>
+        <translation>Nodes</translation>
+    </message>
+    <message>
+        <source>GEOM_NUM_SPLIT_POINTS</source>
+        <translation>Number of splitting points</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT</source>
+        <translation>Object</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT_TYPE</source>
+        <translation>Object Type</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECTS</source>
+        <translation>Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT_I</source>
+        <translation>Object %1</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT_RESULT</source>
+        <translation>Object And Result</translation>
+    </message>
+    <message>
+        <source>GEOM_OFFSET</source>
+        <translation>Offset</translation>
+    </message>
+    <message>
+        <source>GEOM_OFFSET_TITLE</source>
+        <translation>Offset Surface</translation>
+    </message>
+    <message>
+        <source>GEOM_OPERATIONS</source>
+        <translation>Operations</translation>
+    </message>
+    <message>
+        <source>GEOM_ORIENTATION</source>
+        <translation>Orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_ORIENTATION_OPT</source>
+        <translation>Reverse orientation with normal vectors simulation</translation>
+    </message>
+    <message>
+        <source>GEOM_ORIENTATION_TITLE</source>
+        <translation>Change Orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_PARAMETER</source>
+        <translation>Parameter :</translation>
+    </message>
+    <message>
+        <source>GEOM_PARAMETERS</source>
+        <translation>Parameters</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_ON_EDGE</source>
+        <translation>Point on Edge</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_ON_FACE</source>
+        <translation>Point on Face</translation>
+    </message>
+    <message>
+        <source>GEOM_PARAM_VALUE</source>
+        <translation>By parameter</translation>
+    </message>
+    <message>
+        <source>GEOM_COORD_VALUE</source>
+        <translation>By coordinate</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION</source>
+        <translation>Partition</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_PARTITION_RESULT_EMPTY</source>
+        <translation>The partition result is empty, please verify the reconstruction limit parameter.</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION_HALFSPACE</source>
+        <translation>Half-space partition</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION_ORIENTATION</source>
+        <translation>Change Orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION_TITLE</source>
+        <translation>Partition Of Object With Tool</translation>
+    </message>
+    <message>
+        <source>GEOM_PATH_OBJECT</source>
+        <translation>Path Object</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE</source>
+        <translation>Pipe</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TITLE</source>
+        <translation>Pipe Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_SEGMENT</source>
+        <translation>Segment of straight line</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECT_UNPUBLISHED_EDGES</source>
+        <translation>Select unpublished edges</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE</source>
+        <translation>Plane</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_MIRROR</source>
+        <translation>Plane Mirror</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_PV</source>
+        <translation>Point + Vector</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_PVC</source>
+        <translation>Point + Coordinate Vector</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_SIZE</source>
+        <translation>Size of plane :</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_TITLE</source>
+        <translation>Plane Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT1</source>
+        <translation>Point 1</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT2</source>
+        <translation>Point 2</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT3</source>
+        <translation>Point 3</translation>
+    </message>
+    <message>
+        <source>GEOM_POINTS</source>
+        <translation>Points</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_I</source>
+        <translation>Point %1</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_MIRROR</source>
+        <translation>Point Mirror</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_TITLE</source>
+        <translation>Point Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_POLYLINE</source>
+        <translation>Polyline</translation>
+    </message>
+    <message>
+        <source>GEOM_POSITION</source>
+        <translation>Location</translation>
+    </message>
+    <message>
+        <source>GEOM_POSITION_TITLE</source>
+        <translation>Modify the Location of an Object</translation>
+    </message>
+    <message>
+        <source>GEOM_PRECISION</source>
+        <translation>Precision :</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPAGATE</source>
+        <translation>Propagate</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPAGATE_TITLE</source>
+        <translation>Propagate</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES</source>
+        <translation>Basic Properties</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_CONSTR</source>
+        <translation>Object And Its Properties</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_SURFACE</source>
+        <translation>Surface is :</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_TITLE</source>
+        <translation>Basic Properties Information</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_VOLUME</source>
+        <translation>Volume is :</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_ABORT</source>
+        <translation>Operation aborted</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_COMMAND</source>
+        <translation>No command associated with this id = %1.</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_DONE</source>
+        <translation>Operation done</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_EXPORT</source>
+        <translation>Exporting geometry to %1 ...</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_LOADING</source>
+        <translation>Loading %1 ...</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_MIN_DIST</source>
+        <translation>Min Distance not computed</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_NOT_FOR_VTK_VIEWER</source>
+        <translation>Not allowed in VTK viewer</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_NULLSHAPE</source>
+        <translation>Error, null or inappropriate shape !</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_READY</source>
+        <translation>Ready</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_EDGE</source>
+        <translation>Select edges and click on Apply</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_FACE</source>
+        <translation>Select faces to suppress and click on Ok/Apply</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_FIRST</source>
+        <translation>Select main shape first</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_SUBSHAPES</source>
+        <translation>Select Sub Shapes</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SHAPE_IN_STUDY</source>
+        <translation>Main shape must be in the study before</translation>
+    </message>
+    <message>
+        <source>GEOM_QUAD_FACE</source>
+        <translation>Quadrangle Face</translation>
+    </message>
+    <message>
+        <source>GEOM_QUAD_FACE_TITLE</source>
+        <translation>Quadrangle Face Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS</source>
+        <translation>Radius :</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS_I</source>
+        <translation>Radius %1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS_MAJOR</source>
+        <translation>Major radius :</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS_MINOR</source>
+        <translation>Minor radius :</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT</source>
+        <translation>Resulting Type</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_EDGE</source>
+        <translation>Edge</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_FACE</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_SHAPE</source>
+        <translation>Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_SHELL</source>
+        <translation>Shell</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_SOLID</source>
+        <translation>Solid</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_VERTEX</source>
+        <translation>Vertex</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_WIRE</source>
+        <translation>Wire</translation>
+    </message>
+    <message>
+        <source>GEOM_REF_POINT</source>
+        <translation>Point with reference</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_ALL_HOLES</source>
+        <translation>Remove all holes</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_ALL_INT_WIRES</source>
+        <translation>Remove all internal wires</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_HOLES_TITLE</source>
+        <translation>Suppress holes</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_INTERNAL_WIRES_TITLE</source>
+        <translation>Suppress internal wires</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_WEBS</source>
+        <translation>Remove webs</translation>
+    </message>
+    <message>
+        <source>GEOM_REQUIRED_DEGREE</source>
+        <translation>Required degree</translation>
+    </message>
+    <message>
+        <source>GEOM_REQUIRED_NUM_SEGMENTS</source>
+        <translation>Required number of segments</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE</source>
+        <translation>Reverse</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_DIRECTION</source>
+        <translation>Reverse Direction</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_PLANE</source>
+        <translation>Reverse the plane normal</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_U</source>
+        <translation>Reverse U</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_V</source>
+        <translation>Reverse V</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_VECTOR</source>
+        <translation>Reverse Vector</translation>
+    </message>
+    <message>
+        <source>GEOM_REVOLUTION</source>
+        <translation>Revolution</translation>
+    </message>
+    <message>
+        <source>GEOM_REVOLUTION_TITLE</source>
+        <translation>Construction By Revolution</translation>
+    </message>
+    <message>
+        <source>GEOM_ROTATION</source>
+        <translation>Rotation</translation>
+    </message>
+    <message>
+        <source>GEOM_ROTATION_TITLE</source>
+        <translation>Rotation Of An Object</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE</source>
+        <translation>Scale</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR</source>
+        <translation>Scale Factor :</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_TITLE</source>
+        <translation>Scale An Object</translation>
+    </message>
+    <message>
+        <source>GEOM_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>GEOM_SECTION_TITLE</source>
+        <translation>Section Of Two Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTED_FACE</source>
+        <translation>Selected face</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTED_OBJECTS</source>
+        <translation>Selected objects</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTED_SHAPE</source>
+        <translation>Selected shape</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTION</source>
+        <translation>Selection</translation>
+    </message>
+    <message>
+        <source>GEOM_SET_MATERIALS</source>
+        <translation>Set materials</translation>
+    </message>
+    <message>
+        <source>GEOM_SEWING</source>
+        <translation>Sewing</translation>
+    </message>
+    <message>
+        <source>GEOM_SEWING_TITLE</source>
+        <translation>Topological sewing</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPE</source>
+        <translation>Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPEPROCESS_TITLE</source>
+        <translation>Shape Processing</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES</source>
+        <translation>Shapes</translation>
+    </message>
+    <message>
+        <source>GEOM_SHELL</source>
+        <translation>Shell</translation>
+    </message>
+    <message>
+        <source>GEOM_SHELLS</source>
+        <translation>Shells</translation>
+    </message>
+    <message>
+        <source>GEOM_SHELL_TITLE</source>
+        <translation>Shell Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ABS</source>
+        <translation>Absolute</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ANGLE2</source>
+        <translation>Angle :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_APPLY</source>
+        <translation>Apply</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ARC</source>
+        <translation>Arc</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DEST</source>
+        <translation>Destination</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DIR</source>
+        <translation>Direction</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DX2</source>
+        <translation>DX :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DY2</source>
+        <translation>DY :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DZ2</source>
+        <translation>DZ :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_EL</source>
+        <translation>Element Type</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_RESTORE</source>
+        <translation>Restore</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_LENGTH</source>
+        <translation>Length</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_LENGTH2</source>
+        <translation>Length :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_PER</source>
+        <translation>Perpendicular</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_POINT2</source>
+        <translation>Point :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_RADIUS2</source>
+        <translation>Radius :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_REL</source>
+        <translation>Relative</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_SEGMENT</source>
+        <translation>Segment</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_SEL</source>
+        <translation>Selection</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_TAN</source>
+        <translation>Tangent</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_TITLE</source>
+        <translation>2D Sketch Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_3DSKETCHER_TITLE</source>
+        <translation>3D Sketch Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_TYPE</source>
+        <translation>Type</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_UNDO</source>
+        <translation>Undo</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VALUES</source>
+        <translation>Values</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VX2</source>
+        <translation>VX :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VXVY</source>
+        <translation>VX-VY</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VY2</source>
+        <translation>VY :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_X</source>
+        <translation>X</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_X2</source>
+        <translation>X :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_X3</source>
+        <translation>Abs. X :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Y</source>
+        <translation>Y</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Y2</source>
+        <translation>Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Y3</source>
+        <translation>Abs. Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Z2</source>
+        <translation>Z :</translation>
+    </message>
+    <message>
+        <source>GEOM_3DSKETCHER</source>
+        <translation>3D Sketcher</translation>
+    </message>
+    <message>
+        <source>GEOM_COORDINATES_TYPE</source>
+        <translation>Coordinates Type</translation>
+    </message>
+    <message>
+        <source>GEOM_SOLID</source>
+        <translation>Solid</translation>
+    </message>
+    <message>
+        <source>GEOM_SOLID_TITLE</source>
+        <translation>Solid Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE</source>
+        <translation>Sphere</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE_CR</source>
+        <translation>Center + Radius</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE_RO</source>
+        <translation>Radius At Origin</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE_TITLE</source>
+        <translation>Sphere Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_SPLINE</source>
+        <translation>Spline</translation>
+    </message>
+    <message>
+        <source>GEOM_SPLINE_TITLE</source>
+        <translation>Spline Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_START_LCS</source>
+        <translation>Start LCS</translation>
+    </message>
+    <message>
+        <source>SELECT_UNPUBLISHED_EDGES</source>
+        <translation>Select unpublished edges</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP</source>
+        <translation>Step :</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP_TITLE</source>
+        <translation>Step value for GUI constructions</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP_U</source>
+        <translation>Step U :</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP_V</source>
+        <translation>Step V :</translation>
+    </message>
+    <message>
+        <source>GEOM_STUDY_LOCKED</source>
+        <translation>The active study is locked and therefore cannot be modified</translation>
+    </message>
+    <message>
+        <source>GEOM_SUBSHAPE_SELECT</source>
+        <translation>Select Sub Shapes</translation>
+    </message>
+    <message>
+        <source>GEOM_SUBSHAPE_TITLE</source>
+        <translation>Sub Shapes Selection</translation>
+    </message>
+    <message>
+        <source>GEOM_SUBSHAPE_TYPE</source>
+        <translation>Sub Shapes Type :</translation>
+    </message>
+    <message>
+        <source>GEOM_SUB_SHAPE</source>
+        <translation>Sub Shapes</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_FACE_SHELL</source>
+        <translation>Face or shell</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTFACE</source>
+        <translation>Select the face with hole</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTFACE_END</source>
+        <translation>Select end face (if hole traversing)</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTWIRE</source>
+        <translation>Select wire on face</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTWIRE_END</source>
+        <translation>Select end wire (if hole traversing)</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE</source>
+        <translation>Select hole(s) on the face</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_TITLE</source>
+        <translation>Suppress holes</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESS_RESULT</source>
+        <translation>Suppress Result</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESS_RESULT_INSIDE</source>
+        <translation>Inside</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESS_RESULT_OUTSIDE</source>
+        <translation>Outside</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPRESSFACE</source>
+        <translation>Supress Face</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPRESSFACE_SELECT</source>
+        <translation>Select Faces To Suppress</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPRESSFACE_TITLE</source>
+        <translation>Suppress Faces In An Object</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFACE_CONTINUTY</source>
+        <translation>Surface continuity</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFACE_MODE</source>
+        <translation>Surface mode</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFCONE</source>
+        <translation>Conical Face</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFCYLINDER</source>
+        <translation>Cylindrical Face</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFSPHERE</source>
+        <translation>Spherical Face</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFTORUS</source>
+        <translation>Toroidal Face</translation>
+    </message>
+    <message>
+        <source>GEOM_SameParameter</source>
+        <translation>SameParameter</translation>
+    </message>
+    <message>
+        <source>GEOM_SplitAngle</source>
+        <translation>SplitAngle</translation>
+    </message>
+    <message>
+        <source>GEOM_SplitClosedFaces</source>
+        <translation>SplitClosedFaces</translation>
+    </message>
+    <message>
+        <source>GEOM_SplitContinuity</source>
+        <translation>SplitContinuity</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE</source>
+        <translation>Tolerance</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_CONSTR</source>
+        <translation>Object And Its Tolerances</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_EDGE</source>
+        <translation>Edge :</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_FACE</source>
+        <translation>Face :</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_TITLE</source>
+        <translation>Maximum Tolerance</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_VERTEX</source>
+        <translation>Vertex :</translation>
+    </message>
+    <message>
+        <source>GEOM_TOOL_OBJECT</source>
+        <translation>Tool Object</translation>
+    </message>
+    <message>
+        <source>GEOM_TOOL_OBJECTS</source>
+        <translation>Tool Objects</translation>
+    </message>
+    <message>
+        <source>GEOM_TORUS</source>
+        <translation>Torus</translation>
+    </message>
+    <message>
+        <source>GEOM_TORUS_TITLE</source>
+        <translation>Torus Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSLATION</source>
+        <translation>Translation</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSLATION_COOR</source>
+        <translation>Translation With Coordinates</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSLATION_TITLE</source>
+        <translation>Translation Of An Object</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSPARENCY_OPAQUE</source>
+        <translation>Opaque</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSPARENCY_TITLE</source>
+        <translation>Transparency</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSPARENCY_TRANSPARENT</source>
+        <translation>Transparent</translation>
+    </message>
+    <message>
+        <source>GEOM_TRIHEDRON</source>
+        <translation>Trihedron</translation>
+    </message>
+    <message>
+        <source>GEOM_ToBezier</source>
+        <translation>ToBezier</translation>
+    </message>
+    <message>
+        <source>GEOM_VALUE</source>
+        <translation>Value</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR</source>
+        <translation>Vector</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_LENGTH</source>
+        <translation>Vector Length :</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_TITLE</source>
+        <translation>Vector Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_U</source>
+        <translation>Vector U</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_V</source>
+        <translation>Vector V</translation>
+    </message>
+    <message>
+        <source>GEOM_VERTEX</source>
+        <translation>Vertex</translation>
+    </message>
+    <message>
+        <source>GEOM_VERTEXES</source>
+        <translation>Vertexes</translation>
+    </message>
+    <message>
+        <source>GEOM_WATER_DENSITY</source>
+        <translation>Water Density :</translation>
+    </message>
+    <message>
+        <source>GEOM_WEIGHT</source>
+        <translation>Weight :</translation>
+    </message>
+    <message>
+        <source>GEOM_WIDTH</source>
+        <translation>Width :</translation>
+    </message>
+    <message>
+        <source>GEOM_WHATIS</source>
+        <translation>Whatis</translation>
+    </message>
+    <message>
+        <source>GEOM_WHATIS_OBJECT</source>
+        <translation>Object And Its Topological Information</translation>
+    </message>
+    <message>
+        <source>GEOM_WHATIS_TITLE</source>
+        <translation>Whatis Information</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRE</source>
+        <translation>Wire</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRES</source>
+        <translation>Wire(s)</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRES_TO_REMOVE</source>
+        <translation>Wires to remove</translation>
+    </message>
+    <message>
+        <source>GEOM_WIREZ</source>
+        <translation>Wires</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRE_CONNECT</source>
+        <translation>Wire creation from wires/edges connected</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRE_TITLE</source>
+        <translation>Create A Wire</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE</source>
+        <translation>Working Plane</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_FACE</source>
+        <translation>Plane, Planar Face or LCS</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_ORIGIN</source>
+        <translation>Select a plane</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_OXY</source>
+        <translation>OXY</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_OYZ</source>
+        <translation>OYZ</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_OZX</source>
+        <translation>OZX</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_TITLE</source>
+        <translation>Working Plane Selection</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_VECTOR</source>
+        <translation>Select 2 vectors</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_VX</source>
+        <translation>Vector X</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_VZ</source>
+        <translation>Vector Z</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_RADIUS_NULL</source>
+        <translation>Radius is null</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_WARNING</source>
+        <translation>Warning</translation>
+    </message>
+    <message>
+        <source>WRN_SHAPE_UNCLOSED</source>
+        <translation>Unable to create solid from unclosed shape %1</translation>
+    </message>
+    <message>
+        <source>GEOM_X</source>
+        <translation>X :</translation>
+    </message>
+    <message>
+        <source>GEOM_Y</source>
+        <translation>Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_Z</source>
+        <translation>Z :</translation>
+    </message>
+    <message>
+        <source>GLUE_NEW_OBJ_NAME</source>
+        <translation>Glue</translation>
+    </message>
+    <message>
+        <source>LIMIT_TOLERANCE_NEW_OBJ_NAME</source>
+        <translation>Limit_tolerance</translation>
+    </message>
+    <message>
+        <source>MEN_ALL_SEL_ONLY</source>
+        <translation>Select All</translation>
+    </message>
+    <message>
+        <source>MEN_ARC</source>
+        <translation>Arc</translation>
+    </message>
+    <message>
+        <source>MEN_ARCHIMEDE</source>
+        <translation>Archimede</translation>
+    </message>
+    <message>
+        <source>MEN_BASIC</source>
+        <translation>Basic</translation>
+    </message>
+    <message>
+        <source>MEN_BASIC_PROPS</source>
+        <translation>Basic Properties</translation>
+    </message>
+    <message>
+        <source>MEN_BLOCKS</source>
+        <translation>Blocks</translation>
+    </message>
+    <message>
+        <source>MEN_BND_BOX</source>
+        <translation>Bounding Box</translation>
+    </message>
+    <message>
+        <source>MEN_BOOLEAN</source>
+        <translation>Boolean</translation>
+    </message>
+    <message>
+        <source>MEN_BOX</source>
+        <translation>Box</translation>
+    </message>
+    <message>
+        <source>MEN_BUILD</source>
+        <translation>Build</translation>
+    </message>
+    <message>
+        <source>MEN_CHAMFER</source>
+        <translation>Chamfer</translation>
+    </message>
+    <message>
+        <source>MEN_CHANGE_ORIENTATION</source>
+        <translation>Change Orientation</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK</source>
+        <translation>Check Shape</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_COMPOUND</source>
+        <translation>Check Compound of Blocks</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_FREE_BNDS</source>
+        <translation>Check Free Boundaries</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_FREE_FACES</source>
+        <translation>Check Free Faces</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_GEOMETRY</source>
+        <translation>Check Geometry</translation>
+    </message>
+    <message>
+        <source>MEN_CIRCLE</source>
+        <translation>Circle</translation>
+    </message>
+    <message>
+        <source>MEN_CLIPPING</source>
+        <translation>Clipping Range</translation>
+    </message>
+    <message>
+        <source>MEN_CLOSE_CONTOUR</source>
+        <translation>Close Contour</translation>
+    </message>
+    <message>
+        <source>MEN_COMMON</source>
+        <translation>Common</translation>
+    </message>
+    <message>
+        <source>MEN_COMPOUND</source>
+        <translation>Compound</translation>
+    </message>
+    <message>
+        <source>MEN_COMPOUND_SEL_ONLY</source>
+        <translation>Compound</translation>
+    </message>
+    <message>
+        <source>MEN_CONE</source>
+        <translation>Cone</translation>
+    </message>
+    <message>
+        <source>MEN_CURVE</source>
+        <translation>Curve</translation>
+    </message>
+    <message>
+        <source>MEN_CUT</source>
+        <translation>Cut</translation>
+    </message>
+    <message>
+        <source>MEN_CYLINDER</source>
+        <translation>Cylinder</translation>
+    </message>
+    <message>
+        <source>MEN_RECTANGLE</source>
+        <translation>Rectangle</translation>
+    </message>
+    <message>
+        <source>MEN_DELETE</source>
+        <translation>Delete</translation>
+    </message>
+    <message>
+        <source>MEN_DIMENSIONS</source>
+        <translation>Dimensions</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY</source>
+        <translation>Show</translation>
+    </message>
+    <message>
+        <source>MEN_DISK</source>
+        <translation>Disk</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY_ALL</source>
+        <translation>Show All</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY_MODE</source>
+        <translation>Display Mode</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY_ONLY</source>
+        <translation>Show Only</translation>
+    </message>
+    <message>
+        <source>MEN_EDGE</source>
+        <translation>Edge</translation>
+    </message>
+    <message>
+        <source>MEN_EDGE_SEL_ONLY</source>
+        <translation>Edge</translation>
+    </message>
+    <message>
+        <source>MEN_EDIT</source>
+        <translation>Edit</translation>
+    </message>
+    <message>
+        <source>MEN_ELLIPSE</source>
+        <translation>Ellipse</translation>
+    </message>
+    <message>
+        <source>MEN_ERASE</source>
+        <translation>Hide</translation>
+    </message>
+    <message>
+        <source>MEN_ERASE_ALL</source>
+        <translation>Hide All</translation>
+    </message>
+    <message>
+        <source>MEN_EXPLODE</source>
+        <translation>Explode</translation>
+    </message>
+    <message>
+        <source>MEN_EXPLODE_BLOCKS</source>
+        <translation>Explode on Blocks</translation>
+    </message>
+    <message>
+        <source>MEN_EXPORT</source>
+        <translation>Export...</translation>
+    </message>
+    <message>
+        <source>MEN_EXTRUSION</source>
+        <translation>Extrusion</translation>
+    </message>
+    <message>
+        <source>MEN_FACE</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>MEN_FACE_SEL_ONLY</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>MEN_FILE</source>
+        <translation>File</translation>
+    </message>
+    <message>
+        <source>MEN_FILLET</source>
+        <translation>Fillet 3D</translation>
+    </message>
+    <message>
+        <source>MEN_FILLET_1D</source>
+        <translation>Fillet 1D</translation>
+    </message>
+    <message>
+        <source>MEN_FILLET_2D</source>
+        <translation>Fillet 2D</translation>
+    </message>
+    <message>
+        <source>MEN_FILLING</source>
+        <translation>Filling</translation>
+    </message>
+    <message>
+        <source>MEN_FUSE</source>
+        <translation>Fuse</translation>
+    </message>
+    <message>
+        <source>MEN_GENERATION</source>
+        <translation>Generation</translation>
+    </message>
+    <message>
+        <source>MEN_GLUE_FACES</source>
+        <translation>Glue Faces</translation>
+    </message>
+    <message>
+        <source>MEN_GROUP</source>
+        <translation>Group</translation>
+    </message>
+    <message>
+        <source>MEN_GROUP_CREATE</source>
+        <translation>Create</translation>
+    </message>
+    <message>
+        <source>MEN_GROUP_EDIT</source>
+        <translation>Edit</translation>
+    </message>
+    <message>
+        <source>MEN_RELOAD_IMPORTED</source>
+        <translation>Reload From Disk</translation>
+    </message>
+    <message>
+        <source>MEN_HEX_SOLID</source>
+        <translation>Hexahedral Solid</translation>
+    </message>
+    <message>
+        <source>MEN_IMPORT</source>
+        <translation>Import...</translation>
+    </message>
+    <message>
+        <source>MEN_INERTIA</source>
+        <translation>Inertia</translation>
+    </message>
+    <message>
+        <source>MEN_ISOS</source>
+        <translation>Isos</translation>
+    </message>
+    <message>
+        <source>MEN_LIMIT_TOLERANCE</source>
+        <translation>Limit tolerance</translation>
+    </message>
+    <message>
+        <source>MEN_LINE</source>
+        <translation>Line</translation>
+    </message>
+    <message>
+        <source>MEN_LOCAL_CS</source>
+        <translation>Local Coordinate System</translation>
+    </message>
+    <message>
+        <source>MEN_MASS_CENTER</source>
+        <translation>Center of Mass</translation>
+    </message>
+    <message>
+        <source>MEN_MEASURES</source>
+        <translation>Measures</translation>
+    </message>
+    <message>
+        <source>MEN_MIN_DIST</source>
+        <translation>Min Distance</translation>
+    </message>
+    <message>
+        <source>MEN_MIRROR</source>
+        <translation>Mirror Image</translation>
+    </message>
+    <message>
+        <source>MEN_MODIFY_LOCATION</source>
+        <translation>Modify Location</translation>
+    </message>
+    <message>
+        <source>MEN_MUL_ROTATION</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>MEN_MUL_TRANSFORM</source>
+        <translation>Multi-Transformation</translation>
+    </message>
+    <message>
+        <source>MEN_MUL_TRANSLATION</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>MEN_NEW_ENTITY</source>
+        <translation>New Entity</translation>
+    </message>
+    <message>
+        <source>MEN_OFFSET</source>
+        <translation>Offset Surface</translation>
+    </message>
+    <message>
+        <source>MEN_OPERATIONS</source>
+        <translation>Operations</translation>
+    </message>
+    <message>
+        <source>MEN_ORIGIN_AND_VECTORS</source>
+        <translation>Origin and Base Vectors</translation>
+    </message>
+    <message>
+        <source>MEN_PARTITION</source>
+        <translation>Partition</translation>
+    </message>
+    <message>
+        <source>MEN_PIPE</source>
+        <translation>Extrusion Along Path</translation>
+    </message>
+    <message>
+        <source>MEN_PLANE</source>
+        <translation>Plane</translation>
+    </message>
+    <message>
+        <source>MEN_POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>MEN_POINT_COORDS</source>
+        <translation>Point Coordinates</translation>
+    </message>
+    <message>
+        <source>MEN_POINT_ON_EDGE</source>
+        <translation>Add Point on Edge</translation>
+    </message>
+    <message>
+        <source>MEN_POP_COLOR</source>
+        <translation>Color</translation>
+    </message>
+    <message>
+        <source>MEN_POP_CREATE_GROUP</source>
+        <translation>Create Group</translation>
+    </message>
+    <message>
+        <source>MEN_POP_SHOW_CHILDREN</source>
+        <translation>Show Children</translation>
+    </message>
+    <message>
+        <source>MEN_POP_HIDE_CHILDREN</source>
+        <translation>Hide Children</translation>
+    </message>
+    <message>
+        <source>MEN_POP_ISOS</source>
+        <translation>Isos</translation>
+    </message>
+    <message>
+        <source>MEN_POP_DEFLECTION</source>
+        <translation>Deflection Coefficient</translation>
+    </message>
+    <message>
+        <source>MEN_POP_RENAME</source>
+        <translation>Rename</translation>
+    </message>
+    <message>
+        <source>MEN_POP_SHADING</source>
+        <translation>Shading</translation>
+    </message>
+    <message>
+        <source>MEN_POP_TRANSPARENCY</source>
+        <translation>Transparency</translation>
+    </message>
+    <message>
+        <source>MEN_POP_WIREFRAME</source>
+        <translation>Wireframe</translation>
+    </message>
+    <message>
+        <source>MEN_POP_VECTORS</source>
+        <translation>Show Edge Direction</translation>
+    </message>
+    <message>
+        <source>MEN_PREFERENCES</source>
+        <translation>Preferences</translation>
+    </message>
+    <message>
+        <source>MEN_PREFERENCES_GEOM</source>
+        <translation>Geometry</translation>
+    </message>
+    <message>
+        <source>MEN_PRIMITIVES</source>
+        <translation>Primitives</translation>
+    </message>
+    <message>
+        <source>MEN_ADVANCED</source>
+        <translation>Advanced</translation>
+    </message>
+    <message>
+        <source>MEN_PROPAGATE</source>
+        <translation>Propagate</translation>
+    </message>
+    <message>
+        <source>MEN_Q_FACE</source>
+        <translation>Quadrangle Face</translation>
+    </message>
+    <message>
+        <source>MEN_REPAIR</source>
+        <translation>Repair</translation>
+    </message>
+    <message>
+        <source>MEN_REVOLUTION</source>
+        <translation>Revolution</translation>
+    </message>
+    <message>
+        <source>MEN_ROTATION</source>
+        <translation>Rotation</translation>
+    </message>
+    <message>
+        <source>MEN_SCALE</source>
+        <translation>Scale Transform</translation>
+    </message>
+    <message>
+        <source>MEN_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>MEN_SELECT_ONLY</source>
+        <translation>Select Only</translation>
+    </message>
+    <message>
+        <source>MEN_SEWING</source>
+        <translation>Sewing</translation>
+    </message>
+    <message>
+        <source>MEN_SHADING</source>
+        <translation>Shading</translation>
+    </message>
+    <message>
+        <source>MEN_SHADING_COLOR</source>
+        <translation>Shading Color</translation>
+    </message>
+    <message>
+        <source>MEN_SHAPE_PROCESS</source>
+        <translation>Shape Processing</translation>
+    </message>
+    <message>
+        <source>MEN_SHELL</source>
+        <translation>Shell</translation>
+    </message>
+    <message>
+        <source>MEN_SHELL_SEL_ONLY</source>
+        <translation>Shell</translation>
+    </message>
+    <message>
+        <source>MEN_SKETCH</source>
+        <translation>2D Sketch</translation>
+    </message>
+    <message>
+        <source>MEN_3DSKETCH</source>
+        <translation>3D Sketch</translation>
+    </message>
+    <message>
+        <source>MEN_SOLID</source>
+        <translation>Solid</translation>
+    </message>
+    <message>
+        <source>MEN_SOLID_SEL_ONLY</source>
+        <translation>Solid</translation>
+    </message>
+    <message>
+        <source>MEN_SPHERE</source>
+        <translation>Sphere</translation>
+    </message>
+    <message>
+        <source>MEN_STEP_VALUE</source>
+        <translation>Step Value</translation>
+    </message>
+    <message>
+        <source>MEN_SUPPERSS_HOLES</source>
+        <translation>Suppress Holes</translation>
+    </message>
+    <message>
+        <source>MEN_SUPPRESS_FACES</source>
+        <translation>Suppress Faces</translation>
+    </message>
+    <message>
+        <source>MEN_SUPPRESS_INT_WIRES</source>
+        <translation>Suppress Internal Wires</translation>
+    </message>
+    <message>
+        <source>MEN_TOLERANCE</source>
+        <translation>Tolerance</translation>
+    </message>
+    <message>
+        <source>MEN_TOOLS</source>
+        <translation>Tools</translation>
+    </message>
+    <message>
+        <source>MEN_TORUS</source>
+        <translation>Torus</translation>
+    </message>
+    <message>
+        <source>MEN_TRANSFORMATION</source>
+        <translation>Transformation</translation>
+    </message>
+    <message>
+        <source>MEN_TRANSLATION</source>
+        <translation>Translation</translation>
+    </message>
+    <message>
+        <source>MEN_VECTOR</source>
+        <translation>Vector</translation>
+    </message>
+    <message>
+        <source>MEN_VERTEX_SEL_ONLY</source>
+        <translation>Vertex</translation>
+    </message>
+    <message>
+        <source>MEN_VIEW</source>
+        <translation>View</translation>
+    </message>
+    <message>
+        <source>MEN_WHAT_IS</source>
+        <translation>What is</translation>
+    </message>
+    <message>
+        <source>MEN_WIRE</source>
+        <translation>Wire</translation>
+    </message>
+    <message>
+        <source>MEN_VECTOR_MODE_ON</source>
+        <translation>Show Edge Direction</translation>
+    </message>
+    <message>
+        <source>MEN_VECTOR_MODE_OFF</source>
+        <translation>Hide Edge Direction</translation>
+    </message>
+    <message>
+        <source>MEN_WIREFRAME</source>
+        <translation>Wireframe</translation>
+    </message>
+    <message>
+        <source>MEN_WIRE_SEL_ONLY</source>
+        <translation>Wire</translation>
+    </message>
+    <message>
+        <source>MEN_WORK_PLANE</source>
+        <translation>Working Plane</translation>
+    </message>
+    <message>
+        <source>MEN_POP_POINT_MARKER</source>
+        <translation>Point Marker</translation>
+    </message>
+    <message>
+        <source>NAME_LBL</source>
+        <translation>Name: </translation>
+    </message>
+    <message>
+        <source>NON_GEOM_OBJECTS_SELECTED</source>
+        <translation>There are objects selected which do not belong to %1 component.</translation>
+    </message>
+    <message>
+        <source>PREF_DEFLECTION</source>
+        <translation>Deflection coefficient</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_def_precision</source>
+        <translation>Default precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_length_precision</source>
+        <translation>Length precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_angle_precision</source>
+        <translation>Angular precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_len_tol_precision</source>
+        <translation>Length tolerance precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_ang_tol_precision</source>
+        <translation>Angular tolerance precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_weight_precision</source>
+        <translation>Weight precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_density_precision</source>
+        <translation>Density precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_parametric_precision</source>
+        <translation>Parametric precision</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_param_tol_precision</source>
+        <translation>Parametric tolerance precision</translation>
+    </message>
+    <message>
+        <source>PREF_AUTO_CREATE</source>
+        <translation>Auto create</translation>
+    </message>
+    <message>
+        <source>PREF_DISPLAY_MODE</source>
+        <translation>Default display mode</translation>
+    </message>
+    <message>
+        <source>PREF_FREE_BOUND_COLOR</source>
+        <translation>Color of free boundaries</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_ORIGIN_AND_BASE_VECTORS</source>
+        <translation>Origin and base vectors</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_GENERAL</source>
+        <translation>General</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_OCCVIEWER</source>
+        <translation>OCC Viewer 3d</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_GROUP_PRECISION</source>
+        <translation>Input fields precision</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_VERTEX</source>
+        <translation>Marker of Points</translation>
+    </message>
+    <message>
+        <source>PREF_ISOS_COLOR</source>
+        <translation>Color of isolines</translation>
+    </message>
+    <message>
+        <source>PREF_LINE_COLOR</source>
+        <translation>Color of edges, vectors, wires</translation>
+    </message>
+    <message>
+        <source>PREF_MARKER_SCALE</source>
+        <translation>Size</translation>
+    </message>
+    <message>
+        <source>PREF_POINT_COLOR</source>
+        <translation>Color of points</translation>
+    </message>
+    <message>
+        <source>PREF_SHADING_COLOR</source>
+        <translation>Default shading color</translation>
+    </message>
+    <message>
+        <source>PREF_STEP_VALUE</source>
+        <translation>Step value for spin boxes</translation>
+    </message>
+    <message>
+        <source>PREF_TAB_SETTINGS</source>
+        <translation>Settings</translation>
+    </message>
+    <message>
+        <source>PREF_TYPE_OF_MARKER</source>
+        <translation>Type</translation>
+    </message>
+    <message>
+        <source>PREF_BASE_VECTORS_LENGTH</source>
+        <translation>Length of base vectors</translation>
+    </message>
+    <message>
+        <source>PREF_WIREFRAME_COLOR</source>
+        <translation>Default wireframe color</translation>
+    </message>
+    <message>
+        <source>PROCESS_SHAPE_NEW_OBJ_NAME</source>
+        <translation>ProcessShape</translation>
+    </message>
+    <message>
+        <source>REMOVE_HOLES_NEW_OBJ_NAME</source>
+        <translation>SupressHoles</translation>
+    </message>
+    <message>
+        <source>REMOVE_INT_WIRES_NEW_OBJ_NAME</source>
+        <translation>RemoveIntWires</translation>
+    </message>
+    <message>
+        <source>SEWING_NEW_OBJ_NAME</source>
+        <translation>Sewing</translation>
+    </message>
+    <message>
+        <source>STB_ALL_SEL_ONLY</source>
+        <translation>Select all Objects</translation>
+    </message>
+    <message>
+        <source>STB_ARC</source>
+        <translation>Create an arc</translation>
+    </message>
+    <message>
+        <source>STB_ARCHIMEDE</source>
+        <translation>Archimede operation</translation>
+    </message>
+    <message>
+        <source>STB_BASIC_PROPS</source>
+        <translation>Show basic properties of the shape</translation>
+    </message>
+    <message>
+        <source>STB_BND_BOX</source>
+        <translation>Compute bounding box of the shape</translation>
+    </message>
+    <message>
+        <source>STB_BOX</source>
+        <translation>Create a box</translation>
+    </message>
+    <message>
+        <source>STB_CHAMFER</source>
+        <translation>Create a chamfer</translation>
+    </message>
+    <message>
+        <source>STB_CHANGE_ORIENTATION</source>
+        <translation>Change orientation</translation>
+    </message>
+    <message>
+        <source>STB_CHECK</source>
+        <translation>Check shape validity</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_COMPOUND</source>
+        <translation>Check compound of blocks</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_FREE_BNDS</source>
+        <translation>Check free boundaries</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_FREE_FACES</source>
+        <translation>Check free faces</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_GEOMETRY</source>
+        <translation>Check Geometry</translation>
+    </message>
+    <message>
+        <source>STB_CIRCLE</source>
+        <translation>Create a circle</translation>
+    </message>
+    <message>
+        <source>STB_CLIPPING</source>
+        <translation>Clipping range</translation>
+    </message>
+    <message>
+        <source>STB_CLOSE_CONTOUR</source>
+        <translation>Perform close contour</translation>
+    </message>
+    <message>
+        <source>STB_COMMON</source>
+        <translation>Common</translation>
+    </message>
+    <message>
+        <source>STB_COMPOUND</source>
+        <translation>Build a compound</translation>
+    </message>
+    <message>
+        <source>STB_COMPOUND_SEL_ONLY</source>
+        <translation>Select only a Compounds</translation>
+    </message>
+    <message>
+        <source>STB_CONE</source>
+        <translation>Create a cone</translation>
+    </message>
+    <message>
+        <source>STB_CURVE</source>
+        <translation>Create a curve</translation>
+    </message>
+    <message>
+        <source>STB_CUT</source>
+        <translation>Cut</translation>
+    </message>
+    <message>
+        <source>STB_CYLINDER</source>
+        <translation>Create a cylinder</translation>
+    </message>
+    <message>
+        <source>STB_RECTANGLE</source>
+        <translation>Create rectangular face</translation>
+    </message>
+    <message>
+        <source>STB_DELETE</source>
+        <translation>Delete object</translation>
+    </message>
+    <message>
+        <source>STB_DISK</source>
+        <translation>Create a disk</translation>
+    </message>
+    <message>
+        <source>STB_DISPLAY</source>
+        <translation>Show object(s)</translation>
+    </message>
+    <message>
+        <source>STB_DISPLAY_ALL</source>
+        <translation>Show all</translation>
+    </message>
+    <message>
+        <source>STB_DISPLAY_ONLY</source>
+        <translation>Show only</translation>
+    </message>
+    <message>
+        <source>STB_EDGE</source>
+        <translation>Build an edge</translation>
+    </message>
+    <message>
+        <source>STB_EDGE_SEL_ONLY</source>
+        <translation>Select only a Edges</translation>
+    </message>
+    <message>
+        <source>STB_ELLIPSE</source>
+        <translation>Create an ellipse</translation>
+    </message>
+    <message>
+        <source>STB_ERASE</source>
+        <translation>Hide object(s)</translation>
+    </message>
+    <message>
+        <source>STB_ERASE_ALL</source>
+        <translation>Hide all</translation>
+    </message>
+    <message>
+        <source>STB_EXPLODE</source>
+        <translation>Explode</translation>
+    </message>
+    <message>
+        <source>STB_EXPLODE_BLOCKS</source>
+        <translation>Explode on Blocks</translation>
+    </message>
+    <message>
+        <source>STB_EXPORT</source>
+        <translation>Export geometry to BREP file</translation>
+    </message>
+    <message>
+        <source>STB_EXTRUSION</source>
+        <translation>Create an extrusion</translation>
+    </message>
+    <message>
+        <source>STB_FACE</source>
+        <translation>Build a face</translation>
+    </message>
+    <message>
+        <source>STB_FACE_SEL_ONLY</source>
+        <translation>Select only a Faces</translation>
+    </message>
+    <message>
+        <source>STB_FILLET</source>
+        <translation>Create 3D fillet</translation>
+    </message>
+    <message>
+        <source>STB_FILLET_1D</source>
+        <translation>Create 1D fillet</translation>
+    </message>
+    <message>
+        <source>STB_FILLET_2D</source>
+        <translation>Create 2D fillet</translation>
+    </message>
+    <message>
+        <source>STB_FILLING</source>
+        <translation>Create a filling</translation>
+    </message>
+    <message>
+        <source>STB_FUSE</source>
+        <translation>Fuse</translation>
+    </message>
+    <message>
+        <source>STB_GLUE_FACES</source>
+        <translation>Perform glue faces</translation>
+    </message>
+    <message>
+        <source>STB_GROUP_CREATE</source>
+        <translation>Create a group</translation>
+    </message>
+    <message>
+        <source>STB_GROUP_EDIT</source>
+        <translation>Edit a group</translation>
+    </message>
+    <message>
+        <source>STB_RELOAD_IMPORTED</source>
+        <translation>Reload imported shape from its original place on disk</translation>
+    </message>
+    <message>
+        <source>STB_HEX_SOLID</source>
+        <translation>Hexahedral Solid</translation>
+    </message>
+    <message>
+        <source>STB_IMPORT</source>
+        <translation>Import geometry from BREP file</translation>
+    </message>
+    <message>
+        <source>STB_INERTIA</source>
+        <translation>Compute moments of intertia of the shape</translation>
+    </message>
+    <message>
+        <source>STB_ISOS</source>
+        <translation>Set number of isolines</translation>
+    </message>
+    <message>
+        <source>STB_LINE</source>
+        <translation>Create a line</translation>
+    </message>
+    <message>
+        <source>STB_LIMIT_TOLERANCE</source>
+        <translation>Limit tolerance</translation>
+    </message>
+    <message>
+        <source>STB_LOCAL_CS</source>
+        <translation>Create a local coordinate system</translation>
+    </message>
+    <message>
+        <source>STB_MASS_CENTER</source>
+        <translation>Compute center of mass of the shape</translation>
+    </message>
+    <message>
+        <source>STB_MIN_DIST</source>
+        <translation>Compute minimum distance between two objects</translation>
+    </message>
+    <message>
+        <source>STB_MIRROR</source>
+        <translation>Mirror a shape</translation>
+    </message>
+    <message>
+        <source>STB_MODIFY_LOCATION</source>
+        <translation>Modify shape&apos;s location</translation>
+    </message>
+    <message>
+        <source>STB_MUL_ROTATION</source>
+        <translation>Perform multi-rotation</translation>
+    </message>
+    <message>
+        <source>STB_MUL_TRANSFORM</source>
+        <translation>Perform multi-transformation</translation>
+    </message>
+    <message>
+        <source>STB_MUL_TRANSLATION</source>
+        <translation>Perform multi-translation</translation>
+    </message>
+    <message>
+        <source>STB_OFFSET</source>
+        <translation>Offset surface</translation>
+    </message>
+    <message>
+        <source>STB_ORIGIN_AND_VECTORS</source>
+        <translation>Create an origin and base Vectors</translation>
+    </message>
+    <message>
+        <source>STB_PARTITION</source>
+        <translation>Make a partition</translation>
+    </message>
+    <message>
+        <source>STB_PIPE</source>
+        <translation>Create a shape by extrusion along a path</translation>
+    </message>
+    <message>
+        <source>STB_PLANE</source>
+        <translation>Create a plane</translation>
+    </message>
+    <message>
+        <source>STB_POINT</source>
+        <translation>Create a point</translation>
+    </message>
+    <message>
+        <source>STB_POINT_COORDS</source>
+        <translation>Display point coordinates</translation>
+    </message>
+    <message>
+        <source>STB_POINT_ON_EDGE</source>
+        <translation>Add point on edge</translation>
+    </message>
+    <message>
+        <source>STB_POP_COLOR</source>
+        <translation>Color</translation>
+    </message>
+    <message>
+        <source>STB_POP_CREATE_GROUP</source>
+        <translation>Create Group</translation>
+    </message>
+    <message>
+        <source>STB_POP_SHOW_CHILDREN</source>
+        <translation>Show child objects</translation>
+    </message>
+    <message>
+        <source>STB_POP_HIDE_CHILDREN</source>
+        <translation>Hide child objects</translation>
+    </message>
+    <message>
+        <source>STB_POP_ISOS</source>
+        <translation>Isolines</translation>
+    </message>
+    <message>
+        <source>STB_POP_DEFLECTION</source>
+        <translation>Deflection Coefficient</translation>
+    </message>
+    <message>
+        <source>STB_POP_RENAME</source>
+        <translation>Rename</translation>
+    </message>
+    <message>
+        <source>STB_POP_SHADING</source>
+        <translation>Shading</translation>
+    </message>
+    <message>
+        <source>STB_POP_TRANSPARENCY</source>
+        <translation>Transparency</translation>
+    </message>
+    <message>
+        <source>STB_POP_WIREFRAME</source>
+        <translation>Wireframe</translation>
+    </message>
+    <message>
+        <source>STB_PROPAGATE</source>
+        <translation>Propagate</translation>
+    </message>
+    <message>
+        <source>STB_Q_FACE</source>
+        <translation>Quadrangle Face</translation>
+    </message>
+    <message>
+        <source>STB_REVOLUTION</source>
+        <translation>Create a revolution</translation>
+    </message>
+    <message>
+        <source>STB_ROTATION</source>
+        <translation>Rotate a shape</translation>
+    </message>
+    <message>
+        <source>STB_SCALE</source>
+        <translation>Scale a shape</translation>
+    </message>
+    <message>
+        <source>STB_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>STB_SEWING</source>
+        <translation>Perform sewing</translation>
+    </message>
+    <message>
+        <source>STB_SHADING</source>
+        <translation>Shading</translation>
+    </message>
+    <message>
+        <source>STB_VECTOR_MODE</source>
+        <translation>Change Edge Presentation Mode</translation>
+    </message>
+    <message>
+        <source>STB_SHADING_COLOR</source>
+        <translation>Set shading color</translation>
+    </message>
+    <message>
+        <source>STB_SHAPE_PROCESS</source>
+        <translation>Perform shape processing </translation>
+    </message>
+    <message>
+        <source>STB_SHELL</source>
+        <translation>Build a shell</translation>
+    </message>
+    <message>
+        <source>STB_SHELL_SEL_ONLY</source>
+        <translation>Select only a Shells</translation>
+    </message>
+    <message>
+        <source>STB_SKETCH</source>
+        <translation>Create 2D sketch</translation>
+    </message>
+    <message>
+        <source>STB_3DSKETCH</source>
+        <translation>Create 3D sketch</translation>
+    </message>
+    <message>
+        <source>STB_SOLID</source>
+        <translation>Build a solid</translation>
+    </message>
+    <message>
+        <source>STB_SOLID_SEL_ONLY</source>
+        <translation>Select only a Solids</translation>
+    </message>
+    <message>
+        <source>STB_SPHERE</source>
+        <translation>Create a sphere</translation>
+    </message>
+    <message>
+        <source>STB_STEP_VALUE</source>
+        <translation>Set step value</translation>
+    </message>
+    <message>
+        <source>STB_SUPPERSS_HOLES</source>
+        <translation>Perform suppress holes</translation>
+    </message>
+    <message>
+        <source>STB_SUPPRESS_FACES</source>
+        <translation>Perform suppress faces</translation>
+    </message>
+    <message>
+        <source>STB_SUPPRESS_INT_WIRES</source>
+        <translation>Perform suppress internal wires</translation>
+    </message>
+    <message>
+        <source>STB_TOLERANCE</source>
+        <translation>Compute tolerance of the shape</translation>
+    </message>
+    <message>
+        <source>STB_TORUS</source>
+        <translation>Create a torus</translation>
+    </message>
+    <message>
+        <source>STB_TRANSLATION</source>
+        <translation>Translate shape</translation>
+    </message>
+    <message>
+        <source>STB_VECTOR</source>
+        <translation>Create a vector</translation>
+    </message>
+    <message>
+        <source>STB_VERTEX_SEL_ONLY</source>
+        <translation>Select only a Points</translation>
+    </message>
+    <message>
+        <source>STB_WHAT_IS</source>
+        <translation>What is</translation>
+    </message>
+    <message>
+        <source>STB_WIRE</source>
+        <translation>Build a wire</translation>
+    </message>
+    <message>
+        <source>STB_WIRE_SEL_ONLY</source>
+        <translation>Select only a Wires</translation>
+    </message>
+    <message>
+        <source>STB_WORK_PLANE</source>
+        <translation>Create a working plane</translation>
+    </message>
+    <message>
+        <source>STB_POP_POINT_MARKER</source>
+        <translation>Set Point Marker</translation>
+    </message>
+    <message>
+        <source>SUPPRESS_RESULT</source>
+        <translation>Suppress Result</translation>
+    </message>
+    <message>
+        <source>SUPRESS_FACE_NEW_OBJ_NAME</source>
+        <translation>SupressFaces</translation>
+    </message>
+    <message>
+        <source>ShHealOper_ErrorExecution_msg</source>
+        <translation>Shape Healing algorithm failed</translation>
+    </message>
+    <message>
+        <source>ShHealOper_InvalidParameters_msg</source>
+        <translation>Incorrect parameters for Shape Healing algorithm</translation>
+    </message>
+    <message>
+        <source>ShHealOper_NotError_msg</source>
+        <translation>Shape Healing algorithm has done no modification of the original shape</translation>
+    </message>
+    <message>
+        <source>TLT_RENAME</source>
+        <translation>Rename</translation>
+    </message>
+    <message>
+        <source>TOM_O</source>
+        <translation>O</translation>
+    </message>
+    <message>
+        <source>TOM_O_PLUS</source>
+        <translation>+ in O</translation>
+    </message>
+    <message>
+        <source>TOM_O_POINT</source>
+        <translation>. in O</translation>
+    </message>
+    <message>
+        <source>TOM_O_STAR</source>
+        <translation>* in O</translation>
+    </message>
+    <message>
+        <source>TOM_O_X</source>
+        <translation>X in O</translation>
+    </message>
+    <message>
+        <source>TOM_PLUS</source>
+        <translation>+</translation>
+    </message>
+    <message>
+        <source>TOM_POINT</source>
+        <translation>.</translation>
+    </message>
+    <message>
+        <source>TOM_STAR</source>
+        <translation>*</translation>
+    </message>
+    <message>
+        <source>TOM_X</source>
+        <translation>X</translation>
+    </message>
+    <message>
+        <source>TOOL_BASIC</source>
+        <translation>Basic</translation>
+    </message>
+    <message>
+        <source>TOOL_BOOLEAN</source>
+        <translation>Boolean operations</translation>
+    </message>
+    <message>
+        <source>TOOL_GENERATION</source>
+        <translation>Generation</translation>
+    </message>
+    <message>
+        <source>TOOL_PRIMITIVES</source>
+        <translation>Primitives</translation>
+    </message>
+    <message>
+        <source>TOOL_TRANSFORMATION</source>
+        <translation>Transformation</translation>
+    </message>
+    <message>
+        <source>TOOL_BUILD</source>
+        <translation>Build</translation>
+    </message>
+    <message>
+        <source>TOOL_OPERATIONS</source>
+        <translation>Operations</translation>
+    </message>
+    <message>
+        <source>TOOL_ADVANCED</source>
+        <translation>Advanced</translation>
+    </message>
+    <message>
+        <source>TOOL_MEASURES</source>
+        <translation>Measures</translation>
+    </message>
+    <message>
+        <source>TOP_ARC</source>
+        <translation>Create an arc</translation>
+    </message>
+    <message>
+        <source>TOP_ARCHIMEDE</source>
+        <translation>Archimede</translation>
+    </message>
+    <message>
+        <source>TOP_BASIC_PROPS</source>
+        <translation>Basic properties</translation>
+    </message>
+    <message>
+        <source>TOP_BND_BOX</source>
+        <translation>Bounding box</translation>
+    </message>
+    <message>
+        <source>TOP_BOX</source>
+        <translation>Create a box</translation>
+    </message>
+    <message>
+        <source>TOP_CHAMFER</source>
+        <translation>Chamfer</translation>
+    </message>
+    <message>
+        <source>TOP_CHANGE_ORIENTATION</source>
+        <translation>Change orientation</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK</source>
+        <translation>Check shape</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_COMPOUND</source>
+        <translation>Check compound of blocks</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_FREE_BNDS</source>
+        <translation>Check free boundaries</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_FREE_FACES</source>
+        <translation>Check free faces</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_GEOMETRY</source>
+        <translation>Check Geometry</translation>
+    </message>
+    <message>
+        <source>TOP_CIRCLE</source>
+        <translation>Create a circle</translation>
+    </message>
+    <message>
+        <source>TOP_CLIPPING</source>
+        <translation>Clipping range</translation>
+    </message>
+    <message>
+        <source>TOP_CLOSE_CONTOUR</source>
+        <translation>Perform close contour</translation>
+    </message>
+    <message>
+        <source>TOP_COMMON</source>
+        <translation>Common</translation>
+    </message>
+    <message>
+        <source>TOP_COMPOUND</source>
+        <translation>Build compound</translation>
+    </message>
+    <message>
+        <source>TOP_CONE</source>
+        <translation>Create a cone</translation>
+    </message>
+    <message>
+        <source>TOP_CURVE</source>
+        <translation>Create a curve</translation>
+    </message>
+    <message>
+        <source>TOP_CUT</source>
+        <translation>Cut</translation>
+    </message>
+    <message>
+        <source>TOP_CYLINDER</source>
+        <translation>Create a cylinder</translation>
+    </message>
+    <message>
+        <source>TOP_DELETE</source>
+        <translation>Delete object</translation>
+    </message>
+    <message>
+        <source>TOP_RECTANGLE</source>
+        <translation>Create rectangular face</translation>
+    </message>
+    <message>
+        <source>TOP_DISK</source>
+        <translation>Create a disk</translation>
+    </message>
+    <message>
+        <source>TOP_DISPLAY</source>
+        <translation>Show</translation>
+    </message>
+    <message>
+        <source>TOP_DISPLAY_ALL</source>
+        <translation>Show all</translation>
+    </message>
+    <message>
+        <source>TOP_DISPLAY_ONLY</source>
+        <translation>Show only</translation>
+    </message>
+    <message>
+        <source>TOP_EDGE</source>
+        <translation>Build edge</translation>
+    </message>
+    <message>
+        <source>TOP_ELLIPSE</source>
+        <translation>Create an ellipse</translation>
+    </message>
+    <message>
+        <source>TOP_ERASE</source>
+        <translation>Hide</translation>
+    </message>
+    <message>
+        <source>TOP_ERASE_ALL</source>
+        <translation>Hide all</translation>
+    </message>
+    <message>
+        <source>TOP_EXPLODE</source>
+        <translation>Explode</translation>
+    </message>
+    <message>
+        <source>TOP_EXPLODE_BLOCKS</source>
+        <translation>Explode on Blocks</translation>
+    </message>
+    <message>
+        <source>TOP_EXPORT</source>
+        <translation>Export geometry to BREP file</translation>
+    </message>
+    <message>
+        <source>TOP_EXTRUSION</source>
+        <translation>Create an extrusion</translation>
+    </message>
+    <message>
+        <source>TOP_FACE</source>
+        <translation>Build face</translation>
+    </message>
+    <message>
+        <source>TOP_FILLET</source>
+        <translation>Fillet 3D</translation>
+    </message>
+    <message>
+        <source>TOP_FILLET_1D</source>
+        <translation>Fillet 1D</translation>
+    </message>
+    <message>
+        <source>TOP_FILLET_2D</source>
+        <translation>Fillet 2D</translation>
+    </message>
+    <message>
+        <source>TOP_FILLING</source>
+        <translation>Create a filling</translation>
+    </message>
+    <message>
+        <source>TOP_FUSE</source>
+        <translation>Fuse</translation>
+    </message>
+    <message>
+        <source>TOP_GLUE_FACES</source>
+        <translation>Perform glue faces</translation>
+    </message>
+    <message>
+        <source>TOP_GROUP_CREATE</source>
+        <translation>Create a group</translation>
+    </message>
+    <message>
+        <source>TOP_GROUP_EDIT</source>
+        <translation>Edit a group</translation>
+    </message>
+    <message>
+        <source>TOP_HEX_SOLID</source>
+        <translation>Hexahedral Solid</translation>
+    </message>
+    <message>
+        <source>TOP_IMPORT</source>
+        <translation>Import geometry from BREP file</translation>
+    </message>
+    <message>
+        <source>TOP_INERTIA</source>
+        <translation>Moments of intertia</translation>
+    </message>
+    <message>
+        <source>TOP_ISOS</source>
+        <translation>Set number of isolines</translation>
+    </message>
+    <message>
+        <source>TOP_LINE</source>
+        <translation>Create a line</translation>
+    </message>
+    <message>
+        <source>TOP_LIMIT_TOLERANCE</source>
+        <translation>Limit tolerance</translation>
+    </message>
+    <message>
+        <source>TOP_LOCAL_CS</source>
+        <translation>Create a local coordinate system</translation>
+    </message>
+    <message>
+        <source>TOP_MASS_CENTER</source>
+        <translation>Center of mass</translation>
+    </message>
+    <message>
+        <source>TOP_MIN_DIST</source>
+        <translation>Minimum distance</translation>
+    </message>
+    <message>
+        <source>TOP_MIRROR</source>
+        <translation>Mirror image</translation>
+    </message>
+    <message>
+        <source>TOP_MODIFY_LOCATION</source>
+        <translation>Modify location</translation>
+    </message>
+    <message>
+        <source>TOP_MUL_ROTATION</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>TOP_MUL_TRANSFORM</source>
+        <translation>Multi-transformation</translation>
+    </message>
+    <message>
+        <source>TOP_MUL_TRANSLATION</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>TOP_OFFSET</source>
+        <translation>Offset surface</translation>
+    </message>
+    <message>
+        <source>TOP_ORIGIN_AND_VECTORS</source>
+        <translation>Create an origin and base Vectors</translation>
+    </message>
+    <message>
+        <source>TOP_PARTITION</source>
+        <translation>Partition</translation>
+    </message>
+    <message>
+        <source>TOP_PIPE</source>
+        <translation>Extrusion along path</translation>
+    </message>
+    <message>
+        <source>TOP_PLANE</source>
+        <translation>Create a plane</translation>
+    </message>
+    <message>
+        <source>TOP_POINT</source>
+        <translation>Create a point</translation>
+    </message>
+    <message>
+        <source>TOP_POINT_COORDS</source>
+        <translation>Point coordinates</translation>
+    </message>
+    <message>
+        <source>TOP_POINT_ON_EDGE</source>
+        <translation>Add point on edge</translation>
+    </message>
+    <message>
+        <source>TOP_POP_COLOR</source>
+        <translation>Color</translation>
+    </message>
+    <message>
+        <source>TOP_POP_CREATE_GROUP</source>
+        <translation>Create Group</translation>
+    </message>
+    <message>
+        <source>TOP_POP_SHOW_CHILDREN</source>
+        <translation>Show Children</translation>
+    </message>
+    <message>
+        <source>TOP_POP_HIDE_CHILDREN</source>
+        <translation>Hide Children</translation>
+    </message>
+    <message>
+        <source>TOP_POP_ISOS</source>
+        <translation>Isolines</translation>
+    </message>
+    <message>
+        <source>TOP_POP_DEFLECTION</source>
+        <translation>Deflection Coefficient</translation>
+    </message>
+    <message>
+        <source>TOP_POP_RENAME</source>
+        <translation>Rename</translation>
+    </message>
+    <message>
+        <source>TOP_POP_SHADING</source>
+        <translation>Shading</translation>
+    </message>
+    <message>
+        <source>TOP_POP_TRANSPARENCY</source>
+        <translation>Transparency</translation>
+    </message>
+    <message>
+        <source>TOP_POP_WIREFRAME</source>
+        <translation>Wireframe</translation>
+    </message>
+    <message>
+        <source>TOP_PROPAGATE</source>
+        <translation>Propagate</translation>
+    </message>
+    <message>
+        <source>TOP_Q_FACE</source>
+        <translation>Quadrangle Face</translation>
+    </message>
+    <message>
+        <source>TOP_REVOLUTION</source>
+        <translation>Create a revolution</translation>
+    </message>
+    <message>
+        <source>TOP_ROTATION</source>
+        <translation>Rotation</translation>
+    </message>
+    <message>
+        <source>TOP_SCALE</source>
+        <translation>Scale transform</translation>
+    </message>
+    <message>
+        <source>TOP_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>TOP_SEWING</source>
+        <translation>Perform sewing</translation>
+    </message>
+    <message>
+        <source>TOP_SHADING</source>
+        <translation>Shading</translation>
+    </message>
+    <message>
+        <source>TOP_SHADING_COLOR</source>
+        <translation>Set shading color</translation>
+    </message>
+    <message>
+        <source>TOP_SHAPE_PROCESS</source>
+        <translation>Perform shape processing</translation>
+    </message>
+    <message>
+        <source>TOP_SHELL</source>
+        <translation>Build shell</translation>
+    </message>
+    <message>
+        <source>TOP_SKETCH</source>
+        <translation>2D sketch</translation>
+    </message>
+    <message>
+        <source>TOP_3DSKETCH</source>
+        <translation>3D sketch</translation>
+    </message>
+    <message>
+        <source>TOP_SOLID</source>
+        <translation>Build solid</translation>
+    </message>
+    <message>
+        <source>TOP_SPHERE</source>
+        <translation>Create a sphere</translation>
+    </message>
+    <message>
+        <source>TOP_STEP_VALUE</source>
+        <translation>Set step value</translation>
+    </message>
+    <message>
+        <source>TOP_SUPPERSS_HOLES</source>
+        <translation>Perform suppress holes</translation>
+    </message>
+    <message>
+        <source>TOP_SUPPRESS_FACES</source>
+        <translation>Perform suppress faces</translation>
+    </message>
+    <message>
+        <source>TOP_SUPPRESS_INT_WIRES</source>
+        <translation>Perform suppress internal wires</translation>
+    </message>
+    <message>
+        <source>TOP_TOLERANCE</source>
+        <translation>Tolerance</translation>
+    </message>
+    <message>
+        <source>TOP_TORUS</source>
+        <translation>Create a torus</translation>
+    </message>
+    <message>
+        <source>TOP_TRANSLATION</source>
+        <translation>Translation</translation>
+    </message>
+    <message>
+        <source>TOP_VECTOR</source>
+        <translation>Create a vector</translation>
+    </message>
+    <message>
+        <source>TOP_WHAT_IS</source>
+        <translation>What is</translation>
+    </message>
+    <message>
+        <source>TOP_WIRE</source>
+        <translation>Build wire</translation>
+    </message>
+    <message>
+        <source>TOP_WORK_PLANE</source>
+        <translation>Create a working plane</translation>
+    </message>
+    <message>
+        <source>TOP_POP_POINT_MARKER</source>
+        <translation>Point Marker</translation>
+    </message>
+    <message>
+        <source>WRN_NOT_IMPLEMENTED</source>
+        <translation>Sorry, this functionality is not yet implemented</translation>
+    </message>
+    <message>
+        <source>_S_</source>
+        <translation>(s)</translation>
+    </message>
+    <message>
+        <source>NOT_FOUND_ANY</source>
+        <translation>Not a single entity has been found</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_I</source>
+        <translation>Face %1</translation>
+    </message>
+    <message>
+        <source>GEOM_CONSTANT_RADIUS</source>
+        <translation>Radius :</translation>
+    </message>
+    <message>
+        <source>GEOM_R1</source>
+        <translation>R1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_R2</source>
+        <translation>R2 :</translation>
+    </message>
+    <message>
+        <source>GEOM_BOTHWAY</source>
+        <translation>Both Directions</translation>
+    </message>
+    <message>
+        <source>GEOM_NORMALE</source>
+        <translation>Normal To A Face</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_NORMALE</source>
+        <translation>Vector_Normal</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE1</source>
+        <translation>Line 1</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE2</source>
+        <translation>Line 2</translation>
+    </message>
+    <message>
+        <source>GEOM_D</source>
+        <translation>D :</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_EDGE</source>
+        <translation>Chamfer On Selected Edges</translation>
+    </message>
+    <message>
+        <source>SELECTED_EDGE</source>
+        <translation>Selected Edges</translation>
+    </message>
+    <message>
+        <source>GEOM_NORMALE_TITLE</source>
+        <translation>Create Normal To A Face</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_TITLE</source>
+        <translation>Angle Between Two Straight Edges/Lines/Vectors</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_OBJ</source>
+        <translation>Objects And Results</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_IS</source>
+        <translation>Angle in degrees :</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE_INTERSECTION</source>
+        <translation>Point On Lines Intersection</translation>
+    </message>
+    <message>
+        <source>GEOM_KEEP_NONLIMIT_SHAPES</source>
+        <translation>Keep shapes of lower type</translation>
+    </message>
+    <message>
+        <source>GEOM_CENTER_2POINTS</source>
+        <translation>Center and two points</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_EXTRA_EDGES_TITLE</source>
+        <translation>Remove extra edges</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_EXTRA_EDGES</source>
+        <translation>Object to remove extra edges</translation>
+    </message>
+    <message>
+        <source>GEOM_RMEE_UNION_FACES</source>
+        <translation>Union faces, laying on common surface</translation>
+    </message>
+    <message>
+        <source>REMOVE_EXTRA_EDGES_NEW_OBJ_NAME</source>
+        <translation>NoExtraEdges</translation>
+    </message>
+    <message>
+        <source>TOP_REMOVE_EXTRA_EDGES</source>
+        <translation>Remove extra edges</translation>
+    </message>
+    <message>
+        <source>MEN_REMOVE_EXTRA_EDGES</source>
+        <translation>Remove Extra Edges</translation>
+    </message>
+    <message>
+        <source>STB_REMOVE_EXTRA_EDGES</source>
+        <translation>Remove extra edges</translation>
+    </message>
+    <message>
+        <source>TOP_NORMALE</source>
+        <translation>Normal to a face</translation>
+    </message>
+    <message>
+        <source>MEN_NORMALE</source>
+        <translation>Normal to a Face</translation>
+    </message>
+    <message>
+        <source>STB_NORMALE</source>
+        <translation>Compute normal to the face</translation>
+    </message>
+    <message>
+        <source>TOP_MEASURE_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>MEN_MEASURE_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>STB_MEASURE_ANGLE</source>
+        <translation>Compute angle between two lines or linear edges</translation>
+    </message>
+    <message>
+        <source>TOP_POP_AUTO_COLOR</source>
+        <translation>Auto color</translation>
+    </message>
+    <message>
+        <source>MEN_POP_AUTO_COLOR</source>
+        <translation>Auto Color</translation>
+    </message>
+    <message>
+        <source>STB_POP_AUTO_COLOR</source>
+        <translation>Auto color</translation>
+    </message>
+    <message>
+        <source>TOP_POP_DISABLE_AUTO_COLOR</source>
+        <translation>Disable auto color</translation>
+    </message>
+    <message>
+        <source>MEN_POP_DISABLE_AUTO_COLOR</source>
+        <translation>Disable Auto Color</translation>
+    </message>
+    <message>
+        <source>STB_POP_DISABLE_AUTO_COLOR</source>
+        <translation>Disable auto color</translation>
+    </message>
+    <message>
+        <source>GEOM_RESULT_NAME_GRP</source>
+        <translation>Result name</translation>
+    </message>
+    <message>
+        <source>GEOM_RESULT_NAME_LBL</source>
+        <translation>Name</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_APPROX</source>
+        <translation>Approximation</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_METHOD</source>
+        <translation>Method</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_DEFAULT</source>
+        <translation>Default (standard behaviour)</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_USEORI</source>
+        <translation>Use edges orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_AUTO</source>
+        <translation>Auto-correct edges orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_NO_APPROPRIATE_SELECTION</source>
+        <translation>No appropriate objects selected</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE</source>
+        <translation>Get shapes on shape</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_ESHAPE</source>
+        <translation>Shape for exploding</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_CSHAPE</source>
+        <translation>Solid for checking</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_STATE</source>
+        <translation>State</translation>
+    </message>
+    <message>
+        <source>GEOM_KIND_OF_SHAPE</source>
+        <translation>Kind of Shape :</translation>
+    </message>
+    <message>
+        <source>GEOM_CLOSED</source>
+        <translation>Closed</translation>
+    </message>
+    <message>
+        <source>GEOM_UNCLOSED</source>
+        <translation>Opened</translation>
+    </message>
+    <message>
+        <source>GEOM_CLOSEDUNCLOSED</source>
+        <translation>Not defined, Closed or Opened. Possibly, error occured.</translation>
+    </message>
+    <message>
+        <source>GEOM_DISK_CIRCLE</source>
+        <translation>Disk</translation>
+    </message>
+    <message>
+        <source>GEOM_DISK_ELLIPSE</source>
+        <translation>Elliptical face</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANAR_FACE</source>
+        <translation>Planar Face</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANAR_EDGE_WIRE</source>
+        <translation>Wire with Planar Edges</translation>
+    </message>
+    <message>
+        <source>GEOM_POLYGON</source>
+        <translation>Polygon</translation>
+    </message>
+    <message>
+        <source>GEOM_POLYHEDRON</source>
+        <translation>Polyhedron</translation>
+    </message>
+    <message>
+        <source>GEOM_NORMAL</source>
+        <translation>Normal direction</translation>
+    </message>
+    <message>
+        <source>GEOM_DIRECTION</source>
+        <translation>Direction</translation>
+    </message>
+    <message>
+        <source>GEOM_UPARAMETER</source>
+        <translation>U-parameter :</translation>
+    </message>
+    <message>
+        <source>GEOM_VPARAMETER</source>
+        <translation>V-parameter :</translation>
+    </message>
+    <message>
+        <source>GEOM_X_I</source>
+        <translation>X%1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_Y_I</source>
+        <translation>Y%1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_Z_I</source>
+        <translation>Z%1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_TITLE</source>
+        <translation>Get shapes on shape</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR_X</source>
+        <translation>Scale Factor X :</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR_Y</source>
+        <translation>Scale Factor Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR_Z</source>
+        <translation>Scale Factor Z :</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_IN</source>
+        <translation>IN</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_OUT</source>
+        <translation>OUT</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_ON</source>
+        <translation>ON</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_ONIN</source>
+        <translation>ONIN</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_ONOUT</source>
+        <translation>ONOUT</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_INOUT</source>
+        <translation>INOUT</translation>
+    </message>
+    <message>
+        <source>TOP_GET_SHAPES_ON_SHAPES</source>
+        <translation>Get shapes on shape</translation>
+    </message>
+    <message>
+        <source>MEN_GET_SHAPES_ON_SHAPES</source>
+        <translation>Get Shapes on Shape</translation>
+    </message>
+    <message>
+        <source>STB_GET_SHAPES_ON_SHAPES</source>
+        <translation>Get shapes on shape</translation>
+    </message>
+    <message>
+        <source>GEOM_PUBLISH_RESULT_GRP</source>
+        <translation>Advanced options</translation>
+    </message>
+    <message>
+        <source>GEOM_RESTORE_SUB_SHAPES</source>
+        <translation>Set presentation parameters and subshapes from arguments</translation>
+    </message>
+    <message>
+        <source>GEOM_RSS_ADD_FREFIX</source>
+        <translation>Add prefix to names of restored subshapes</translation>
+    </message>
+    <message>
+        <source>GEOM_ALL_IMPORT_FILES</source>
+        <translation>All supported formats ( %1 )</translation>
+    </message>
+    <message>
+        <source>GEOM_UNSUPPORTED_TYPE</source>
+        <translation>Unsupported format for the file</translation>
+    </message>
+    <message>
+        <source>GEOM_UNKNOWN_IMPORT_ERROR</source>
+        <translation>Unknown error</translation>
+    </message>
+    <message>
+        <source>GEOM_IMPORT_ERRORS</source>
+        <translation>Import operation has finished with errors:</translation>
+    </message>
+    <message>
+        <source>GEOM_PUBLISH_NAMED_SHAPES</source>
+        <translation>Create groups for named shapes (if there are any)?</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_DIMENSIONS</source>
+        <translation>Would you like to take into account the units?
 Otherwise the dimensions will be kept without modifications.</translation>
-        </message>
-        <message>
-            <source>GEOM_ADVANCED</source>
-            <translation>Advanced shape: type %1</translation>
-        </message>
-        <message>
-            <source>GEOM_PRECISION_HINT</source>
-            <translation>
+    </message>
+    <message>
+        <source>GEOM_ADVANCED</source>
+        <translation>Advanced shape: type %1</translation>
+    </message>
+    <message>
+        <source>GEOM_PRECISION_HINT</source>
+        <translation>
 Input value precision can be adjusted using
-'%1' parameter in Geometry module preferences.</translation>
-        </message>
-    </context>
-    <context>
-        <name>BasicGUI_CurveDlg</name>
-        <message>
-            <source>GEOM_IS_CLOSED</source>
-            <translation>Build a closed edge</translation>
-        </message>
-    </context>
-    <context>
-        <name>BasicGUI_EllipseDlg</name>
-        <message>
-            <source>GEOM_VECTOR_MAJOR</source>
-            <translation>Major Axis</translation>
-        </message>
-        <message>
-            <source>ORIGIN_DEFAULT</source>
-            <translation>Origin by default</translation>
-        </message>
-        <message>
-            <source>X_AXIS_DEFAULT</source>
-            <translation>X axis by default</translation>
-        </message>
-        <message>
-            <source>Z_AXIS_DEFAULT</source>
-            <translation>Z axis by default</translation>
-        </message>
-    </context>
-    <context>
-        <name>BasicGUI_MarkerDlg</name>
-        <message>
-            <source>CAPTION</source>
-            <translation>Local CS Construction</translation>
-        </message>
-        <message>
-            <source>DX</source>
-            <translation>Dx</translation>
-        </message>
-        <message>
-            <source>DY</source>
-            <translation>Dy</translation>
-        </message>
-        <message>
-            <source>DZ</source>
-            <translation>Dz</translation>
-        </message>
-        <message>
-            <source>LCS_NAME</source>
-            <translation>LocalCS</translation>
-        </message>
-        <message>
-            <source>LOCALCS</source>
-            <translation>Local coordinate system</translation>
-        </message>
-        <message>
-            <source>ORIGIN</source>
-            <translation>Coordinates of origin</translation>
-        </message>
-        <message>
-            <source>VEC_PARALLEL</source>
-            <translation>Coordinate system axes cannot be parallel</translation>
-        </message>
-        <message>
-            <source>XDIR</source>
-            <translation>X axis direction</translation>
-        </message>
-        <message>
-            <source>YDIR</source>
-            <translation>Y axis direction</translation>
-        </message>
-    </context>
-    <context>
-        <name>BlocksGUI_BlockDlg</name>
-        <message>
-            <source>FACE_1</source>
-            <translation>Face 1</translation>
-        </message>
-        <message>
-            <source>FACE_2</source>
-            <translation>Face 2</translation>
-        </message>
-        <message>
-            <source>FACE_3</source>
-            <translation>Face 3</translation>
-        </message>
-        <message>
-            <source>FACE_4</source>
-            <translation>Face 4</translation>
-        </message>
-        <message>
-            <source>FACE_5</source>
-            <translation>Face 5</translation>
-        </message>
-        <message>
-            <source>FACE_6</source>
-            <translation>Face 6</translation>
-        </message>
-    </context>
-    <context>
-        <name>BlocksGUI_ExplodeDlg</name>
-        <message>
-            <source>NB_FACES_MAX</source>
-            <translation>Max. nb. faces</translation>
-        </message>
-        <message>
-            <source>NB_FACES_MIN</source>
-            <translation>Min. nb. faces</translation>
-        </message>
-    </context>
-    <context>
-        <name>BlocksGUI_QuadFaceDlg</name>
-        <message>
-            <source>EDGE_1</source>
-            <translation>Edge 1</translation>
-        </message>
-        <message>
-            <source>EDGE_2</source>
-            <translation>Edge 2</translation>
-        </message>
-        <message>
-            <source>EDGE_3</source>
-            <translation>Edge 3</translation>
-        </message>
-        <message>
-            <source>EDGE_4</source>
-            <translation>Edge 4</translation>
-        </message>
-        <message>
-            <source>VERTEX_1</source>
-            <translation>Vertex 1</translation>
-        </message>
-        <message>
-            <source>VERTEX_2</source>
-            <translation>Vertex 2</translation>
-        </message>
-        <message>
-            <source>VERTEX_3</source>
-            <translation>Vertex 3</translation>
-        </message>
-        <message>
-            <source>VERTEX_4</source>
-            <translation>Vertex 4</translation>
-        </message>
-    </context>
-    <context>
-        <name>BlocksGUI_TrsfDlg</name>
-        <message>
-            <source>FACE_1</source>
-            <translation>Face 1</translation>
-        </message>
-        <message>
-            <source>FACE_1U</source>
-            <translation>Face 1 U</translation>
-        </message>
-        <message>
-            <source>FACE_1V</source>
-            <translation>Face 1 V</translation>
-        </message>
-        <message>
-            <source>FACE_2</source>
-            <translation>Face 2</translation>
-        </message>
-        <message>
-            <source>FACE_2U</source>
-            <translation>Face 2 U</translation>
-        </message>
-        <message>
-            <source>FACE_2V</source>
-            <translation>Face 2 V</translation>
-        </message>
-    </context>
-    <context>
-        <name>EntityGUI_SketcherDlg</name>
-        <message>
-            <source>CANNOT_CLOSE</source>
-            <translation>It is impossible to close sketch
+&apos;%1&apos; parameter in Geometry module preferences.</translation>
+    </message>
+    <message>
+        <source>TOP_PIPETSHAPE</source>
+        <translation>Create Pipe TShape</translation>
+    </message>
+    <message>
+        <source>MEN_PIPETSHAPE</source>
+        <translation>Pipe TShape</translation>
+    </message>
+    <message>
+        <source>STB_PIPETSHAPE</source>
+        <translation>Create new Pipe TShape object</translation>
+    </message>
+    <message>
+        <source>GEOM_ADVANCED_201</source>
+        <translation>Pipe TShape</translation>
+    </message>
+    <message>
+        <source>HALF_LENGTH_MAIN_PIPE</source>
+        <translation>Main pipe half length</translation>
+    </message>
+    <message>
+        <source>HALF_LENGTH_INCIDENT_PIPE</source>
+        <translation>Incident pipe half length</translation>
+    </message>
+    <message>
+        <source>CIRCULAR_QUARTER_PIPE</source>
+        <translation>Circular quarter of pipe</translation>
+    </message>
+    <message>
+        <source>THICKNESS</source>
+        <translation>Thickness</translation>
+    </message>
+    <message>
+        <source>FLANGE</source>
+        <translation>Flange</translation>
+    </message>
+    <message>
+        <source>CHAMFER_OR_FILLET</source>
+        <translation>Chamfer or fillet</translation>
+    </message>
+    <message>
+        <source>CHAMFER</source>
+        <translation>Chamfer</translation>
+    </message>
+    <message>
+        <source>FILLET</source>
+        <translation>Fillet</translation>
+    </message>
+    <message>
+        <source>JUNCTION_FACE_1</source>
+        <translation>Junction 1</translation>
+    </message>
+    <message>
+        <source>JUNCTION_FACE_2</source>
+        <translation>Junction 2</translation>
+    </message>
+    <message>
+        <source>JUNCTION_FACE_3</source>
+        <translation>Junction 3</translation>
+    </message>
+</context>
+<context>
+    <name>BasicGUI_CurveDlg</name>
+    <message>
+        <source>GEOM_IS_CLOSED</source>
+        <translation>Build a closed edge</translation>
+    </message>
+</context>
+<context>
+    <name>BasicGUI_EllipseDlg</name>
+    <message>
+        <source>GEOM_VECTOR_MAJOR</source>
+        <translation>Major Axis</translation>
+    </message>
+    <message>
+        <source>ORIGIN_DEFAULT</source>
+        <translation>Origin by default</translation>
+    </message>
+    <message>
+        <source>X_AXIS_DEFAULT</source>
+        <translation>X axis by default</translation>
+    </message>
+    <message>
+        <source>Z_AXIS_DEFAULT</source>
+        <translation>Z axis by default</translation>
+    </message>
+</context>
+<context>
+    <name>BasicGUI_MarkerDlg</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Local CS Construction</translation>
+    </message>
+    <message>
+        <source>DX</source>
+        <translation>Dx</translation>
+    </message>
+    <message>
+        <source>DY</source>
+        <translation>Dy</translation>
+    </message>
+    <message>
+        <source>DZ</source>
+        <translation>Dz</translation>
+    </message>
+    <message>
+        <source>LCS_NAME</source>
+        <translation>LocalCS</translation>
+    </message>
+    <message>
+        <source>LOCALCS</source>
+        <translation>Local coordinate system</translation>
+    </message>
+    <message>
+        <source>ORIGIN</source>
+        <translation>Coordinates of origin</translation>
+    </message>
+    <message>
+        <source>VEC_PARALLEL</source>
+        <translation>Coordinate system axes cannot be parallel</translation>
+    </message>
+    <message>
+        <source>XDIR</source>
+        <translation>X axis direction</translation>
+    </message>
+    <message>
+        <source>YDIR</source>
+        <translation>Y axis direction</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_BlockDlg</name>
+    <message>
+        <source>FACE_1</source>
+        <translation>Face 1</translation>
+    </message>
+    <message>
+        <source>FACE_2</source>
+        <translation>Face 2</translation>
+    </message>
+    <message>
+        <source>FACE_3</source>
+        <translation>Face 3</translation>
+    </message>
+    <message>
+        <source>FACE_4</source>
+        <translation>Face 4</translation>
+    </message>
+    <message>
+        <source>FACE_5</source>
+        <translation>Face 5</translation>
+    </message>
+    <message>
+        <source>FACE_6</source>
+        <translation>Face 6</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_ExplodeDlg</name>
+    <message>
+        <source>NB_FACES_MAX</source>
+        <translation>Max. nb. faces</translation>
+    </message>
+    <message>
+        <source>NB_FACES_MIN</source>
+        <translation>Min. nb. faces</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_QuadFaceDlg</name>
+    <message>
+        <source>EDGE_1</source>
+        <translation>Edge 1</translation>
+    </message>
+    <message>
+        <source>EDGE_2</source>
+        <translation>Edge 2</translation>
+    </message>
+    <message>
+        <source>EDGE_3</source>
+        <translation>Edge 3</translation>
+    </message>
+    <message>
+        <source>EDGE_4</source>
+        <translation>Edge 4</translation>
+    </message>
+    <message>
+        <source>VERTEX_1</source>
+        <translation>Vertex 1</translation>
+    </message>
+    <message>
+        <source>VERTEX_2</source>
+        <translation>Vertex 2</translation>
+    </message>
+    <message>
+        <source>VERTEX_3</source>
+        <translation>Vertex 3</translation>
+    </message>
+    <message>
+        <source>VERTEX_4</source>
+        <translation>Vertex 4</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_TrsfDlg</name>
+    <message>
+        <source>FACE_1</source>
+        <translation>Face 1</translation>
+    </message>
+    <message>
+        <source>FACE_1U</source>
+        <translation>Face 1 U</translation>
+    </message>
+    <message>
+        <source>FACE_1V</source>
+        <translation>Face 1 V</translation>
+    </message>
+    <message>
+        <source>FACE_2</source>
+        <translation>Face 2</translation>
+    </message>
+    <message>
+        <source>FACE_2U</source>
+        <translation>Face 2 U</translation>
+    </message>
+    <message>
+        <source>FACE_2V</source>
+        <translation>Face 2 V</translation>
+    </message>
+</context>
+<context>
+    <name>EntityGUI_SketcherDlg</name>
+    <message>
+        <source>CANNOT_CLOSE</source>
+        <translation>It is impossible to close sketch
 Number of sketch points too small</translation>
-        </message>
-    </context>
-    <context>
-        <name>EntityGUI_SubShapeDlg</name>
-        <message>
-            <source>NO_SUBSHAPES_SELECTED</source>
-            <translation>Please, select one or more sub-shapes</translation>
-        </message>
-    </context>
-    <context>
-        <name>GroupGUI</name>
-        <message>
-            <source>NO_GROUP</source>
-            <translation>Please, select a group to edit</translation>
-        </message>
-    </context>
-    <context>
-        <name>GroupGUI_GroupDlg</name>
-        <message>
-            <source>ADD</source>
-            <translation>Add</translation>
-        </message>
-        <message>
-            <source>CREATE_GROUP_TITLE</source>
-            <translation>Create Group</translation>
-        </message>
-        <message>
-            <source>EDIT_GROUP_TITLE</source>
-            <translation>Edit Group</translation>
-        </message>
-        <message>
-            <source>EMPTY_LIST</source>
-            <translation>Please, select one or more sub-shapes to put into the group</translation>
-        </message>
-        <message>
-            <source>EMPTY_NAME</source>
-            <translation>Please, specify a non-empty group name</translation>
-        </message>
-        <message>
-            <source>GROUP_NAME</source>
-            <translation>Group Name</translation>
-        </message>
-        <message>
-            <source>GROUP_PREFIX</source>
-            <translation>Group</translation>
-        </message>
-        <message>
-            <source>MAIN_SHAPE</source>
-            <translation>Main Shape</translation>
-        </message>
-        <message>
-            <source>MAIN_SUB_SHAPES</source>
-            <translation>Main Shape And Sub-Shapes</translation>
-        </message>
-        <message>
-            <source>NO_GROUP</source>
-            <translation>Please, select a group to edit</translation>
-        </message>
-        <message>
-            <source>NO_MAIN_OBJ</source>
-            <translation>Please, select a main shape</translation>
-        </message>
-        <message>
-            <source>REMOVE</source>
-            <translation>Remove</translation>
-        </message>
-        <message>
-            <source>SELECT_ALL</source>
-            <translation>Select All</translation>
-        </message>
-        <message>
-            <source>SHAPE_SEL_RESTR</source>
-            <translation>Main Shape Selection restriction</translation>
-        </message>
-        <message>
-            <source>SHAPE_TYPE</source>
-            <translation>Shape Type</translation>
-        </message>
-        <message>
-            <source>NO_RESTR</source>
-            <translation>No restriction</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTS_OF_SHAPE2</source>
-            <translation>Geometrical parts of the Second Shape</translation>
-        </message>
-        <message>
-            <source>SUBSHAPES_OF_SHAPE2</source>
-            <translation>Only Sub-Shapes of the Second Shape</translation>
-        </message>
-        <message>
-            <source>SECOND_SHAPE</source>
-            <translation>Second Shape</translation>
-        </message>
-    </context>
-    <context>
-        <name>MeasureGUI_1Sel1TextView1Check_QTD</name>
-        <message>
-            <source>CHECK_SHAPE_GEOMETRY</source>
-            <translation>Check also geometry</translation>
-        </message>
-    </context>
-    <context>
-        <name>MeasureGUI_PointDlg</name>
-        <message>
-            <source>CAPTION</source>
-            <translation>Point Coordinates</translation>
-        </message>
-        <message>
-            <source>COORDINATES</source>
-            <translation>Point and its coordinates</translation>
-        </message>
-        <message>
-            <source>POINT</source>
-            <translation>Point</translation>
-        </message>
-        <message>
-            <source>X</source>
-            <translation>X</translation>
-        </message>
-        <message>
-            <source>Y</source>
-            <translation>Y</translation>
-        </message>
-        <message>
-            <source>Z</source>
-            <translation>Z</translation>
-        </message>
-    </context>
-    <context>
-        <name>OperationGUI_ChamferDlg</name>
-        <message>
-            <source>D</source>
-            <translation>D</translation>
-        </message>
-        <message>
-            <source>FACE_1</source>
-            <translation>Face 1</translation>
-        </message>
-        <message>
-            <source>FACE_2</source>
-            <translation>Face 2</translation>
-        </message>
-        <message>
-            <source>SELECTED_FACES</source>
-            <translation>Selected faces</translation>
-        </message>
-    </context>
-    <context>
-        <name>OperationGUI_FilletDlg</name>
-        <message>
-            <source>SELECTED_EDGES</source>
-            <translation>Selected edges</translation>
-        </message>
-        <message>
-            <source>SELECTED_FACES</source>
-            <translation>Selected faces</translation>
-        </message>
-    </context>
-    <context>
-        <name>RepairGUI_FreeBoundDlg</name>
-        <message>
-            <source>CAPTION</source>
-            <translation>Check free boundaries</translation>
-        </message>
-        <message>
-            <source>FREE_BOUND</source>
-            <translation>Free boundaries</translation>
-        </message>
-        <message>
-            <source>NUMBER_CLOSED</source>
-            <translation>Number of closed free boundaries: </translation>
-        </message>
-        <message>
-            <source>NUMBER_OPEN</source>
-            <translation>Number of open free boundaries: </translation>
-        </message>
-    </context>
-    <context>
-        <name>RepairGUI_GlueDlg</name>
-        <message>
-            <source>FACES_FOR_GLUING_ARE_DETECTED</source>
-            <translation>There are %1 face(s) that can be glued. They are coloured on the screen with red colour.
+    </message>
+</context>
+<context>
+    <name>EntityGUI_SubShapeDlg</name>
+    <message>
+        <source>NO_SUBSHAPES_SELECTED</source>
+        <translation>Please, select one or more sub-shapes</translation>
+    </message>
+</context>
+<context>
+    <name>GroupGUI</name>
+    <message>
+        <source>NO_GROUP</source>
+        <translation>Please, select a group to edit</translation>
+    </message>
+</context>
+<context>
+    <name>GroupGUI_GroupDlg</name>
+    <message>
+        <source>ADD</source>
+        <translation>Add</translation>
+    </message>
+    <message>
+        <source>CREATE_GROUP_TITLE</source>
+        <translation>Create Group</translation>
+    </message>
+    <message>
+        <source>EDIT_GROUP_TITLE</source>
+        <translation>Edit Group</translation>
+    </message>
+    <message>
+        <source>EMPTY_LIST</source>
+        <translation>Please, select one or more sub-shapes to put into the group</translation>
+    </message>
+    <message>
+        <source>EMPTY_NAME</source>
+        <translation>Please, specify a non-empty group name</translation>
+    </message>
+    <message>
+        <source>GROUP_NAME</source>
+        <translation>Group Name</translation>
+    </message>
+    <message>
+        <source>GROUP_PREFIX</source>
+        <translation>Group</translation>
+    </message>
+    <message>
+        <source>MAIN_SHAPE</source>
+        <translation>Main Shape</translation>
+    </message>
+    <message>
+        <source>MAIN_SUB_SHAPES</source>
+        <translation>Main Shape And Sub-Shapes</translation>
+    </message>
+    <message>
+        <source>NO_GROUP</source>
+        <translation>Please, select a group to edit</translation>
+    </message>
+    <message>
+        <source>NO_MAIN_OBJ</source>
+        <translation>Please, select a main shape</translation>
+    </message>
+    <message>
+        <source>REMOVE</source>
+        <translation>Remove</translation>
+    </message>
+    <message>
+        <source>SELECT_ALL</source>
+        <translation>Select All</translation>
+    </message>
+    <message>
+        <source>SHAPE_SEL_RESTR</source>
+        <translation>Main Shape Selection restriction</translation>
+    </message>
+    <message>
+        <source>SHAPE_TYPE</source>
+        <translation>Shape Type</translation>
+    </message>
+    <message>
+        <source>NO_RESTR</source>
+        <translation>No restriction</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTS_OF_SHAPE2</source>
+        <translation>Geometrical parts of the Second Shape</translation>
+    </message>
+    <message>
+        <source>SUBSHAPES_OF_SHAPE2</source>
+        <translation>Only Sub-Shapes of the Second Shape</translation>
+    </message>
+    <message>
+        <source>SECOND_SHAPE</source>
+        <translation>Second Shape</translation>
+    </message>
+</context>
+<context>
+    <name>MeasureGUI_1Sel1TextView1Check_QTD</name>
+    <message>
+        <source>CHECK_SHAPE_GEOMETRY</source>
+        <translation>Check also geometry</translation>
+    </message>
+</context>
+<context>
+    <name>MeasureGUI_PointDlg</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Point Coordinates</translation>
+    </message>
+    <message>
+        <source>COORDINATES</source>
+        <translation>Point and its coordinates</translation>
+    </message>
+    <message>
+        <source>POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>X</source>
+        <translation>X</translation>
+    </message>
+    <message>
+        <source>Y</source>
+        <translation>Y</translation>
+    </message>
+    <message>
+        <source>Z</source>
+        <translation>Z</translation>
+    </message>
+</context>
+<context>
+    <name>OperationGUI_ChamferDlg</name>
+    <message>
+        <source>D</source>
+        <translation>D</translation>
+    </message>
+    <message>
+        <source>FACE_1</source>
+        <translation>Face 1</translation>
+    </message>
+    <message>
+        <source>FACE_2</source>
+        <translation>Face 2</translation>
+    </message>
+    <message>
+        <source>SELECTED_FACES</source>
+        <translation>Selected faces</translation>
+    </message>
+</context>
+<context>
+    <name>OperationGUI_FilletDlg</name>
+    <message>
+        <source>SELECTED_EDGES</source>
+        <translation>Selected edges</translation>
+    </message>
+    <message>
+        <source>SELECTED_FACES</source>
+        <translation>Selected faces</translation>
+    </message>
+</context>
+<context>
+    <name>RepairGUI_FreeBoundDlg</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Check free boundaries</translation>
+    </message>
+    <message>
+        <source>FREE_BOUND</source>
+        <translation>Free boundaries</translation>
+    </message>
+    <message>
+        <source>NUMBER_CLOSED</source>
+        <translation>Number of closed free boundaries: </translation>
+    </message>
+    <message>
+        <source>NUMBER_OPEN</source>
+        <translation>Number of open free boundaries: </translation>
+    </message>
+</context>
+<context>
+    <name>RepairGUI_GlueDlg</name>
+    <message>
+        <source>FACES_FOR_GLUING_ARE_DETECTED</source>
+        <translation>There are %1 face(s) that can be glued. They are coloured on the screen with red colour.
 Please close this message box and select faces for glueing</translation>
-        </message>
-        <message>
-            <source>GLUE_FACES</source>
-            <translation>Glue faces</translation>
-        </message>
-        <message>
-            <source>SELECT_FACES</source>
-            <translation>Select Faces</translation>
-        </message>
-        <message>
-            <source>THERE_ARE_NO_FACES_FOR_GLUING</source>
-            <translation>There are no faces for gluing</translation>
-        </message>
-    </context>
-    <context>
-        <name>RepairGUI_ShapeProcessDlg</name>
-        <message>
-            <source>ERROR_NO_OBJECTS</source>
-            <translation>Please, select a geometrical object for Shape Processing.</translation>
-        </message>
-        <message>
-            <source>ERROR_NO_OPERATORS</source>
-            <translation>Please, select at least one Shape Process operation to proceed.</translation>
-        </message>
-        <message>
-            <source>TIME_CONSUMING</source>
-            <translation>Enabling this option may result in a very time-consuming operation for some input shapes.
+    </message>
+    <message>
+        <source>GLUE_FACES</source>
+        <translation>Glue faces</translation>
+    </message>
+    <message>
+        <source>SELECT_FACES</source>
+        <translation>Select Faces</translation>
+    </message>
+    <message>
+        <source>THERE_ARE_NO_FACES_FOR_GLUING</source>
+        <translation>There are no faces for gluing</translation>
+    </message>
+</context>
+<context>
+    <name>RepairGUI_ShapeProcessDlg</name>
+    <message>
+        <source>ERROR_NO_OBJECTS</source>
+        <translation>Please, select a geometrical object for Shape Processing.</translation>
+    </message>
+    <message>
+        <source>ERROR_NO_OPERATORS</source>
+        <translation>Please, select at least one Shape Process operation to proceed.</translation>
+    </message>
+    <message>
+        <source>TIME_CONSUMING</source>
+        <translation>Enabling this option may result in a very time-consuming operation for some input shapes.
 Would you like to continue?</translation>
-        </message>
-    </context>
-    <context>
-        <name>GEOMToolsGUI_DeleteDlg</name>
-        <message>
-            <source>GEOM_REALLY_DELETE</source>
-            <translation>Do you really want to delete %1 object(s)?</translation>
-        </message>
-        <message>
-            <source>GEOM_REALLY_DELETE_ALL</source>
-            <translation>Do you really want to delete all objects?</translation>
-        </message>
-        <message>
-            <source>GEOM_DELETE_OBJECTS</source>
-            <translation>Delete objects</translation>
-        </message>
-    </context>
-    <context>
-        <name>GEOMToolsGUI_DeflectionDlg</name>
-        <message>
-            <source>GEOM_DEFLECTION_TLT</source>
-            <translation>Select Deflection of Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_DEFLECTION</source>
-            <translation>Deflection :</translation>
-        </message>
-    </context>
-    <context>
-        <name>GEOMToolsGUI_MarkerDlg</name>
-        <message>
-            <source>SET_MARKER_TLT</source>
-            <translation>Set Point Marker</translation>
-        </message>
-        <message>
-            <source>STANDARD_MARKER</source>
-            <translation>Standard</translation>
-        </message>
-        <message>
-            <source>CUSTOM_MARKER</source>
-            <translation>Custom</translation>
-        </message>
-        <message>
-            <source>TYPE</source>
-            <translation>Type:</translation>
-        </message>
-        <message>
-            <source>SCALE</source>
-            <translation>Scale:</translation>
-        </message>
-        <message>
-            <source>CUSTOM</source>
-            <translation>Texture:</translation>
-        </message>
-        <message>
-            <source>BROWSE</source>
-            <translation>Browse...</translation>
-        </message>
-        <message>
-            <source>OK_BTN</source>
-            <translation>&amp;OK</translation>
-        </message>
-        <message>
-            <source>CANCEL_BTN</source>
-            <translation>&amp;Cancel</translation>
-        </message>
-        <message>
-            <source>HELP_BTN</source>
-            <translation>&amp;Help</translation>
-        </message>
-        <message>
-            <source>LOAD_TEXTURE_TLT</source>
-            <translation>Load Texture</translation>
-        </message>
-    </context>
-    <context>
-        <name>AdvancedGUI_PipeTShapeDlg</name>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_TITLE</source>
-            <translation>Pipe TShape Construction</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE</source>
-            <translation>PipeTShape</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_MPIPE</source>
-            <translation>Main pipe</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_R</source>
-            <translation>Radius</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_W</source>
-            <translation>Width</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_L</source>
-            <translation>Half-length</translation>
-           </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_IPIPE</source>
-            <translation>Incident pipe</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_CHAMFER</source>
-            <translation>Chamfer</translation>
-           </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_CHAMFER_H</source>
-            <translation>Height</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_CHAMFER_W</source>
-            <translation>Width</translation>
-        </message>
-           <message>
-            <source>GEOM_PIPE_TSHAPE_FILLET</source>
-            <translation>Fillet</translation>
-           </message>
-           <message>
-            <source>GEOM_PIPE_TSHAPE_HEX</source>
-            <translation>Prepare for hex mesh</translation>
-        </message>
-           <message>
-            <source>GEOM_PIPE_TSHAPE_POSITION</source>
-            <translation>Set position</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_POSITION_P1</source>
-            <translation>Junction P1</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_POSITION_P2</source>
-            <translation>Junction P2</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_POSITION_P3</source>
-            <translation>Junction P3</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_POSITION_LBL_L1</source>
-            <translation>New L1</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TSHAPE_POSITION_LBL_L2</source>
-            <translation>New L2</translation>
-        </message>
-    </context>
-    <context>
-        <name>@default</name>
-        <message>
-            <source>TOP_PIPETSHAPE</source>
-            <translation>Create Pipe TShape</translation>
-        </message>
-        <message>
-            <source>MEN_PIPETSHAPE</source>
-            <translation>Pipe TShape</translation>
-        </message>
-        <message>
-            <source>STB_PIPETSHAPE</source>
-            <translation>Create new Pipe TShape object</translation>
-           </message>
-           <message>
-            <source>GEOM_ADVANCED_201</source>
-            <translation>Pipe TShape</translation>
-        </message>
-        <message>
-            <source>HALF_LENGTH_MAIN_PIPE</source>
-            <translation>Main pipe half length</translation>
-        </message>
-        <message>
-            <source>HALF_LENGTH_INCIDENT_PIPE</source>
-            <translation>Incident pipe half length</translation>
-        </message>
-        <message>
-            <source>CIRCULAR_QUARTER_PIPE</source>
-            <translation>Circular quarter of pipe</translation>
-        </message>
-        <message>
-            <source>THICKNESS</source>
-            <translation>Thickness</translation>
-        </message>
-        <message>
-            <source>FLANGE</source>
-            <translation>Flange</translation>
-        </message>
-        <message>
-            <source>CHAMFER_OR_FILLET</source>
-            <translation>Chamfer or fillet</translation>
-        </message>
-        <message>
-            <source>CHAMFER</source>
-            <translation>Chamfer</translation>
-        </message>
-        <message>
-            <source>FILLET</source>
-            <translation>Fillet</translation>
-        </message>
-        <message>
-            <source>JUNCTION_FACE_1</source>
-            <translation>Junction 1</translation>
-        </message>
-        <message>
-            <source>JUNCTION_FACE_2</source>
-            <translation>Junction 2</translation>
-        </message>
-        <message>
-            <source>JUNCTION_FACE_3</source>
-            <translation>Junction 3</translation>
-        </message>
-    </context>
-    <!-- @@ insert new functions before this line @@ do not remove this line @@ -->
+    </message>
+</context>
+<context>
+    <name>GEOMToolsGUI_DeleteDlg</name>
+    <message>
+        <source>GEOM_REALLY_DELETE</source>
+        <translation>Do you really want to delete %1 object(s)?</translation>
+    </message>
+    <message>
+        <source>GEOM_REALLY_DELETE_ALL</source>
+        <translation>Do you really want to delete all objects?</translation>
+    </message>
+    <message>
+        <source>GEOM_DELETE_OBJECTS</source>
+        <translation>Delete objects</translation>
+    </message>
+</context>
+<context>
+    <name>GEOMToolsGUI_DeflectionDlg</name>
+    <message>
+        <source>GEOM_DEFLECTION_TLT</source>
+        <translation>Select Deflection of Shape</translation>
+    </message>
+    <message>
+        <source>GEOM_DEFLECTION</source>
+        <translation>Deflection :</translation>
+    </message>
+</context>
+<context>
+    <name>GEOMToolsGUI_MarkerDlg</name>
+    <message>
+        <source>SET_MARKER_TLT</source>
+        <translation>Set Point Marker</translation>
+    </message>
+    <message>
+        <source>STANDARD_MARKER</source>
+        <translation>Standard</translation>
+    </message>
+    <message>
+        <source>CUSTOM_MARKER</source>
+        <translation>Custom</translation>
+    </message>
+    <message>
+        <source>TYPE</source>
+        <translation>Type:</translation>
+    </message>
+    <message>
+        <source>SCALE</source>
+        <translation>Scale:</translation>
+    </message>
+    <message>
+        <source>CUSTOM</source>
+        <translation>Texture:</translation>
+    </message>
+    <message>
+        <source>BROWSE</source>
+        <translation>Browse...</translation>
+    </message>
+    <message>
+        <source>OK_BTN</source>
+        <translation>&amp;OK</translation>
+    </message>
+    <message>
+        <source>CANCEL_BTN</source>
+        <translation>&amp;Cancel</translation>
+    </message>
+    <message>
+        <source>HELP_BTN</source>
+        <translation>&amp;Help</translation>
+    </message>
+    <message>
+        <source>LOAD_TEXTURE_TLT</source>
+        <translation>Load Texture</translation>
+    </message>
+</context>
+<context>
+    <name>AdvancedGUI_PipeTShapeDlg</name>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_TITLE</source>
+        <translation>Pipe TShape Construction</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE</source>
+        <translation>PipeTShape</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_MPIPE</source>
+        <translation>Main pipe</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_R</source>
+        <translation>Radius</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_W</source>
+        <translation>Width</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_L</source>
+        <translation>Half-length</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_IPIPE</source>
+        <translation>Incident pipe</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_CHAMFER</source>
+        <translation>Chamfer</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_CHAMFER_H</source>
+        <translation>Height</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_CHAMFER_W</source>
+        <translation>Width</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_FILLET</source>
+        <translation>Fillet</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_HEX</source>
+        <translation>Prepare for hex mesh</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION</source>
+        <translation>Set position</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_P1</source>
+        <translation>Junction P1</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_P2</source>
+        <translation>Junction P2</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_P3</source>
+        <translation>Junction P3</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_LBL_L1</source>
+        <translation>New L1</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_LBL_L2</source>
+        <translation>New L2</translation>
+    </message>
+</context>
 </TS>
index 62dc3b1621415e0f47893554ec61c60b039299cb..55c113af8a3968edaa3c178a91ffa4ec68e9a22a 100644 (file)
+<?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<!--
-  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
-
-  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-
-  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.
-
-  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
-
--->
-<TS version="1.1" >
-    <context>
-        <name>@default</name>
-        <message>
-            <source>GEOM_ANGLE</source>
-            <translation>Angle :</translation>
-        </message>
-        <message>
-            <source>GEOM_ARC</source>
-            <translation>Arc</translation>
-        </message>
-        <message>
-            <source>GEOM_ARCHIMEDE</source>
-            <translation>Archimde</translation>
-        </message>
-        <message>
-            <source>GEOM_ARCHIMEDE_TITLE</source>
-            <translation>Construction d'Archimde</translation>
-        </message>
-        <message>
-            <source>GEOM_ARC_TITLE</source>
-            <translation>Construction d'un Arc</translation>
-        </message>
-        <message>
-            <source>GEOM_ARGUMENTS</source>
-            <translation>Arguments</translation>
-        </message>
-        <message>
-            <source>GEOM_AXE_MIRROR</source>
-            <translation>Axe Miroir</translation>
-        </message>
-        <message>
-            <source>GEOM_AXIS</source>
-            <translation>Axe</translation>
-        </message>
-        <message>
-            <source>GEOM_BASE</source>
-            <translation>Base</translation>
-        </message>
-        <message>
-            <source>GEOM_BASE_OBJECT</source>
-            <translation>Objet De Base</translation>
-        </message>
-        <message>
-            <source>GEOM_BASE_POINT</source>
-            <translation>Point De Base</translation>
-        </message>
-        <message>
-            <source>GEOM_BEZIER</source>
-            <translation>Bezier</translation>
-        </message>
-        <message>
-            <source>GEOM_BNDBOX</source>
-            <translation>Boite Anglobante</translation>
-        </message>
-        <message>
-            <source>GEOM_BNDBOX_OBJDIM</source>
-            <translation>Objet and ses dimensions</translation>
-        </message>
-        <message>
-            <source>GEOM_BNDBOX_TITLE</source>
-            <translation>Boite Englobante</translation>
-        </message>
-        <message>
-            <source>GEOM_BOX</source>
-            <translation>Boite</translation>
-        </message>
-        <message>
-            <source>GEOM_BOX_OBJ</source>
-            <translation>Dimensions A l'Origine</translation>
-        </message>
-        <message>
-            <source>GEOM_BOX_TITLE</source>
-            <translation>Construction d'une Boite</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_APPLY</source>
-            <translation>&amp;Appliquer</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_CANCEL</source>
-            <translation>&amp;Annuler</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_CLOSE</source>
-            <translation>&amp;Fermer</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_CLOSE_SKETCH</source>
-            <translation>Fermer Sketch</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_END_SKETCH</source>
-            <translation>Terminer Sketch</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_EXPLODE</source>
-            <translation>&amp;Exploser</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_HELP</source>
-            <translation>&amp;Aide</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_NO</source>
-            <translation>&amp;Non</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_OK</source>
-            <translation>&amp;Ok</translation>
-        </message>
-        <message>
-            <source>GEOM_BUT_YES</source>
-            <translation>&amp;Oui</translation>
-        </message>
-        <message>
-            <source>GEOM_CENTER</source>
-            <translation>Centre</translation>
-        </message>
-        <message>
-            <source>GEOM_CENTER_POINT</source>
-            <translation>Point Centre</translation>
-        </message>
-        <message>
-            <source>GEOM_CENTRAL_POINT</source>
-            <translation>Point Central</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER</source>
-            <translation>Chanfrein</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_ABORT</source>
-            <translation>Le chanfrein ne peut-tre realis avec %1 et %2 </translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_ALL</source>
-            <translation>Chanfrein sur toute la Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_EDGES</source>
-            <translation>Chanfrein sur Edges de la Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_FACES</source>
-            <translation>Chanfrein sur Faces de la Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHAMFER_TITLE</source>
-            <translation>Construction d'un Chanfrein</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND</source>
-            <translation>Check Blocks Compound</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_ERRORS</source>
-            <translation>Errors</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_ERRORS</source>
-            <translation>The Compound of Blocks has errors</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_NO_ERRORS</source>
-            <translation>The Compound of Blocks has no errors</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES</source>
-            <translation>Incriminated Sub-Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_COMPOUND_BLOCKS_TITLE</source>
-            <translation>Check Blocks Compound</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_INFOS</source>
-            <translation>Objet et ses Informations Topologiques</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_SHAPE</source>
-            <translation>Check Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CHECK_TITLE</source>
-            <translation>Check Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_CIRCLE</source>
-            <translation>Cercle</translation>
-        </message>
-        <message>
-            <source>GEOM_CIRCLE_TITLE</source>
-            <translation>Construction d'un Cercle</translation>
-        </message>
-        <message>
-            <source>GEOM_CMASS</source>
-            <translation>Centre de Masse</translation>
-        </message>
-        <message>
-            <source>GEOM_CMASS_TITLE</source>
-            <translation>Centre De Gravit</translation>
-        </message>
-        <message>
-            <source>GEOM_COMMON</source>
-            <translation>Joindre</translation>
-        </message>
-        <message>
-            <source>GEOM_COMMON_TITLE</source>
-            <translation>BOOLEEN : Jonction De Deux Objets</translation>
-        </message>
-        <message>
-            <source>GEOM_COMPOUND</source>
-            <translation>Compound</translation>
-        </message>
-        <message>
-            <source>GEOM_COMPOUNDSOLID</source>
-            <translation>CompSolid</translation>
-        </message>
-        <message>
-            <source>GEOM_COMPOUND_TITLE</source>
-            <translation>Cration d'un Compound</translation>
-        </message>
-        <message>
-            <source>GEOM_CONE</source>
-            <translation>Cone</translation>
-        </message>
-        <message>
-            <source>GEOM_CONE_TITLE</source>
-            <translation>Construction d'un Cone</translation>
-        </message>
-        <message>
-            <source>GEOM_CONFIRM</source>
-            <translation>Confirmer cette operation</translation>
-        </message>
-        <message>
-            <source>GEOM_CONFIRM_INFO</source>
-            <translation>L'objet contient %1 sous objets</translation>
-        </message>
-        <message>
-            <source>GEOM_COOR</source>
-            <translation>Coord. :</translation>
-        </message>
-        <message>
-            <source>GEOM_COORDINATES</source>
-            <translation>Coordonnes</translation>
-        </message>
-        <message>
-            <source>GEOM_COORDINATES_RES</source>
-            <translation>Resultats coordonnes</translation>
-        </message>
-        <message>
-            <source>GEOM_CREATE_COPY</source>
-            <translation>Create a copy</translation>
-        </message>
-        <message>
-            <source>GEOM_CREATE_SINGLE_SOLID</source>
-            <translation>Create a single solid</translation>
-        </message>
-        <message>
-            <source>GEOM_CUT</source>
-            <translation>Couper</translation>
-        </message>
-        <message>
-            <source>GEOM_CUT_TITLE</source>
-            <translation>BOOLEEN : Couper Deux Objets</translation>
-        </message>
-        <message>
-            <source>GEOM_CYLINDER</source>
-            <translation>Cylindre</translation>
-        </message>
-        <message>
-            <source>GEOM_CYLINDER_TITLE</source>
-            <translation>Construction d'un Cylindre</translation>
-        </message>
-        <message>
-            <source>GEOM_D1</source>
-            <translation>D1 :</translation>
-        </message>
-        <message>
-            <source>GEOM_D2</source>
-            <translation>D2 :</translation>
-        </message>
-        <message>
-            <source>GEOM_DIAGONAL_POINTS</source>
-            <translation>Points Diagonaux</translation>
-        </message>
-        <message>
-            <source>GEOM_DIMENSIONS</source>
-            <translation>Dimensions</translation>
-        </message>
-        <message>
-            <source>GEOM_DISTANCE</source>
-            <translation>Distance</translation>
-        </message>
-        <message>
-            <source>GEOM_DX</source>
-            <translation>Dx :</translation>
-        </message>
-        <message>
-            <source>GEOM_DY</source>
-            <translation>Dy :</translation>
-        </message>
-        <message>
-            <source>GEOM_DZ</source>
-            <translation>Dz :</translation>
-        </message>
-        <message>
-            <source>GEOM_EDGE</source>
-            <translation>Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_EDGE_TITLE</source>
-            <translation>Cration d'un Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_ELLIPSE</source>
-            <translation>Ellipse</translation>
-        </message>
-        <message>
-            <source>GEOM_ELLIPSE_TITLE</source>
-            <translation>Construction d'Ellipses</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION</source>
-            <translation>Extrusion</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION_BSV</source>
-            <translation>Shape de base + Vecteur</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION_BSV_2P</source>
-            <translation>Shape de base + 2 Points</translation>
-        </message>
-        <message>
-            <source>GEOM_EXTRUSION_TITLE</source>
-            <translation>Extruder une Shape de base</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE</source>
-            <translation>Face</translation>
-        </message>
-        <message>
-            <source>GEOM_FACES</source>
-            <translation>Faces</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_FFW</source>
-            <translation>Face a partir d'un wire</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_OPT</source>
-            <translation>Cration d'une Face plane</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_SELECTION</source>
-            <translation>Selection de Face</translation>
-        </message>
-        <message>
-            <source>GEOM_FACE_TITLE</source>
-            <translation>Cration d'une Face</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET</source>
-            <translation>Conge</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_ABORT</source>
-            <translation>Le cong ne peut-tre realis avec un rayon de %1 </translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_ALL</source>
-            <translation>Cong sur toute la Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_EDGES</source>
-            <translation>Cong sur Edges de la Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_WIRES</source>
-            <translation>Cong sur Wires de la Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_FACES</source>
-            <translation>Cong sur Faces de la Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLET_TITLE</source>
-            <translation>Construction d'un Cong</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING</source>
-            <translation>Surface Par Edges</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_ARG</source>
-            <translation>Argument Et Parametres</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_COMPOUND</source>
-            <translation>Compound de Edges</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_MAX_DEG</source>
-            <translation>Max. Deg</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_MIN_DEG</source>
-            <translation>Min. Deg</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_NB_ITER</source>
-            <translation>Nb. Iter</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_TITLE</source>
-            <translation>Surface Par Edges</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_TOL_2D</source>
-            <translation>Tol. 2D</translation>
-        </message>
-        <message>
-            <source>GEOM_FILLING_TOL_3D</source>
-            <translation>Tol. 3D</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_FACES</source>
-            <translation>Free faces</translation>
-        </message>
-        <message>
-            <source>GEOM_FREE_FACES_TITLE</source>
-            <translation>Free faces</translation>
-        </message>
-        <message>
-            <source>GEOM_FUSE</source>
-            <translation>Fusionner</translation>
-        </message>
-        <message>
-            <source>GEOM_FUSE_TITLE</source>
-            <translation>BOOLEEN : Fusionner deux Objets</translation>
-        </message>
-        <message>
-            <source>GEOM_HEIGHT</source>
-            <translation>Hauteur</translation>
-        </message>
-        <message>
-            <source>GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE</source>
-            <translation>Noms identiques : selectionner avec la souris !</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_CONSTR</source>
-            <translation>Matrice Et Moments d'Inertie</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_I</source>
-            <translation>%1:1</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_IXYZ</source>
-            <translation>IX &amp; IY &amp; IZ</translation>
-        </message>
-        <message>
-            <source>GEOM_INERTIA_TITLE</source>
-            <translation>Calculs d'Inertie</translation>
-        </message>
-        <message>
-            <source>GEOM_INF_LOADED</source>
-            <translation>Le fichier %1 est charg.</translation>
-        </message>
-        <message>
-            <source>GEOM_INTERPOL</source>
-            <translation>Interpolation</translation>
-        </message>
-        <message>
-            <source>GEOM_KEEP_OBJECT</source>
-            <translation>Objet garde</translation>
-        </message>
-        <message>
-            <source>GEOM_LENGTH</source>
-            <translation>Longueur :</translation>
-        </message>
-        <message>
-            <source>GEOM_LINE</source>
-            <translation>Ligne</translation>
-        </message>
-        <message>
-            <source>GEOM_LINE_TITLE</source>
-            <translation>Construction d'une Ligne</translation>
-        </message>
-        <message>
-            <source>GEOM_MAIN_OBJECT</source>
-            <translation>Objet Principal</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_ID</source>
-            <translation>Material ID:</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_MATERIAL</source>
-            <translation>Material</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_SET</source>
-            <translation>&lt;&lt; Set</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_SHAPE</source>
-            <translation>Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_MATERIAL_TITLE</source>
-            <translation>Define materials for Dominant Fuse</translation>
-        </message>
-        <message>
-            <source>GEOM_MATRIX</source>
-            <translation>Matrice :</translation>
-        </message>
-        <message>
-            <source>GEOM_MAX</source>
-            <translation>Max :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ALL_FILES</source>
-            <translation>Tous fichiers ( * )</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ANGLE</source>
-            <translation>Angle :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_COMPONENT</source>
-            <translation>Gometrie</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ENTER_ANGLE</source>
-            <translation>Saisir un angle en degrs</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_EXPORT</source>
-            <translation>Exporter</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_IMPORT</source>
-            <translation>Importer</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ISOS</source>
-            <translation>Choisir un nombre d'isos</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ISOU</source>
-            <translation>Isos u :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_ISOV</source>
-            <translation>Isos v :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_LOAD_SCRIPT</source>
-            <translation>Fichiers PYTHON ( *.py )</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_POPUP_NAME</source>
-            <translation>%1 Objets</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_SHADING</source>
-            <translation>Ombr</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_SKETCHER_X</source>
-            <translation>Saisir une longueur pour fixer X</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_SKETCHER_Y</source>
-            <translation>Saisir une longueur pour fixer Y</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_STEP_LABEL</source>
-            <translation>Increment</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_TRANSPARENCY</source>
-            <translation>Transparence</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_TRANSPARENCY_LABEL</source>
-            <translation>Transparence :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_WIREFRAME</source>
-            <translation>Filaire</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_X</source>
-            <translation>X :</translation>
-        </message>
-        <message>
-            <source>GEOM_MEN_Y</source>
-            <translation>Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_MESHING_DEFLECTION</source>
-            <translation>Dflection Du Maillage :</translation>
-        </message>
-        <message>
-            <source>GEOM_MIN</source>
-            <translation>Min :</translation>
-        </message>
-        <message>
-            <source>GEOM_MINDIST_OBJ</source>
-            <translation>Objets Et Resultats</translation>
-        </message>
-        <message>
-            <source>GEOM_MINDIST_TITLE</source>
-            <translation>Distance Minimale entre Deux Objets</translation>
-        </message>
-        <message>
-            <source>GEOM_MIRROR</source>
-            <translation>Miroir</translation>
-        </message>
-        <message>
-            <source>GEOM_MIRROR_TITLE</source>
-            <translation>Methode Miroir</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION</source>
-            <translation>Multi-Rotation</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION_DOUBLE</source>
-            <translation>Multi Rotation Double</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION_SIMPLE</source>
-            <translation>Multi Rotation Simple</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTIROTATION_TITLE</source>
-            <translation>Multi-Rotation</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION</source>
-            <translation>Multi-Translation</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION_DOUBLE</source>
-            <translation>Multi Translation Double</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION_SIMPLE</source>
-            <translation>Multi Translation Simple</translation>
-        </message>
-        <message>
-            <source>GEOM_MULTITRANSLATION_TITLE</source>
-            <translation>Multi-Translation</translation>
-        </message>
-        <message>
-            <source>GEOM_NAME_INCORRECT</source>
-            <translation>Le nom saisi n'existe pas</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_TIMES</source>
-            <translation>Nb. Fois :</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_TIMES_U</source>
-            <translation>Nb. Fois U :</translation>
-        </message>
-        <message>
-            <source>GEOM_NB_TIMES_V</source>
-            <translation>Nb. Fois V :</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECT</source>
-            <translation>Objet</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECTS</source>
-            <translation>Objets</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECT_I</source>
-            <translation>Objet %1</translation>
-        </message>
-        <message>
-            <source>GEOM_OBJECT_RESULT</source>
-            <translation>Objet Et Rsultat</translation>
-        </message>
-        <message>
-            <source>GEOM_ORIENTATION</source>
-            <translation>Orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_ORIENTATION_OPT</source>
-            <translation>Renverser l'orientation avec une simulation de vecteur normal</translation>
-        </message>
-        <message>
-            <source>GEOM_ORIENTATION_TITLE</source>
-            <translation>Changer l'Orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_PARAMETER</source>
-            <translation>Paramtre :</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_ON_EDGE</source>
-            <translation>Point sur la Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_ON_FACE</source>
-            <translation>Point sur la Face</translation>
-        </message>
-        <message>
-            <source>GEOM_PARAM_VALUE</source>
-            <translation>By paramtrique</translation>
-        </message>
-        <message>
-            <source>GEOM_COORD_VALUE</source>
-            <translation>By Coordonnes</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION</source>
-            <translation>Partition</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION_HALFSPACE</source>
-            <translation>Half-space partition</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION_ORIENTATION</source>
-            <translation>Change l'orientation</translation>
-        </message>
-        <message>
-            <source>GEOM_PARTITION_TITLE</source>
-            <translation>Partition d'Objects Avec Outils</translation>
-        </message>
-        <message>
-            <source>GEOM_PATH_OBJECT</source>
-            <translation>Objet Chemin</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE</source>
-            <translation>Pipe</translation>
-        </message>
-        <message>
-            <source>GEOM_PIPE_TITLE</source>
-            <translation>Construction d'une Pipe</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE</source>
-            <translation>Plan</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_MIRROR</source>
-            <translation>Plan Miroir</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_PV</source>
-            <translation>Point + Vecteur</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_PVC</source>
-            <translation>Point + Vecteur Coordonnes</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_SIZE</source>
-            <translation>Taille du plan :</translation>
-        </message>
-        <message>
-            <source>GEOM_PLANE_TITLE</source>
-            <translation>Construction d'un Plan</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT</source>
-            <translation>Point</translation>
-        </message>
-        <message>
-            <source>GEOM_POINTS</source>
-            <translation>Points</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_I</source>
-            <translation>Point %1</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_MIRROR</source>
-            <translation>Point Miroir</translation>
-        </message>
-        <message>
-            <source>GEOM_POINT_TITLE</source>
-            <translation>Construction d'un Point</translation>
-        </message>
-        <message>
-            <source>GEOM_PRECISION</source>
-            <translation>Prcision :</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPAGATE</source>
-            <translation>Propagate</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPAGATE_TITLE</source>
-            <translation>Propagate</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES</source>
-            <translation>Basiques Proprietes</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_CONSTR</source>
-            <translation>Objet et ses Proprietes</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_SURFACE</source>
-            <translation>Surface :</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_TITLE</source>
-            <translation>Proprietes Basiques</translation>
-        </message>
-        <message>
-            <source>GEOM_PROPERTIES_VOLUME</source>
-            <translation>Volume :</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_ABORT</source>
-            <translation>L'opration a echou</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_COMMAND</source>
-            <translation>Pas de commande associe  l'id = %1.</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_DONE</source>
-            <translation>Opration effectue</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_LOADING</source>
-            <translation>Chargement de %1 ...</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_MIN_DIST</source>
-            <translation>Min Distance non calculer</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_NOT_FOR_VTK_VIEWER</source>
-            <translation>Non permis dans viewer VTK</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_NULLSHAPE</source>
-            <translation>Erreur, objet inconsistant ou inappropri !</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_READY</source>
-            <translation>Prt...</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_EDGE</source>
-            <translation>Selectionner les edges et clicker sur Apply</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_FACE</source>
-            <translation>Select les faces a supprimer et clicker sur Ok/Apply</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_FIRST</source>
-            <translation>Selectionner la shape principale en premier</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SELECT_SUBSHAPES</source>
-            <translation>Selection de sous objets</translation>
-        </message>
-        <message>
-            <source>GEOM_PRP_SHAPE_IN_STUDY</source>
-            <translation>La shape principale doit etre avant dans l'etude</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS</source>
-            <translation>Rayon</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS_I</source>
-            <translation>Rayon %1</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS_MAJOR</source>
-            <translation>Rayon max. :</translation>
-        </message>
-        <message>
-            <source>GEOM_RADIUS_MINOR</source>
-            <translation>Rayon min. :</translation>
-        </message>
-        <message>
-            <source>GEOM_REALLY_DELETE</source>
-            <translation>Voulez-vous supprimer l'object(s) ?</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT</source>
-            <translation>Limite de Reconstruction</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_EDGE</source>
-            <translation>Edge</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_FACE</source>
-            <translation>Face</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_SHAPE</source>
-            <translation>Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_SHELL</source>
-            <translation>Shell</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_SOLID</source>
-            <translation>Solid</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_VERTEX</source>
-            <translation>Vertex</translation>
-        </message>
-        <message>
-            <source>GEOM_RECONSTRUCTION_LIMIT_WIRE</source>
-            <translation>Wire</translation>
-        </message>
-        <message>
-            <source>GEOM_REMOVE_WEBS</source>
-            <translation>Remove webs</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE</source>
-            <translation>Renverser</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE_U</source>
-            <translation>Renverser U</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE_V</source>
-            <translation>Reverser V</translation>
-        </message>
-        <message>
-            <source>GEOM_REVERSE_VECTOR</source>
-            <translation>Renverser Le Vecteur</translation>
-        </message>
-        <message>
-            <source>GEOM_REVOLUTION</source>
-            <translation>Rvolution</translation>
-        </message>
-        <message>
-            <source>GEOM_REVOLUTION_TITLE</source>
-            <translation>Construction Par Revolution</translation>
-        </message>
-        <message>
-            <source>GEOM_ROTATION</source>
-            <translation>Rotation</translation>
-        </message>
-        <message>
-            <source>GEOM_ROTATION_TITLE</source>
-            <translation>Rotation d'un Objet</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE</source>
-            <translation>Echelle</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_FACTOR</source>
-            <translation>Facteur d'echelle</translation>
-        </message>
-        <message>
-            <source>GEOM_SCALE_TITLE</source>
-            <translation>Echelle d'un Objet</translation>
-        </message>
-        <message>
-            <source>GEOM_SECTION</source>
-            <translation>Section</translation>
-        </message>
-        <message>
-            <source>GEOM_SECTION_TITLE</source>
-            <translation>BOOLEEN : Section De Deux Objets</translation>
-        </message>
-        <message>
-            <source>GEOM_SELECTION</source>
-            <translation>Slection</translation>
-        </message>
-        <message>
-            <source>GEOM_SET_MATERIALS</source>
-            <translation>Set materials</translation>
-        </message>
-        <message>
-            <source>GEOM_SEWING</source>
-            <translation>Coudre</translation>
-        </message>
-        <message>
-            <source>GEOM_SEWING_TITLE</source>
-            <translation>Coudre des Topologies</translation>
-        </message>
-        <message>
-            <source>GEOM_SHAPE</source>
-            <translation>Shape</translation>
-        </message>
-        <message>
-            <source>GEOM_SHELL</source>
-            <translation>Shell</translation>
-        </message>
-        <message>
-            <source>GEOM_SHELLS</source>
-            <translation>Shells</translation>
-        </message>
-        <message>
-            <source>GEOM_SHELL_TITLE</source>
-            <translation>Construction d'une Shell</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ABS</source>
-            <translation>Absolu</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ANGLE</source>
-            <translation>Angle</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ANGLE2</source>
-            <translation>Angle :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_APPLY</source>
-            <translation>Appliquer</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_ARC</source>
-            <translation>Arc</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DEST</source>
-            <translation>Destination</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DIR</source>
-            <translation>Direction</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DX2</source>
-            <translation>DX :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_DY2</source>
-            <translation>DY :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_EL</source>
-            <translation>Type d'Element</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_LENGTH</source>
-            <translation>Longueur</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_LENGTH2</source>
-            <translation>Longueur :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_PER</source>
-            <translation>Perpendiculaire</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_POINT</source>
-            <translation>Point</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_POINT2</source>
-            <translation>Point :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_RADIUS2</source>
-            <translation>Radius :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_REL</source>
-            <translation>Relative</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_SEGMENT</source>
-            <translation>Sgment</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_SEL</source>
-            <translation>Slection</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_TAN</source>
-            <translation>Tangent</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_TITLE</source>
-            <translation>Construction de Sketch</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_TYPE</source>
-            <translation>Type</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_UNDO</source>
-            <translation>Undo</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VALUES</source>
-            <translation>Valeurs</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VX2</source>
-            <translation>VX :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VXVY</source>
-            <translation>VX-VY</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_VY2</source>
-            <translation>VY :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_X</source>
-            <translation>X</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_X2</source>
-            <translation>X :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_X3</source>
-            <translation>Abs. X :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_Y</source>
-            <translation>Y</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_Y2</source>
-            <translation>Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_SKETCHER_Y3</source>
-            <translation>Abs. Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_SOLID</source>
-            <translation>Solide</translation>
-        </message>
-        <message>
-            <source>GEOM_SOLID_TITLE</source>
-            <translation>Construction d'un Solid</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE</source>
-            <translation>Sphre</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE_CR</source>
-            <translation>Centre + rayon</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE_RO</source>
-            <translation>Rayon a l'origine</translation>
-        </message>
-        <message>
-            <source>GEOM_SPHERE_TITLE</source>
-            <translation>Construction d'une Sphere</translation>
-        </message>
-        <message>
-            <source>GEOM_SPLINE</source>
-            <translation>Spline</translation>
-        </message>
-        <message>
-            <source>GEOM_SPLINE_TITLE</source>
-            <translation>Construction de Splines</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP</source>
-            <translation>Pas :</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP_TITLE</source>
-            <translation>Increment par dfaut lors des constructions</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP_U</source>
-            <translation>Pas U :</translation>
-        </message>
-        <message>
-            <source>GEOM_STEP_V</source>
-            <translation>Pas V :</translation>
-        </message>
-        <message>
-            <source>GEOM_SUBSHAPE_SELECT</source>
-            <translation>Selectionner de Sous Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_SUBSHAPE_TITLE</source>
-            <translation>Selection de Sous Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_SUBSHAPE_TYPE</source>
-            <translation>Type de Sous Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_SUB_SHAPE</source>
-            <translation>Sous Shapes</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_FACE_SHELL</source>
-            <translation>Face ou shell</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTFACE</source>
-            <translation>Selection de la face initiale</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTFACE_END</source>
-            <translation>Selection de la face terminale (si trou traversant)</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTWIRE</source>
-            <translation>Selection du contour/trou sur la face</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECTWIRE_END</source>
-            <translation>Selection de contour final (si trou traversant)</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE</source>
-            <translation>Selection de trou(s) sur la face</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESSHOLE_TITLE</source>
-            <translation>Suppression de trous</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESS_RESULT</source>
-            <translation>Supprimer le Resultat</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESS_RESULT_INSIDE</source>
-            <translation>Intrieur</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPPRESS_RESULT_OUTSIDE</source>
-            <translation>Extrieur</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPRESSFACE</source>
-            <translation>Supression de Face</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPRESSFACE_SELECT</source>
-            <translation>Selectionner les Faces a Supprimer</translation>
-        </message>
-        <message>
-            <source>GEOM_SUPRESSFACE_TITLE</source>
-            <translation>Supprimer des Faces dans un Objet</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFCONE</source>
-            <translation>Face Conique</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFCYLINDER</source>
-            <translation>Face Cylindrique</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFSPHERE</source>
-            <translation>Face Sphrique</translation>
-        </message>
-        <message>
-            <source>GEOM_SURFTORUS</source>
-            <translation>Face Toroique</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE</source>
-            <translation>Tolrance</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_CONSTR</source>
-            <translation>Object et ses Tolerances</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_EDGE</source>
-            <translation>Edge :</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_FACE</source>
-            <translation>Face :</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_TITLE</source>
-            <translation>Tolerance Maximale</translation>
-        </message>
-        <message>
-            <source>GEOM_TOLERANCE_VERTEX</source>
-            <translation>Vertex :</translation>
-        </message>
-        <message>
-            <source>GEOM_TOOL_OBJECT</source>
-            <translation>Objet Outil</translation>
-        </message>
-        <message>
-            <source>GEOM_TORUS</source>
-            <translation>Tore</translation>
-        </message>
-        <message>
-            <source>GEOM_TORUS_TITLE</source>
-            <translation>Constructiond'un Tore</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSLATION</source>
-            <translation>Translation</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSLATION_COOR</source>
-            <translation>Translation Avec Coordonnees</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSLATION_TITLE</source>
-            <translation>Translation d'un Objet</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSPARENCY_OPAQUE</source>
-            <translation>Opaque</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSPARENCY_TITLE</source>
-            <translation>Transparence</translation>
-        </message>
-        <message>
-            <source>GEOM_TRANSPARENCY_TRANSPARENT</source>
-            <translation>Transparent</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR</source>
-            <translation>Vecteur</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_LENGTH</source>
-            <translation>Longueur Du Vecteur :</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_TITLE</source>
-            <translation>Construction d'un Vecteur</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_U</source>
-            <translation>Vecteur U</translation>
-        </message>
-        <message>
-            <source>GEOM_VECTOR_V</source>
-            <translation>Vecteur V</translation>
-        </message>
-        <message>
-            <source>GEOM_VERTEX</source>
-            <translation>Vertex</translation>
-        </message>
-        <message>
-            <source>GEOM_WATER_DENSITY</source>
-            <translation>Densit de l'eau :</translation>
-        </message>
-        <message>
-            <source>GEOM_WEIGHT</source>
-            <translation>poids</translation>
-        </message>
-        <message>
-            <source>GEOM_WHATIS</source>
-            <translation>Whatis</translation>
-        </message>
-        <message>
-            <source>GEOM_WHATIS_OBJECT</source>
-            <translation>Objet et ses Informations Topologiques</translation>
-        </message>
-        <message>
-            <source>GEOM_WHATIS_TITLE</source>
-            <translation>Whatis</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRE</source>
-            <translation>Wire</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRES</source>
-            <translation>Wire(s)</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRE_CONNECT</source>
-            <translation>Creation d'un Wire a partir de wires/edges connectes</translation>
-        </message>
-        <message>
-            <source>GEOM_WIRE_TITLE</source>
-            <translation>Creer un Wire</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE</source>
-            <translation>Plan de Travail</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_FACE</source>
-            <translation>Plan Ou Face plane</translation>
-        </message>
-        <message>
-            <source>GEOM_WPLANE_TITLE</source>
-            <translation>plan de travail</translation>
-        </message>
-        <message>
-            <source>GEOM_WRN_RADIUS_NULL</source>
-            <translation>Le rayon est nul</translation>
-        </message>
-        <message>
-            <source>GEOM_WRN_WARNING</source>
-            <translation>Avertissement</translation>
-        </message>
-        <message>
-            <source>GEOM_X</source>
-            <translation>X :</translation>
-        </message>
-        <message>
-            <source>GEOM_Y</source>
-            <translation>Y :</translation>
-        </message>
-        <message>
-            <source>GEOM_Z</source>
-            <translation>Z :</translation>
-        </message>
-        <message>
-            <source>SUPPRESS_RESULT</source>
-            <translation>Suppress Result</translation>
-        </message>
-    </context>
+<TS version="2.0" language="fr_FR">
+<context>
+    <name>@default</name>
+    <message>
+        <source>BRep_API: command not done</source>
+        <translation>Erreur: impossible de construire l&apos;objet</translation>
+    </message>
+    <message>
+        <source>CHANGE_ORIENTATION_NEW_OBJ_NAME</source>
+        <translation>Inverser</translation>
+    </message>
+    <message>
+        <source>CLOSE_CONTOUR_NEW_OBJ_NAME</source>
+        <translation>FermerContour</translation>
+    </message>
+    <message>
+        <source>DEP_OBJECT</source>
+        <translation>L&apos;objet choisi a été utilisé pour créer un autre objet.
+Il n&apos;est pas possible de le supprimer </translation>
+    </message>
+    <message>
+        <source>DEVIDE_EDGE_NEW_OBJECT_NAME</source>
+        <translation>NouvelObjet</translation>
+    </message>
+    <message>
+        <source>ERROR_SHAPE_TYPE</source>
+        <translation>Le type de l&apos;objet choisi n&apos;est pas correct!
+Choisissez face, coque ou solide et essayez de nouveau</translation>
+    </message>
+    <message>
+        <source> iErr : 10</source>
+        <translation>le Classificateur est NULL</translation>
+    </message>
+    <message>
+        <source> iErr : 11</source>
+        <translation>la Forme est NULL</translation>
+    </message>
+    <message>
+        <source> iErr : 12</source>
+        <translation>Un type de sous-forme pas authorisé</translation>
+    </message>
+    <message>
+        <source> iErr : 13</source>
+        <translation>Cet état n&apos;est pas authorisé</translation>
+    </message>
+    <message>
+        <source> iErr : 15</source>
+        <translation>Ce type de surface n&apos;est pas authorisé</translation>
+    </message>
+    <message>
+        <source> iErr : 20</source>
+        <translation>Impossible de trouver la triangulation</translation>
+    </message>
+    <message>
+        <source> iErr : 30</source>
+        <translation>Impossible d&apos;obtenir la ligne à partir du lien</translation>
+    </message>
+    <message>
+        <source> iErr : 40</source>
+        <translation>Impossible de classifier le point</translation>
+    </message>
+    <message>
+        <source> iErr : 41</source>
+        <translation>Les données ne sont pas valides pour le classificateur</translation>
+    </message>
+    <message>
+        <source>GEOM_2D_CONTINUTY</source>
+        <translation>Continuité 2D </translation>
+    </message>
+    <message>
+        <source>GEOM_2D_CURVE_MODE</source>
+        <translation>Mode courbe 2D</translation>
+    </message>
+    <message>
+        <source>GEOM_2D_TOLERANCE</source>
+        <translation>Tolérance 2D</translation>
+    </message>
+    <message>
+        <source>GEOM_3D_CONTINUTY</source>
+        <translation>Continuité 3D</translation>
+    </message>
+    <message>
+        <source>GEOM_3D_CURVE_MODE</source>
+        <translation>Mode courbe 3D</translation>
+    </message>
+    <message>
+        <source>GEOM_3D_TOLERANCE</source>
+        <translation>Tolérance 3D</translation>
+    </message>
+    <message>
+        <source>GEOM_3_POINTS</source>
+        <translation>3 points</translation>
+    </message>
+    <message>
+        <source>GEOM_ADD_POINT</source>
+        <translation>Ajouter un point</translation>
+    </message>
+    <message>
+        <source>GEOM_ANGLE</source>
+        <translation>Angle :</translation>
+    </message>
+    <message>
+        <source>GEOM_ANGLE_1</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>GEOM_ARC_ELLIPSE</source>
+        <translation>Arc d&apos;ellipse</translation>
+    </message>
+    <message>
+        <source>GEOM_ARC</source>
+        <translation>Arc</translation>
+    </message>
+    <message>
+        <source>GEOM_ARCHIMEDE</source>
+        <translation>Archimède</translation>
+    </message>
+    <message>
+        <source>GEOM_ARCHIMEDE_TITLE</source>
+        <translation>Construction Archimède</translation>
+    </message>
+    <message>
+        <source>GEOM_ARC_TITLE</source>
+        <translation>Construction Arc </translation>
+    </message>
+    <message>
+        <source>GEOM_ARGUMENTS</source>
+        <translation>Arguments</translation>
+    </message>
+    <message>
+        <source>GEOM_AXE_MIRROR</source>
+        <translation>Axe Miroir</translation>
+    </message>
+    <message>
+        <source>GEOM_AXIS</source>
+        <translation>Axe</translation>
+    </message>
+    <message>
+        <source>GEOM_BASE</source>
+        <translation>Base</translation>
+    </message>
+    <message>
+        <source>GEOM_BASE_OBJECT</source>
+        <translation>Objet de Base</translation>
+    </message>
+    <message>
+        <source>GEOM_BASE_POINT</source>
+        <translation>Point de Base</translation>
+    </message>
+    <message>
+        <source>GEOM_BEZIER</source>
+        <translation>Bezier</translation>
+    </message>
+    <message>
+        <source>GEOM_BINORMAL</source>
+        <translation>BiNormal</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK</source>
+        <translation>Solide Hexahédral</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCKS_COMPOUND</source>
+        <translation>AssemblageBloques</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_EXPLODE</source>
+        <translation>Sous-Bloques</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_EXPLODE_TITLE</source>
+        <translation>Sélection des Sous-bloques </translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF</source>
+        <translation>Multi-Transformation Bloques </translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF_DOUBLE</source>
+        <translation>Multi-Transformation Double</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF_SIMPLE</source>
+        <translation>Multi-Transformation Simple</translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_MULTITRSF_TITLE</source>
+        <translation>Multi-Transformation Bloques </translation>
+    </message>
+    <message>
+        <source>GEOM_BLOCK_TITLE</source>
+        <translation>Construction d&apos;un Solide Hexahédral  </translation>
+    </message>
+    <message>
+        <source>GEOM_BNDBOX</source>
+        <translation>Boîte Englonante</translation>
+    </message>
+    <message>
+        <source>GEOM_BNDBOX_OBJDIM</source>
+        <translation>Objet et ses Dimensions</translation>
+    </message>
+    <message>
+        <source>GEOM_BNDBOX_TITLE</source>
+        <translation>Boîte Englobante Information</translation>
+    </message>
+    <message>
+        <source>GEOM_BOX</source>
+        <translation>Boite</translation>
+    </message>
+    <message>
+        <source>GEOM_BOX_OBJ</source>
+        <translation>Dimensions à l&apos;Origine</translation>
+    </message>
+    <message>
+        <source>GEOM_BOX_TITLE</source>
+        <translation>Construction d&apos;une Boite </translation>
+    </message>
+    <message>
+        <source>GEOM_BSplineRestriction</source>
+        <translation>BSplineLimitation</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_APPLY</source>
+        <translation>&amp;Appliquer</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_CANCEL</source>
+        <translation>A&amp;nnuler</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_CLOSE</source>
+        <translation>&amp;Fermer</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_CLOSE_SKETCH</source>
+        <translation>Renfermer le Contour</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_END_SKETCH</source>
+        <translation>Valider le Contour</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_EXPLODE</source>
+        <translation>&amp;Eclatement</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_HELP</source>
+        <translation>&amp;Aide</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_NO</source>
+        <translation>&amp;Non</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_OK</source>
+        <translation>&amp;Oui</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_APPLY_AND_CLOSE</source>
+        <translation>A&amp;ppliquer et Fermer</translation>
+    </message>
+    <message>
+        <source>GEOM_BUT_YES</source>
+        <translation>&amp;Oui</translation>
+    </message>
+    <message>
+        <source>GEOM_BY_LENGTH</source>
+        <translation>Par longueur</translation>
+    </message>
+    <message>
+        <source>GEOM_BY_PARAMETER</source>
+        <translation>Par paramètre</translation>
+    </message>
+    <message>
+        <source>GEOM_CENTER</source>
+        <translation>Centre</translation>
+    </message>
+    <message>
+        <source>GEOM_CENTER_POINT</source>
+        <translation>Point Central </translation>
+    </message>
+    <message>
+        <source>GEOM_CENTRAL_POINT</source>
+        <translation>Point Central</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER</source>
+        <translation>Chanfrein</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_ABORT</source>
+        <translation>Il n&apos;est pas possible de calculer un chanfrein avec %1 et %2</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_ALL</source>
+        <translation>Chanfrein sur l&apos;Objet tout entier</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_EDGES</source>
+        <translation>Chanfrein sur les arêtes d&apos;un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_FACES</source>
+        <translation>Chanfrein sur les Faces d&apos;un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_TITLE</source>
+        <translation>Construction d&apos;un Chanfrain</translation>
+    </message>
+    <message>
+        <source>GEOM_CHANGE_ORIENTATION</source>
+        <translation>Les objets à changer l&apos;orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_CHANGE_ORIENTATION_TITLE</source>
+        <translation>Changer l&apos;orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND</source>
+        <translation>Check and Improve Blocks Compound</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_FAILED</source>
+        <translation>Vérification n&apos;a pas abouti</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_ERRORS</source>
+        <translation>Erreurs</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_ERRORS</source>
+        <translation>Il y a d&apos;erreurs dans l&apos;Assemblage des Bloques</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_HAS_NO_ERRORS</source>
+        <translation>Il n&apos;y a pas d&apos;erreurs dans l&apos;Assemblage des Bloques</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES</source>
+        <translation>Sous-Formes augmentées</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_INFOS</source>
+        <translation>Objet et son Information Topologique</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_SHAPE</source>
+        <translation>Vérifier la forme</translation>
+    </message>
+    <message>
+        <source>GEOM_CHECK_TITLE</source>
+        <translation>Vérifier l&apos;Information de la Forme</translation>
+    </message>
+    <message>
+        <source>GEOM_CIRCLE</source>
+        <translation>Circle</translation>
+    </message>
+    <message>
+        <source>GEOM_CIRCLE_TITLE</source>
+        <translation>Construction d&apos;un Circle </translation>
+    </message>
+    <message>
+        <source>GEOM_CLOSECONTOUR_TITLE</source>
+        <translation>Fermer le contour</translation>
+    </message>
+    <message>
+        <source>GEOM_CMASS</source>
+        <translation>Centre de la Masse</translation>
+    </message>
+    <message>
+        <source>GEOM_CMASS_TITLE</source>
+        <translation>Construction du Centre de la Masse </translation>
+    </message>
+    <message>
+        <source>GEOM_COMMON</source>
+        <translation>Commun</translation>
+    </message>
+    <message>
+        <source>GEOM_COMMON_TITLE</source>
+        <translation>Commun de deux Objets</translation>
+    </message>
+    <message>
+        <source>GEOM_COMPOUND</source>
+        <translation>Assemblage</translation>
+    </message>
+    <message>
+        <source>GEOM_COMPOUNDSOLID</source>
+        <translation>AssemblageSolide</translation>
+    </message>
+    <message>
+        <source>GEOM_COMPOUND_TITLE</source>
+        <translation>Créer un Assemblage</translation>
+    </message>
+    <message>
+        <source>GEOM_CONE</source>
+        <translation>Cône</translation>
+    </message>
+    <message>
+        <source>GEOM_CONE_TITLE</source>
+        <translation>Construction d&apos;un Cône </translation>
+    </message>
+    <message>
+        <source>GEOM_CONFIRM</source>
+        <translation>Confirmer l&apos;opération</translation>
+    </message>
+    <message>
+        <source>GEOM_CONFIRM_INFO</source>
+        <translation>La forme contient %1 sous-formes !</translation>
+    </message>
+    <message>
+        <source>GEOM_COOR</source>
+        <translation>Coord. :</translation>
+    </message>
+    <message>
+        <source>GEOM_COORDINATES</source>
+        <translation>Coordonnées</translation>
+    </message>
+    <message>
+        <source>GEOM_COORDINATES_RES</source>
+        <translation>Coordonnées résultantes</translation>
+    </message>
+    <message>
+        <source>GEOM_CREATE_COPY</source>
+        <translation>Créer une copie</translation>
+    </message>
+    <message>
+        <source>GEOM_CREATE_SINGLE_SOLID</source>
+        <translation>Créer un solide</translation>
+    </message>
+    <message>
+        <source>GEOM_CURVE</source>
+        <translation>Courbe</translation>
+    </message>
+    <message>
+        <source>GEOM_CURVE_CONTINUTY</source>
+        <translation>Continuité des Courbes </translation>
+    </message>
+    <message>
+        <source>GEOM_CURVE_TITLE</source>
+        <translation>Construction d&apos;une Courbe </translation>
+    </message>
+    <message>
+        <source>GEOM_CUT</source>
+        <translation>Découpe</translation>
+    </message>
+    <message>
+        <source>GEOM_CUT_TITLE</source>
+        <translation>Découpe de deux Objets</translation>
+    </message>
+    <message>
+        <source>GEOM_CYLINDER</source>
+        <translation>Cylindre</translation>
+    </message>
+    <message>
+        <source>GEOM_CYLINDER_TITLE</source>
+        <translation>Construction d&apos;un Cylindre </translation>
+    </message>
+    <message>
+        <source>GEOM_D1</source>
+        <translation>D1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_D2</source>
+        <translation>D2 :</translation>
+    </message>
+    <message>
+        <source>GEOM_DETECT</source>
+        <translation>Detecter</translation>
+    </message>
+    <message>
+        <source>GEOM_DIAGONAL_POINTS</source>
+        <translation>Points Diagonaux </translation>
+    </message>
+    <message>
+        <source>GEOM_DISK</source>
+        <translation>Disque</translation>
+    </message>
+    <message>
+        <source>GEOM_DISK_TITLE</source>
+        <translation>Construction d&apos;un Disque </translation>
+    </message>
+    <message>
+        <source>GEOM_DIMENSIONS</source>
+        <translation>Dimensions</translation>
+    </message>
+    <message>
+        <source>GEOM_DISTANCE</source>
+        <translation>Distance</translation>
+    </message>
+    <message>
+        <source>GEOM_DIVIDE_EDGE_TITLE</source>
+        <translation>Ajouter un point</translation>
+    </message>
+    <message>
+        <source>GEOM_DX</source>
+        <translation>Dx :</translation>
+    </message>
+    <message>
+        <source>GEOM_DY</source>
+        <translation>Dy :</translation>
+    </message>
+    <message>
+        <source>GEOM_DZ</source>
+        <translation>Dz :</translation>
+    </message>
+    <message>
+        <source>GEOM_DropSmallEdges</source>
+        <translation>OmettreArêtesMineures</translation>
+    </message>
+    <message>
+        <source>GEOM_EDGE</source>
+        <translation>Arête</translation>
+    </message>
+    <message>
+        <source>GEOM_EDGE_TITLE</source>
+        <translation>Créer une Arête</translation>
+    </message>
+    <message>
+        <source>GEOM_ELLIPSE</source>
+        <translation>Ellipse</translation>
+    </message>
+    <message>
+        <source>GEOM_ELLIPSE_ERROR_1</source>
+        <translation>Impossible de créer un ellipse: le rayon mineur est plus que le rayon majeur.</translation>
+    </message>
+    <message>
+        <source>GEOM_ELLIPSE_TITLE</source>
+        <translation>Construction d&apos;un Ellipse </translation>
+    </message>
+    <message>
+        <source>GEOM_END_LCS</source>
+        <translation>Fin SCL</translation>
+    </message>
+    <message>
+        <source>GEOM_ERROR</source>
+        <translation>Erreur</translation>
+    </message>
+    <message>
+        <source>GEOM_ERROR_STATUS</source>
+        <translation>Etat de l&apos;Opération</translation>
+    </message>
+    <message>
+        <source>GEOM_ERR_GET_ENGINE</source>
+        <translation>Il est impossible d&apos;obtenir le composant GEOM Engine. Rouvrez le module Geometry et essayez de nouveau.</translation>
+    </message>
+    <message>
+        <source>GEOM_ERR_LIB_NOT_FOUND</source>
+        <translation>Il est impossible de trouver ou d&apos;ouvrir la librairie IHM correspondante à l&apos;action de l&apos;utilisateur</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION</source>
+        <translation>Extrusion</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_BSV</source>
+        <translation>Forme de Base + Vecteur</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_BSV_2P</source>
+        <translation>Forme de Base + 2 Points</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_DXDYDZ</source>
+        <translation>Forme de Base  + Vecteur DX DY DZ</translation>
+    </message>
+    <message>
+        <source>GEOM_EXTRUSION_TITLE</source>
+        <translation>Construction par Extrusion</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>GEOM_CS</source>
+        <translation>Système de Coordonnées</translation>
+    </message>
+    <message>
+        <source>GEOM_GCS</source>
+        <translation>Système de Coordonnées Globale</translation>
+    </message>
+    <message>
+        <source>GEOM_LCS</source>
+        <translation>Système de Coordonnées Locale</translation>
+    </message>
+    <message>
+        <source>GEOM_FACES</source>
+        <translation>Faces</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_FFW</source>
+        <translation>Création d&apos;une Face à partir des contours et/ou arêtes</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_OPT</source>
+        <translation>Privilégier la création d&apos;une face planaire</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_OR_LCS</source>
+        <translation>Face ou SCL</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_SELECTION</source>
+        <translation>Sélection d&apos;une Face </translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_TITLE</source>
+        <translation>Créer une Face</translation>
+    </message>
+    <message>
+        <source>GEOM_RECTANGLE_TITLE</source>
+        <translation>Construction d&apos;un Rectangle </translation>
+    </message>
+    <message>
+        <source>GEOM_RECTANGLE</source>
+        <translation>Rectangle</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET</source>
+        <translation>Congé</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_2D</source>
+        <translation>Congé 2D</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_1D</source>
+        <translation>Congé 1D</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_ABORT</source>
+        <translation>Il n&apos;est pas possible de calculer un congé avec le rayon %1</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_ALL</source>
+        <translation>Congé sur l&apos;Objet tout entier</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_EDGES</source>
+        <translation>Congé sur les Arêtes de l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_WIRES</source>
+        <translation>Congé sur les Contours de l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_FACES</source>
+        <translation>Congé sur les Faces de l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_VERTEXES</source>
+        <translation>Congé sur les Sommets de l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_TITLE</source>
+        <translation>Construction d&apos;un Congé</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_2D_TITLE</source>
+        <translation>Construction d&apos;un Congé 2D </translation>
+    </message>
+    <message>
+        <source>GEOM_FILLET_1D_TITLE</source>
+        <translation>Construction d&apos;un Congé 1D </translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING</source>
+        <translation>Remplissage</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_ARG</source>
+        <translation>Arguments et Paramètres</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_COMPOUND</source>
+        <translation>Assemblage d&apos;entrée</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_MAX_DEG</source>
+        <translation>Degré maximal</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_MIN_DEG</source>
+        <translation>Degré minimal</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_NB_ITER</source>
+        <translation>Nb. Itér :</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_TITLE</source>
+        <translation>Remplir une Surface avec des Arêtes</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_TOL_2D</source>
+        <translation>Tol. 2D :</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_TOL_3D</source>
+        <translation>Tol. 3D :</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDARIES</source>
+        <translation>Contours Libres</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDS_ERROR</source>
+        <translation>L&apos;objet n&apos;est pas choisi</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDS_MSG</source>
+        <translation>Contours libres trouvés: %1 (%2 fermés, %3 ouverts)</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_BOUNDS_TLT</source>
+        <translation>Trouver des Contours Libres</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_FACES</source>
+        <translation>Faces Libres</translation>
+    </message>
+    <message>
+        <source>GEOM_FREE_FACES_TITLE</source>
+        <translation>Faces Libres</translation>
+    </message>
+    <message>
+        <source>GEOM_FUSE</source>
+        <translation>Fusion</translation>
+    </message>
+    <message>
+        <source>GEOM_FUSE_TITLE</source>
+        <translation>Fusionner deux Objets</translation>
+    </message>
+    <message>
+        <source>GEOM_FixFaceSize</source>
+        <translation>FixerFaceTaille</translation>
+    </message>
+    <message>
+        <source>GEOM_FixShape</source>
+        <translation>FixerForme</translation>
+    </message>
+    <message>
+        <source>GEOM_GLUE</source>
+        <translation>Coller</translation>
+    </message>
+    <message>
+        <source>GEOM_GLUE_TITLE</source>
+        <translation>Coller des faces</translation>
+    </message>
+    <message>
+        <source>GEOM_LIMIT_TOLERANCE_TITLE</source>
+        <translation>Tolérance limite</translation>
+    </message>
+    <message>
+        <source>GEOM_HEIGHT</source>
+        <translation>Hauteur:</translation>
+    </message>
+    <message>
+        <source>GEOM_HOLES</source>
+        <translation>Trous</translation>
+    </message>
+    <message>
+        <source>GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE</source>
+        <translation>Noms Identiques : choisir par souris !</translation>
+    </message>
+    <message>
+        <source>GEOM_IMPORT</source>
+        <translation>Objet_Importé</translation>
+    </message>
+    <message>
+        <source>GEOM_INCORRECT_INPUT</source>
+        <translation>Les données d&apos;entrée ne sont pas correctes!</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_CONSTR</source>
+        <translation>Matrice et Moment d&apos;Inertie</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_I</source>
+        <translation>%1:1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_IXYZ</source>
+        <translation>IX &amp; IY &amp; IZ :</translation>
+    </message>
+    <message>
+        <source>GEOM_INERTIA_TITLE</source>
+        <translation>Calcul d&apos;Inertie</translation>
+    </message>
+    <message>
+        <source>GEOM_INF_LOADED</source>
+        <translation>Fichier %1 est ouvert.</translation>
+    </message>
+    <message>
+        <source>GEOM_INTERNAL_WIRES</source>
+        <translation>Contours internes</translation>
+    </message>
+    <message>
+        <source>GEOM_INTERPOL</source>
+        <translation>Interpolation</translation>
+    </message>
+    <message>
+        <source>GEOM_KEEP_OBJECT</source>
+        <translation>Préserver l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_LENGTH</source>
+        <translation>Longueur :</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE</source>
+        <translation>Ligne</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE_TITLE</source>
+        <translation>Construction d&apos;une Ligne </translation>
+    </message>
+    <message>
+        <source>GEOM_MAIN_OBJECT</source>
+        <translation>Objet Principal</translation>
+    </message>
+    <message>
+        <source>GEOM_MARKER</source>
+        <translation>Repère</translation>
+    </message>
+    <message>
+        <source>GEOM_MARKER_TITLE</source>
+        <translation>Créer une repère</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_ID</source>
+        <translation>ID Matériel:</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_MATERIAL</source>
+        <translation>Matériel</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_SET</source>
+        <translation>&lt;&lt; Jeu</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_SHAPE</source>
+        <translation>Formes</translation>
+    </message>
+    <message>
+        <source>GEOM_MATERIAL_TITLE</source>
+        <translation>Définir les matériaux pour la Fusion Dominante</translation>
+    </message>
+    <message>
+        <source>GEOM_MATRIX</source>
+        <translation>Matrice :</translation>
+    </message>
+    <message>
+        <source>GEOM_MAX</source>
+        <translation>Max :</translation>
+    </message>
+    <message>
+        <source>GEOM_MAX_3D_TOLERANCE</source>
+        <translation>Tolérance 3D Maximale</translation>
+    </message>
+    <message>
+        <source>GEOM_MAX_TOLERANCE</source>
+        <translation>Tolérance Maximale</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ALL_FILES</source>
+        <translation>Tous les Fichiers ( * )</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ANGLE</source>
+        <translation>Angle :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_COMPONENT</source>
+        <translation>Géométrie</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ENTER_ANGLE</source>
+        <translation>Indiquez l&apos;Angle en Degrés</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_EXPORT</source>
+        <translation>Exporter</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_IMPORT</source>
+        <translation>Importer</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ISOS</source>
+        <translation>Choisir le numéro d&apos;Isolignes</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ISOU</source>
+        <translation>Isos U :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_ISOV</source>
+        <translation>Isos V :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_POPUP_NAME</source>
+        <translation>%1 Objets</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_SHADING</source>
+        <translation>Ombrage</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_SKETCHER_X</source>
+        <translation>Indiquez la distance selon l&apos;axe X</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_SKETCHER_Y</source>
+        <translation>Indiquez la distance selon l&apos;axe Y</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_STEP_LABEL</source>
+        <translation>Pas :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_TRANSPARENCY</source>
+        <translation>Transparence</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_TRANSPARENCY_LABEL</source>
+        <translation>Transparence :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_WIREFRAME</source>
+        <translation>Contours</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_X</source>
+        <translation>X :</translation>
+    </message>
+    <message>
+        <source>GEOM_MEN_Y</source>
+        <translation>Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_MESHING_DEFLECTION</source>
+        <translation>Déflection de Maillage. :</translation>
+    </message>
+    <message>
+        <source>GEOM_MIN</source>
+        <translation>Min :</translation>
+    </message>
+    <message>
+        <source>GEOM_MINDIST_OBJ</source>
+        <translation>Objets et Résultats</translation>
+    </message>
+    <message>
+        <source>GEOM_MINDIST_TITLE</source>
+        <translation>Distance minimale entre deux Objets</translation>
+    </message>
+    <message>
+        <source>GEOM_MIRROR</source>
+        <translation>Miroir</translation>
+    </message>
+    <message>
+        <source>GEOM_MIRROR_TITLE</source>
+        <translation>Refléter un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION_DOUBLE</source>
+        <translation>Multi Rotation Double</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION_SIMPLE</source>
+        <translation>Multi Rotation Simple</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTIROTATION_TITLE</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION_DOUBLE</source>
+        <translation>Multi Translation Double</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION_SIMPLE</source>
+        <translation>Multi Translation Simple</translation>
+    </message>
+    <message>
+        <source>GEOM_MULTITRANSLATION_TITLE</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>GEOM_NAME_INCORRECT</source>
+        <translation>Le nom de l&apos;Objet n&apos;est pas trouvé</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_BLOCKS_NO_OTHERS</source>
+        <translation>Il y a %1 bloques spécifiées et PAS d&apos;autres solides</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_BLOCKS_SOME_OTHERS</source>
+        <translation>Il y a %1 bloques spécifiées et un nombre d&apos;autres solides</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_TIMES</source>
+        <translation>Nb. Fois :</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_TIMES_U</source>
+        <translation>Nb. Fois U :</translation>
+    </message>
+    <message>
+        <source>GEOM_NB_TIMES_V</source>
+        <translation>Nb. Fois V :</translation>
+    </message>
+    <message>
+        <source>GEOM_NODES</source>
+        <translation>Noeuds</translation>
+    </message>
+    <message>
+        <source>GEOM_NUM_SPLIT_POINTS</source>
+        <translation>Numéro de points de coupage</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT</source>
+        <translation>Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT_TYPE</source>
+        <translation> Type d&apos;Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECTS</source>
+        <translation>Objets</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT_I</source>
+        <translation>Objet %1</translation>
+    </message>
+    <message>
+        <source>GEOM_OBJECT_RESULT</source>
+        <translation>Objet et Résultat</translation>
+    </message>
+    <message>
+        <source>GEOM_OFFSET</source>
+        <translation>Décalage</translation>
+    </message>
+    <message>
+        <source>GEOM_OFFSET_TITLE</source>
+        <translation>Surface de Décalage</translation>
+    </message>
+    <message>
+        <source>GEOM_OPERATIONS</source>
+        <translation>Opérations</translation>
+    </message>
+    <message>
+        <source>GEOM_ORIENTATION</source>
+        <translation>Orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_ORIENTATION_OPT</source>
+        <translation>Invertir l&apos;Orientation et simuler les vecturs normaux</translation>
+    </message>
+    <message>
+        <source>GEOM_ORIENTATION_TITLE</source>
+        <translation>Changer l&apos;Orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_PARAMETER</source>
+        <translation>Paramètre :</translation>
+    </message>
+    <message>
+        <source>GEOM_PARAMETERS</source>
+        <translation>Paramètres</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_ON_EDGE</source>
+        <translation>Point sur l&apos;Arête</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_ON_FACE</source>
+        <translation>Point sur la Face</translation>
+    </message>
+    <message>
+        <source>GEOM_PARAM_VALUE</source>
+        <translation>Par paramètre</translation>
+    </message>
+    <message>
+        <source>GEOM_COORD_VALUE</source>
+        <translation>Par coordonnée</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION</source>
+        <translation>Partition</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_PARTITION_RESULT_EMPTY</source>
+        <translation>The partition result is empty, please verify the reconstruction limit parameter.</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION_HALFSPACE</source>
+        <translation>Partition de demi-espace</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION_ORIENTATION</source>
+        <translation>Changer l&apos;Orientation</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTITION_TITLE</source>
+        <translation>Partition d&apos;un Objet avec Outil</translation>
+    </message>
+    <message>
+        <source>GEOM_PATH_OBJECT</source>
+        <translation>Chemin à l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE</source>
+        <translation>tuyau</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TITLE</source>
+        <translation>Construction d&apos;un Tuyau </translation>
+    </message>
+    <message>
+        <source>GEOM_SEGMENT</source>
+        <translation>Segment d&apos;une ligne droite</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECT_UNPUBLISHED_EDGES</source>
+        <translation>Choisir les arêtes non-publiées</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE</source>
+        <translation>Plan</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_MIRROR</source>
+        <translation>Plan Miroir</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_PV</source>
+        <translation>Point + Vecteur</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_PVC</source>
+        <translation>Point + Vecteur de Coordonnées </translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_SIZE</source>
+        <translation>Taille du plan :</translation>
+    </message>
+    <message>
+        <source>GEOM_PLANE_TITLE</source>
+        <translation>Construction d&apos;un Plan </translation>
+    </message>
+    <message>
+        <source>GEOM_POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT1</source>
+        <translation>Point 1</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT2</source>
+        <translation>Point 2</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT3</source>
+        <translation>Point 3</translation>
+    </message>
+    <message>
+        <source>GEOM_POINTS</source>
+        <translation>Points</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_I</source>
+        <translation>Point %1</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_MIRROR</source>
+        <translation>Point Miroir</translation>
+    </message>
+    <message>
+        <source>GEOM_POINT_TITLE</source>
+        <translation>Construction d&apos;un Point </translation>
+    </message>
+    <message>
+        <source>GEOM_POLYLINE</source>
+        <translation>Polyline</translation>
+    </message>
+    <message>
+        <source>GEOM_POSITION</source>
+        <translation>Location</translation>
+    </message>
+    <message>
+        <source>GEOM_POSITION_TITLE</source>
+        <translation>Modifier la Position d&apos;un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_PRECISION</source>
+        <translation>Précision :</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPAGATE</source>
+        <translation>Propaguer</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPAGATE_TITLE</source>
+        <translation>Propaguer</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES</source>
+        <translation>Propriétés de Base</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_CONSTR</source>
+        <translation>L&apos;Objet et ses Propriétés</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_SURFACE</source>
+        <translation>Surface est :</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_TITLE</source>
+        <translation>Information sur les Propriétés de Base</translation>
+    </message>
+    <message>
+        <source>GEOM_PROPERTIES_VOLUME</source>
+        <translation>Volume est :</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_ABORT</source>
+        <translation>Opération est annulée</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_COMMAND</source>
+        <translation>Pas de commandes associées avec cet id = %1.</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_DONE</source>
+        <translation>Opération aboutie</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_EXPORT</source>
+        <translation>Exporter la géométrie à %1 ...</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_LOADING</source>
+        <translation>Ouvrir %1 ...</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_MIN_DIST</source>
+        <translation>La Distance minimale n&apos;est pas calculée</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_NOT_FOR_VTK_VIEWER</source>
+        <translation>Interdit au visualisateur VTK</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_NULLSHAPE</source>
+        <translation>Erreur, l&apos;objet est inexistant ou incorrect!</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_READY</source>
+        <translation>Prêt</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_EDGE</source>
+        <translation>Choisissez les arêtes et cliquez Appliquer</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_FACE</source>
+        <translation>Choisissez les faces à supprimer et cliquez Oui/Appliquer</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_FIRST</source>
+        <translation>Commencez par choisir l&apos;objet principal</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SELECT_SUBSHAPES</source>
+        <translation>Choisissez les Sous-Formes</translation>
+    </message>
+    <message>
+        <source>GEOM_PRP_SHAPE_IN_STUDY</source>
+        <translation>Commencez par indiquer l&apos;objet principal</translation>
+    </message>
+    <message>
+        <source>GEOM_QUAD_FACE</source>
+        <translation>Face Quadrangulaire</translation>
+    </message>
+    <message>
+        <source>GEOM_QUAD_FACE_TITLE</source>
+        <translation>Construction d&apos;une Face Quadrangulaire</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS</source>
+        <translation>Rayon :</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS_I</source>
+        <translation>Rayon %1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS_MAJOR</source>
+        <translation>Rayon Majeur :</translation>
+    </message>
+    <message>
+        <source>GEOM_RADIUS_MINOR</source>
+        <translation>Rayon Mineur :</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT</source>
+        <translation>Type Résultant </translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_EDGE</source>
+        <translation>Arête</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_FACE</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_SHAPE</source>
+        <translation>Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_SHELL</source>
+        <translation>Coque</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_SOLID</source>
+        <translation>Solide</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_VERTEX</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>GEOM_RECONSTRUCTION_LIMIT_WIRE</source>
+        <translation>Contour</translation>
+    </message>
+    <message>
+        <source>GEOM_REF_POINT</source>
+        <translation>Point avec référence</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_ALL_HOLES</source>
+        <translation>Supprimer tous les trous</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_ALL_INT_WIRES</source>
+        <translation>Supprimer tous les contours internes</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_HOLES_TITLE</source>
+        <translation>Supprimer les trous</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_INTERNAL_WIRES_TITLE</source>
+        <translation>Supprimer les contours internes</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_WEBS</source>
+        <translation>Supprimer les toiles</translation>
+    </message>
+    <message>
+        <source>GEOM_REQUIRED_DEGREE</source>
+        <translation>Degré nécessaire</translation>
+    </message>
+    <message>
+        <source>GEOM_REQUIRED_NUM_SEGMENTS</source>
+        <translation>Le nombre de segments approprié</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE</source>
+        <translation>Invertir</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_DIRECTION</source>
+        <translation>Direction Invertie</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_PLANE</source>
+        <translation>Invertir le normal du plan</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_U</source>
+        <translation>Invertir U</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_V</source>
+        <translation>Invertir V</translation>
+    </message>
+    <message>
+        <source>GEOM_REVERSE_VECTOR</source>
+        <translation>Invertir un Vecteur</translation>
+    </message>
+    <message>
+        <source>GEOM_REVOLUTION</source>
+        <translation>Révolution</translation>
+    </message>
+    <message>
+        <source>GEOM_REVOLUTION_TITLE</source>
+        <translation>Construction par Révolution</translation>
+    </message>
+    <message>
+        <source>GEOM_ROTATION</source>
+        <translation>Rotation</translation>
+    </message>
+    <message>
+        <source>GEOM_ROTATION_TITLE</source>
+        <translation>Rotation d&apos;un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE</source>
+        <translation>Echelle</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR</source>
+        <translation>Facteur d&apos;échelle :</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_TITLE</source>
+        <translation>Redimensionner un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>GEOM_SECTION_TITLE</source>
+        <translation>Section de deux Objets</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTED_FACE</source>
+        <translation>Face Sélectionnée </translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTED_OBJECTS</source>
+        <translation>Objets Sélectionnées</translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTED_SHAPE</source>
+        <translation>Forme Sélectionné </translation>
+    </message>
+    <message>
+        <source>GEOM_SELECTION</source>
+        <translation>Sélection</translation>
+    </message>
+    <message>
+        <source>GEOM_SET_MATERIALS</source>
+        <translation>Définir les materiaux</translation>
+    </message>
+    <message>
+        <source>GEOM_SEWING</source>
+        <translation>Couture</translation>
+    </message>
+    <message>
+        <source>GEOM_SEWING_TITLE</source>
+        <translation>Couture Topologique</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPE</source>
+        <translation>Forme</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPEPROCESS_TITLE</source>
+        <translation>Traitement de Formes</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES</source>
+        <translation>Formes</translation>
+    </message>
+    <message>
+        <source>GEOM_SHELL</source>
+        <translation>Coque</translation>
+    </message>
+    <message>
+        <source>GEOM_SHELLS</source>
+        <translation>Coques</translation>
+    </message>
+    <message>
+        <source>GEOM_SHELL_TITLE</source>
+        <translation>Construction d&apos;une Coque</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ABS</source>
+        <translation>Absolues</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ANGLE2</source>
+        <translation>Angle :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_APPLY</source>
+        <translation>Applquer</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_ARC</source>
+        <translation>Arc</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DEST</source>
+        <translation>Destination</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DIR</source>
+        <translation>Direction</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DX2</source>
+        <translation>DX :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DY2</source>
+        <translation>DY :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_DZ2</source>
+        <translation>DZ :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_EL</source>
+        <translation>Type d&apos;Elément </translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_RESTORE</source>
+        <translation>Restaurer</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_LENGTH</source>
+        <translation>Longueur</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_LENGTH2</source>
+        <translation>Longueur :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_PER</source>
+        <translation>Perpendiculaire</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_POINT2</source>
+        <translation>Point :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_RADIUS2</source>
+        <translation>Rayon :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_REL</source>
+        <translation>Relatives</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_SEGMENT</source>
+        <translation>Segment</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_SEL</source>
+        <translation>Sélection</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_TAN</source>
+        <translation>Tangent</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_TITLE</source>
+        <translation>Construction d&apos;un Contour 2D </translation>
+    </message>
+    <message>
+        <source>GEOM_3DSKETCHER_TITLE</source>
+        <translation>Construction d&apos;un Contour 3D </translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_TYPE</source>
+        <translation>Type</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_UNDO</source>
+        <translation>Défaire</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VALUES</source>
+        <translation>Valeurs</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VX2</source>
+        <translation>VX :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VXVY</source>
+        <translation>VX-VY</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_VY2</source>
+        <translation>VY :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_X</source>
+        <translation>X</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_X2</source>
+        <translation>X :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_X3</source>
+        <translation>Abs. X :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Y</source>
+        <translation>Y</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Y2</source>
+        <translation>Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Y3</source>
+        <translation>Abs. Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_SKETCHER_Z2</source>
+        <translation>Z :</translation>
+    </message>
+    <message>
+        <source>GEOM_3DSKETCHER</source>
+        <translation>Contour 3D</translation>
+    </message>
+    <message>
+        <source>GEOM_COORDINATES_TYPE</source>
+        <translation>Type de Coordonnées</translation>
+    </message>
+    <message>
+        <source>GEOM_SOLID</source>
+        <translation>Solide</translation>
+    </message>
+    <message>
+        <source>GEOM_SOLID_TITLE</source>
+        <translation>Construction d&apos;un Solide</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE</source>
+        <translation>Sphère</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE_CR</source>
+        <translation>Centre + Rayon</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE_RO</source>
+        <translation>Rayon d&apos;Origine</translation>
+    </message>
+    <message>
+        <source>GEOM_SPHERE_TITLE</source>
+        <translation>Construction d&apos;une Sphère</translation>
+    </message>
+    <message>
+        <source>GEOM_SPLINE</source>
+        <translation>Spline</translation>
+    </message>
+    <message>
+        <source>GEOM_SPLINE_TITLE</source>
+        <translation>Construction d&apos;un Spline</translation>
+    </message>
+    <message>
+        <source>GEOM_START_LCS</source>
+        <translation>SCL du Début</translation>
+    </message>
+    <message>
+        <source>SELECT_UNPUBLISHED_EDGES</source>
+        <translation>Choisir les arêtes non-publiées</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP</source>
+        <translation>Pas :</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP_TITLE</source>
+        <translation>Valeur du pas pour les constructions d&apos;IHM</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP_U</source>
+        <translation>Pas U :</translation>
+    </message>
+    <message>
+        <source>GEOM_STEP_V</source>
+        <translation>Pas V :</translation>
+    </message>
+    <message>
+        <source>GEOM_STUDY_LOCKED</source>
+        <translation>L&apos;étude en cours est fermée et il n&apos;est pas possible de la modifier</translation>
+    </message>
+    <message>
+        <source>GEOM_SUBSHAPE_SELECT</source>
+        <translation>Choisir les Sous-Formes</translation>
+    </message>
+    <message>
+        <source>GEOM_SUBSHAPE_TITLE</source>
+        <translation>Sélection des Sous-formes</translation>
+    </message>
+    <message>
+        <source>GEOM_SUBSHAPE_TYPE</source>
+        <translation>Type des Sous-formes:</translation>
+    </message>
+    <message>
+        <source>GEOM_SUB_SHAPE</source>
+        <translation>Sous-Formes</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_FACE_SHELL</source>
+        <translation>Face ou coque</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTFACE</source>
+        <translation>Choisir la face avec un trou</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTFACE_END</source>
+        <translation>Choisir la face finale (si l&apos;on traverse le trou)</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTWIRE</source>
+        <translation>Choisir le contour d&apos;une face</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECTWIRE_END</source>
+        <translation>Choisir le contour final (si l&apos;on traverse le trou)</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE</source>
+        <translation>Choisir les trous sur la face</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESSHOLE_TITLE</source>
+        <translation>Supprimer les trous</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESS_RESULT</source>
+        <translation>Supprimer le Résultat</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESS_RESULT_INSIDE</source>
+        <translation>A l&apos;intérieur</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPPRESS_RESULT_OUTSIDE</source>
+        <translation>A l&apos;extérieur</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPRESSFACE</source>
+        <translation>Supprimer une Face</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPRESSFACE_SELECT</source>
+        <translation>Choisissez les faces à supprimer</translation>
+    </message>
+    <message>
+        <source>GEOM_SUPRESSFACE_TITLE</source>
+        <translation>Supprimer les Faces d&apos;un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFACE_CONTINUTY</source>
+        <translation>Continuité des Surfaces</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFACE_MODE</source>
+        <translation>Mode de Surface </translation>
+    </message>
+    <message>
+        <source>GEOM_SURFCONE</source>
+        <translation>Face Conique </translation>
+    </message>
+    <message>
+        <source>GEOM_SURFCYLINDER</source>
+        <translation>Face Cylindrique </translation>
+    </message>
+    <message>
+        <source>GEOM_SURFSPHERE</source>
+        <translation>Face Sphèrique</translation>
+    </message>
+    <message>
+        <source>GEOM_SURFTORUS</source>
+        <translation>Face Toroïdal </translation>
+    </message>
+    <message>
+        <source>GEOM_SameParameter</source>
+        <translation>MêmeParamètre</translation>
+    </message>
+    <message>
+        <source>GEOM_SplitAngle</source>
+        <translation>SéparerAngle</translation>
+    </message>
+    <message>
+        <source>GEOM_SplitClosedFaces</source>
+        <translation>SéparerFacesFermées</translation>
+    </message>
+    <message>
+        <source>GEOM_SplitContinuity</source>
+        <translation>SéparerContinuité</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE</source>
+        <translation>Tolérance</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_CONSTR</source>
+        <translation>Objet et ses Tolérances</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_EDGE</source>
+        <translation>Arête :</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_FACE</source>
+        <translation>Face :</translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_TITLE</source>
+        <translation>Tolérance Maximale </translation>
+    </message>
+    <message>
+        <source>GEOM_TOLERANCE_VERTEX</source>
+        <translation>Point:</translation>
+    </message>
+    <message>
+        <source>GEOM_TOOL_OBJECT</source>
+        <translation>Objet Outil </translation>
+    </message>
+    <message>
+        <source>GEOM_TOOL_OBJECTS</source>
+        <translation>Objets Outils </translation>
+    </message>
+    <message>
+        <source>GEOM_TORUS</source>
+        <translation>Tore</translation>
+    </message>
+    <message>
+        <source>GEOM_TORUS_TITLE</source>
+        <translation>Construction d&apos;un Tore </translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSLATION</source>
+        <translation>Translation</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSLATION_COOR</source>
+        <translation>Translation avec Coordonnées</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSLATION_TITLE</source>
+        <translation>Translation d&apos;un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSPARENCY_OPAQUE</source>
+        <translation>Opaque</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSPARENCY_TITLE</source>
+        <translation>Transparence</translation>
+    </message>
+    <message>
+        <source>GEOM_TRANSPARENCY_TRANSPARENT</source>
+        <translation>Transparent</translation>
+    </message>
+    <message>
+        <source>GEOM_TRIHEDRON</source>
+        <translation>Trihèdre</translation>
+    </message>
+    <message>
+        <source>GEOM_ToBezier</source>
+        <translation>VersBezier</translation>
+    </message>
+    <message>
+        <source>GEOM_VALUE</source>
+        <translation>Valeur</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR</source>
+        <translation>Vecteur</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_LENGTH</source>
+        <translation>Longueur du Vecteur :</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_TITLE</source>
+        <translation>Construction d&apos;un Vecteur </translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_U</source>
+        <translation>Vecteur U</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_V</source>
+        <translation>Vecteur V</translation>
+    </message>
+    <message>
+        <source>GEOM_VERTEX</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>GEOM_VERTEXES</source>
+        <translation>Points</translation>
+    </message>
+    <message>
+        <source>GEOM_WATER_DENSITY</source>
+        <translation>Densité de l&apos;Eau :</translation>
+    </message>
+    <message>
+        <source>GEOM_WEIGHT</source>
+        <translation>Poids :</translation>
+    </message>
+    <message>
+        <source>GEOM_WIDTH</source>
+        <translation>Largeur :</translation>
+    </message>
+    <message>
+        <source>GEOM_WHATIS</source>
+        <translation>Qu&apos;est-ce que c&apos;est</translation>
+    </message>
+    <message>
+        <source>GEOM_WHATIS_OBJECT</source>
+        <translation>Objet et son Information Topologique </translation>
+    </message>
+    <message>
+        <source>GEOM_WHATIS_TITLE</source>
+        <translation>Qu&apos;est-ce que c&apos;est</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRE</source>
+        <translation>Contour</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRES</source>
+        <translation>Contour(s)</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRES_TO_REMOVE</source>
+        <translation>Contours à supprimer</translation>
+    </message>
+    <message>
+        <source>GEOM_WIREZ</source>
+        <translation>Contours</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRE_CONNECT</source>
+        <translation>Création d&apos;un contour à partir des contours/arêtes connectés</translation>
+    </message>
+    <message>
+        <source>GEOM_WIRE_TITLE</source>
+        <translation>Création d&apos;un Contour</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE</source>
+        <translation>Plan de Travail</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_FACE</source>
+        <translation>Plan, Face Planaire ou SCL</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_ORIGIN</source>
+        <translation>Choisissez un plan</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_OXY</source>
+        <translation>OXY</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_OYZ</source>
+        <translation>OYZ</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_OZX</source>
+        <translation>OZX</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_TITLE</source>
+        <translation>Sélection du Plan de Travail</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_VECTOR</source>
+        <translation>Choisissez 2 vecteurs</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_VX</source>
+        <translation>Vecteur X</translation>
+    </message>
+    <message>
+        <source>GEOM_WPLANE_VZ</source>
+        <translation>Vecteur Z</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_RADIUS_NULL</source>
+        <translation>Le Rayon est nul</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_WARNING</source>
+        <translation>Avertissement</translation>
+    </message>
+    <message>
+        <source>WRN_SHAPE_UNCLOSED</source>
+        <translation>Impossible de créer un solide à partir de la forme non-fermée %1</translation>
+    </message>
+    <message>
+        <source>GEOM_X</source>
+        <translation>X :</translation>
+    </message>
+    <message>
+        <source>GEOM_Y</source>
+        <translation>Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_Z</source>
+        <translation>Z :</translation>
+    </message>
+    <message>
+        <source>GLUE_NEW_OBJ_NAME</source>
+        <translation>Coller</translation>
+    </message>
+    <message>
+        <source>LIMIT_TOLERANCE_NEW_OBJ_NAME</source>
+        <translation>Tolérance_limite</translation>
+    </message>
+    <message>
+        <source>MEN_ALL_SEL_ONLY</source>
+        <translation>Choisir Tous</translation>
+    </message>
+    <message>
+        <source>MEN_ARC</source>
+        <translation>Arc</translation>
+    </message>
+    <message>
+        <source>MEN_ARCHIMEDE</source>
+        <translation>Archimède</translation>
+    </message>
+    <message>
+        <source>MEN_BASIC</source>
+        <translation>de Base</translation>
+    </message>
+    <message>
+        <source>MEN_BASIC_PROPS</source>
+        <translation>Propriétés de Base </translation>
+    </message>
+    <message>
+        <source>MEN_BLOCKS</source>
+        <translation>Bloques</translation>
+    </message>
+    <message>
+        <source>MEN_BND_BOX</source>
+        <translation>Boîte Englobante</translation>
+    </message>
+    <message>
+        <source>MEN_BOOLEAN</source>
+        <translation>Booléen</translation>
+    </message>
+    <message>
+        <source>MEN_BOX</source>
+        <translation>Boîte</translation>
+    </message>
+    <message>
+        <source>MEN_BUILD</source>
+        <translation>Construire</translation>
+    </message>
+    <message>
+        <source>MEN_CHAMFER</source>
+        <translation>Chanfrein</translation>
+    </message>
+    <message>
+        <source>MEN_CHANGE_ORIENTATION</source>
+        <translation>Changer l&apos;Orientation</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK</source>
+        <translation>Vérifier une Forme</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_COMPOUND</source>
+        <translation>Vérifier un Assemblage de Bloques</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_FREE_BNDS</source>
+        <translation>Vérifier les Contours Libres</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_FREE_FACES</source>
+        <translation>Vérifier les Faces Libres</translation>
+    </message>
+    <message>
+        <source>MEN_CHECK_GEOMETRY</source>
+        <translation>Vérifier la Géométrie</translation>
+    </message>
+    <message>
+        <source>MEN_CIRCLE</source>
+        <translation>Circle</translation>
+    </message>
+    <message>
+        <source>MEN_CLIPPING</source>
+        <translation>Diapason de Clippage</translation>
+    </message>
+    <message>
+        <source>MEN_CLOSE_CONTOUR</source>
+        <translation>Fermer le Contour</translation>
+    </message>
+    <message>
+        <source>MEN_COMMON</source>
+        <translation>Commun</translation>
+    </message>
+    <message>
+        <source>MEN_COMPOUND</source>
+        <translation>Assemblage</translation>
+    </message>
+    <message>
+        <source>MEN_COMPOUND_SEL_ONLY</source>
+        <translation>Assemblage</translation>
+    </message>
+    <message>
+        <source>MEN_CONE</source>
+        <translation>Cône</translation>
+    </message>
+    <message>
+        <source>MEN_CURVE</source>
+        <translation>Courbe</translation>
+    </message>
+    <message>
+        <source>MEN_CUT</source>
+        <translation>Découpe</translation>
+    </message>
+    <message>
+        <source>MEN_CYLINDER</source>
+        <translation>Cylindre</translation>
+    </message>
+    <message>
+        <source>MEN_RECTANGLE</source>
+        <translation>Rectangle</translation>
+    </message>
+    <message>
+        <source>MEN_DELETE</source>
+        <translation>Supprimer</translation>
+    </message>
+    <message>
+        <source>MEN_DIMENSIONS</source>
+        <translation>Dimensions</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY</source>
+        <translation>Visualiser</translation>
+    </message>
+    <message>
+        <source>MEN_DISK</source>
+        <translation>Disque</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY_ALL</source>
+        <translation>Visualiser Tous</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY_MODE</source>
+        <translation>Mode de Visualisation</translation>
+    </message>
+    <message>
+        <source>MEN_DISPLAY_ONLY</source>
+        <translation>Visualiser Seul</translation>
+    </message>
+    <message>
+        <source>MEN_EDGE</source>
+        <translation>Arête</translation>
+    </message>
+    <message>
+        <source>MEN_EDGE_SEL_ONLY</source>
+        <translation>Arête</translation>
+    </message>
+    <message>
+        <source>MEN_EDIT</source>
+        <translation>Editer</translation>
+    </message>
+    <message>
+        <source>MEN_ELLIPSE</source>
+        <translation>Ellipse</translation>
+    </message>
+    <message>
+        <source>MEN_ERASE</source>
+        <translation>Cacher</translation>
+    </message>
+    <message>
+        <source>MEN_ERASE_ALL</source>
+        <translation>Cacher Tous</translation>
+    </message>
+    <message>
+        <source>MEN_EXPLODE</source>
+        <translation>Eclatement</translation>
+    </message>
+    <message>
+        <source>MEN_EXPLODE_BLOCKS</source>
+        <translation>Eclater en Bloques</translation>
+    </message>
+    <message>
+        <source>MEN_EXPORT</source>
+        <translation>Exporter...</translation>
+    </message>
+    <message>
+        <source>MEN_EXTRUSION</source>
+        <translation>Extrusion</translation>
+    </message>
+    <message>
+        <source>MEN_FACE</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>MEN_FACE_SEL_ONLY</source>
+        <translation>Face</translation>
+    </message>
+    <message>
+        <source>MEN_FILE</source>
+        <translation>Fichier</translation>
+    </message>
+    <message>
+        <source>MEN_FILLET</source>
+        <translation>Congé 3D</translation>
+    </message>
+    <message>
+        <source>MEN_FILLET_1D</source>
+        <translation>Congé 1D</translation>
+    </message>
+    <message>
+        <source>MEN_FILLET_2D</source>
+        <translation>Congé 2D</translation>
+    </message>
+    <message>
+        <source>MEN_FILLING</source>
+        <translation>Remplissage</translation>
+    </message>
+    <message>
+        <source>MEN_FUSE</source>
+        <translation>Fusion</translation>
+    </message>
+    <message>
+        <source>MEN_GENERATION</source>
+        <translation>Génération</translation>
+    </message>
+    <message>
+        <source>MEN_GLUE_FACES</source>
+        <translation>Coller les Faces</translation>
+    </message>
+    <message>
+        <source>MEN_GROUP</source>
+        <translation>Groupe</translation>
+    </message>
+    <message>
+        <source>MEN_GROUP_CREATE</source>
+        <translation>Créer une Groupe</translation>
+    </message>
+    <message>
+        <source>MEN_GROUP_EDIT</source>
+        <translation>Editer</translation>
+    </message>
+    <message>
+        <source>MEN_RELOAD_IMPORTED</source>
+        <translation>Rouvrir de la Disque</translation>
+    </message>
+    <message>
+        <source>MEN_HEX_SOLID</source>
+        <translation>Solid Hexahédral </translation>
+    </message>
+    <message>
+        <source>MEN_IMPORT</source>
+        <translation>Importer...</translation>
+    </message>
+    <message>
+        <source>MEN_INERTIA</source>
+        <translation>Inertie</translation>
+    </message>
+    <message>
+        <source>MEN_ISOS</source>
+        <translation>Isos</translation>
+    </message>
+    <message>
+        <source>MEN_LIMIT_TOLERANCE</source>
+        <translation>Tolérance limite</translation>
+    </message>
+    <message>
+        <source>MEN_LINE</source>
+        <translation>Ligne</translation>
+    </message>
+    <message>
+        <source>MEN_LOCAL_CS</source>
+        <translation>Système de Coordonnées Locale </translation>
+    </message>
+    <message>
+        <source>MEN_MASS_CENTER</source>
+        <translation>Centre de la Masse</translation>
+    </message>
+    <message>
+        <source>MEN_MEASURES</source>
+        <translation>Informations</translation>
+    </message>
+    <message>
+        <source>MEN_MIN_DIST</source>
+        <translation>Distance Minimale </translation>
+    </message>
+    <message>
+        <source>MEN_MIRROR</source>
+        <translation>Image Miroir</translation>
+    </message>
+    <message>
+        <source>MEN_MODIFY_LOCATION</source>
+        <translation>Modifer la Location</translation>
+    </message>
+    <message>
+        <source>MEN_MUL_ROTATION</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>MEN_MUL_TRANSFORM</source>
+        <translation>Multi-Transformation</translation>
+    </message>
+    <message>
+        <source>MEN_MUL_TRANSLATION</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>MEN_NEW_ENTITY</source>
+        <translation>Entité Nouvelle</translation>
+    </message>
+    <message>
+        <source>MEN_OFFSET</source>
+        <translation>Surface de Décalage</translation>
+    </message>
+    <message>
+        <source>MEN_OPERATIONS</source>
+        <translation>Opérations</translation>
+    </message>
+    <message>
+        <source>MEN_ORIGIN_AND_VECTORS</source>
+        <translation>Vecteurs de Base et d&apos;Origine</translation>
+    </message>
+    <message>
+        <source>MEN_PARTITION</source>
+        <translation>Partition</translation>
+    </message>
+    <message>
+        <source>MEN_PIPE</source>
+        <translation>Extrusion au long d&apos;un Chemin</translation>
+    </message>
+    <message>
+        <source>MEN_PLANE</source>
+        <translation>Plan</translation>
+    </message>
+    <message>
+        <source>MEN_POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>MEN_POINT_COORDS</source>
+        <translation>Coordonnées d&apos;un Point </translation>
+    </message>
+    <message>
+        <source>MEN_POINT_ON_EDGE</source>
+        <translation>Ajouter un Point sur l&apos;Arête</translation>
+    </message>
+    <message>
+        <source>MEN_POP_COLOR</source>
+        <translation>Couleur</translation>
+    </message>
+    <message>
+        <source>MEN_POP_CREATE_GROUP</source>
+        <translation>Créer un Groupe</translation>
+    </message>
+    <message>
+        <source>MEN_POP_SHOW_CHILDREN</source>
+        <translation>Montrer les enfants</translation>
+    </message>
+    <message>
+        <source>MEN_POP_HIDE_CHILDREN</source>
+        <translation>Cacher les enfants</translation>
+    </message>
+    <message>
+        <source>MEN_POP_ISOS</source>
+        <translation>Isos</translation>
+    </message>
+    <message>
+        <source>MEN_POP_DEFLECTION</source>
+        <translation>Coefficient de Déflection</translation>
+    </message>
+    <message>
+        <source>MEN_POP_RENAME</source>
+        <translation>Renommer</translation>
+    </message>
+    <message>
+        <source>MEN_POP_SHADING</source>
+        <translation>Ombrage</translation>
+    </message>
+    <message>
+        <source>MEN_POP_TRANSPARENCY</source>
+        <translation>Transparence</translation>
+    </message>
+    <message>
+        <source>MEN_POP_WIREFRAME</source>
+        <translation>Contour</translation>
+    </message>
+    <message>
+        <source>MEN_POP_VECTORS</source>
+        <translation>Montrer la Direction de l&apos;Arête</translation>
+    </message>
+    <message>
+        <source>MEN_PREFERENCES</source>
+        <translation>Préférences</translation>
+    </message>
+    <message>
+        <source>MEN_PREFERENCES_GEOM</source>
+        <translation>Géométrie</translation>
+    </message>
+    <message>
+        <source>MEN_PRIMITIVES</source>
+        <translation>Primitives</translation>
+    </message>
+    <message>
+        <source>MEN_ADVANCED</source>
+        <translation>Avancé</translation>
+    </message>
+    <message>
+        <source>MEN_PROPAGATE</source>
+        <translation>Propaguer</translation>
+    </message>
+    <message>
+        <source>MEN_Q_FACE</source>
+        <translation>Face Quadrangulaire </translation>
+    </message>
+    <message>
+        <source>MEN_REPAIR</source>
+        <translation>Reparer</translation>
+    </message>
+    <message>
+        <source>MEN_REVOLUTION</source>
+        <translation>Révolution</translation>
+    </message>
+    <message>
+        <source>MEN_ROTATION</source>
+        <translation>Rotation</translation>
+    </message>
+    <message>
+        <source>MEN_SCALE</source>
+        <translation>Transformation par </translation>
+    </message>
+    <message>
+        <source>MEN_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>MEN_SELECT_ONLY</source>
+        <translation>Choisir seul</translation>
+    </message>
+    <message>
+        <source>MEN_SEWING</source>
+        <translation>Couture</translation>
+    </message>
+    <message>
+        <source>MEN_SHADING</source>
+        <translation>Ombrage</translation>
+    </message>
+    <message>
+        <source>MEN_SHADING_COLOR</source>
+        <translation>Couleur d&apos;Ombrage</translation>
+    </message>
+    <message>
+        <source>MEN_SHAPE_PROCESS</source>
+        <translation>Traitement de Forme</translation>
+    </message>
+    <message>
+        <source>MEN_SHELL</source>
+        <translation>Coque</translation>
+    </message>
+    <message>
+        <source>MEN_SHELL_SEL_ONLY</source>
+        <translation>Coque</translation>
+    </message>
+    <message>
+        <source>MEN_SKETCH</source>
+        <translation>Contour 2D</translation>
+    </message>
+    <message>
+        <source>MEN_3DSKETCH</source>
+        <translation>Contour 3D</translation>
+    </message>
+    <message>
+        <source>MEN_SOLID</source>
+        <translation>Solide</translation>
+    </message>
+    <message>
+        <source>MEN_SOLID_SEL_ONLY</source>
+        <translation>Solide</translation>
+    </message>
+    <message>
+        <source>MEN_SPHERE</source>
+        <translation>Sphère</translation>
+    </message>
+    <message>
+        <source>MEN_STEP_VALUE</source>
+        <translation>Valeur de Pas</translation>
+    </message>
+    <message>
+        <source>MEN_SUPPERSS_HOLES</source>
+        <translation>Supprimer les Trous</translation>
+    </message>
+    <message>
+        <source>MEN_SUPPRESS_FACES</source>
+        <translation>Supprimer les Faces</translation>
+    </message>
+    <message>
+        <source>MEN_SUPPRESS_INT_WIRES</source>
+        <translation>Supprimer les Contours Internes</translation>
+    </message>
+    <message>
+        <source>MEN_TOLERANCE</source>
+        <translation>Tolérance</translation>
+    </message>
+    <message>
+        <source>MEN_TOOLS</source>
+        <translation>Outils</translation>
+    </message>
+    <message>
+        <source>MEN_TORUS</source>
+        <translation>Tore</translation>
+    </message>
+    <message>
+        <source>MEN_TRANSFORMATION</source>
+        <translation>Transformation</translation>
+    </message>
+    <message>
+        <source>MEN_TRANSLATION</source>
+        <translation>Translation</translation>
+    </message>
+    <message>
+        <source>MEN_VECTOR</source>
+        <translation>Vecteur</translation>
+    </message>
+    <message>
+        <source>MEN_VERTEX_SEL_ONLY</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>MEN_VIEW</source>
+        <translation>Vue</translation>
+    </message>
+    <message>
+        <source>MEN_WHAT_IS</source>
+        <translation>Qu&apos;est-ce que c&apos;est</translation>
+    </message>
+    <message>
+        <source>MEN_WIRE</source>
+        <translation>Contour</translation>
+    </message>
+    <message>
+        <source>MEN_VECTOR_MODE_ON</source>
+        <translation>Montrer la Direction de l&apos;Arête</translation>
+    </message>
+    <message>
+        <source>MEN_VECTOR_MODE_OFF</source>
+        <translation>Cacher la Direction de l&apos;Arête</translation>
+    </message>
+    <message>
+        <source>MEN_WIREFRAME</source>
+        <translation>Contour</translation>
+    </message>
+    <message>
+        <source>MEN_WIRE_SEL_ONLY</source>
+        <translation>Contour</translation>
+    </message>
+    <message>
+        <source>MEN_WORK_PLANE</source>
+        <translation>Plan de Travail</translation>
+    </message>
+    <message>
+        <source>MEN_POP_POINT_MARKER</source>
+        <translation>Repère Point </translation>
+    </message>
+    <message>
+        <source>NAME_LBL</source>
+        <translation>Nom : </translation>
+    </message>
+    <message>
+        <source>NON_GEOM_OBJECTS_SELECTED</source>
+        <translation>Dans la sélection il y a d&apos;objets n&apos;appartenant pas au composant %1.</translation>
+    </message>
+    <message>
+        <source>PREF_DEFLECTION</source>
+        <translation>Coefficient de Déflection</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_def_precision</source>
+        <translation>Précision de défaut</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_length_precision</source>
+        <translation>Précision de longueur</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_angle_precision</source>
+        <translation>Précision angulaire</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_len_tol_precision</source>
+        <translation>Tolérance de Précision de Longueur</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_ang_tol_precision</source>
+        <translation>Tolérance de Précision Angulaire</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_weight_precision</source>
+        <translation>Précision de Poids </translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_density_precision</source>
+        <translation>Précision de Densité </translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_parametric_precision</source>
+        <translation>Précision Paramétrique</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_param_tol_precision</source>
+        <translation>Tolérance de Précision Paramétrique</translation>
+    </message>
+    <message>
+        <source>PREF_AUTO_CREATE</source>
+        <translation>Créer automatiquement</translation>
+    </message>
+    <message>
+        <source>PREF_DISPLAY_MODE</source>
+        <translation>Mode de visualisation de défault</translation>
+    </message>
+    <message>
+        <source>PREF_FREE_BOUND_COLOR</source>
+        <translation>Couleur des Contours Libres</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_ORIGIN_AND_BASE_VECTORS</source>
+        <translation>Vecteurs d&apos;origine et de base</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_GENERAL</source>
+        <translation>Général</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_OCCVIEWER</source>
+        <translation>Visualisateur OCC 3d</translation>
+    </message>
+    <message>
+        <source>GEOM_PREF_GROUP_PRECISION</source>
+        <translation>Précision des champs d&apos;entrée</translation>
+    </message>
+    <message>
+        <source>PREF_GROUP_VERTEX</source>
+        <translation>Repère des points</translation>
+    </message>
+    <message>
+        <source>PREF_ISOS_COLOR</source>
+        <translation>Couleur des isolignes</translation>
+    </message>
+    <message>
+        <source>PREF_LINE_COLOR</source>
+        <translation>Couleur des arêtes, vecteurs, contours</translation>
+    </message>
+    <message>
+        <source>PREF_MARKER_SCALE</source>
+        <translation>Taille</translation>
+    </message>
+    <message>
+        <source>PREF_POINT_COLOR</source>
+        <translation>Couleur des points</translation>
+    </message>
+    <message>
+        <source>PREF_SHADING_COLOR</source>
+        <translation>Couleur d&apos;Ombrage de Défault</translation>
+    </message>
+    <message>
+        <source>PREF_STEP_VALUE</source>
+        <translation>Valeur de pas pour les boîtes d&apos;incrément</translation>
+    </message>
+    <message>
+        <source>PREF_TAB_SETTINGS</source>
+        <translation>Préférences</translation>
+    </message>
+    <message>
+        <source>PREF_TYPE_OF_MARKER</source>
+        <translation>Type</translation>
+    </message>
+    <message>
+        <source>PREF_BASE_VECTORS_LENGTH</source>
+        <translation>Longueur des vecteurs de base</translation>
+    </message>
+    <message>
+        <source>PREF_WIREFRAME_COLOR</source>
+        <translation>Couleur des contours de défaut</translation>
+    </message>
+    <message>
+        <source>PROCESS_SHAPE_NEW_OBJ_NAME</source>
+        <translation>FormeTraitement</translation>
+    </message>
+    <message>
+        <source>REMOVE_HOLES_NEW_OBJ_NAME</source>
+        <translation>SupprimerTrous</translation>
+    </message>
+    <message>
+        <source>REMOVE_INT_WIRES_NEW_OBJ_NAME</source>
+        <translation>SupprimerContoursInt</translation>
+    </message>
+    <message>
+        <source>SEWING_NEW_OBJ_NAME</source>
+        <translation>Couture</translation>
+    </message>
+    <message>
+        <source>STB_ALL_SEL_ONLY</source>
+        <translation>Choisir tous les Objets</translation>
+    </message>
+    <message>
+        <source>STB_ARC</source>
+        <translation>Créer un arc</translation>
+    </message>
+    <message>
+        <source>STB_ARCHIMEDE</source>
+        <translation>Opération Archimède </translation>
+    </message>
+    <message>
+        <source>STB_BASIC_PROPS</source>
+        <translation>Montrer les propriétés de base de l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>STB_BND_BOX</source>
+        <translation>Calculer la boîte englobante de l&apos;objet</translation>
+    </message>
+    <message>
+        <source>STB_BOX</source>
+        <translation>Créer une boîte</translation>
+    </message>
+    <message>
+        <source>STB_CHAMFER</source>
+        <translation>Créer un Chanfrein</translation>
+    </message>
+    <message>
+        <source>STB_CHANGE_ORIENTATION</source>
+        <translation>Changer l&apos;orientation</translation>
+    </message>
+    <message>
+        <source>STB_CHECK</source>
+        <translation>Valider une forme</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_COMPOUND</source>
+        <translation>Valider un assemlage de bloques</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_FREE_BNDS</source>
+        <translation>Vérifier les Contours Libres</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_FREE_FACES</source>
+        <translation>Vérifier les Faces Libres</translation>
+    </message>
+    <message>
+        <source>STB_CHECK_GEOMETRY</source>
+        <translation>Vérifier la Géométrie</translation>
+    </message>
+    <message>
+        <source>STB_CIRCLE</source>
+        <translation>Créer un circle</translation>
+    </message>
+    <message>
+        <source>STB_CLIPPING</source>
+        <translation>Diapason de Clippage</translation>
+    </message>
+    <message>
+        <source>STB_CLOSE_CONTOUR</source>
+        <translation>Fermer le contour</translation>
+    </message>
+    <message>
+        <source>STB_COMMON</source>
+        <translation>Commun</translation>
+    </message>
+    <message>
+        <source>STB_COMPOUND</source>
+        <translation>Construire un assemblage</translation>
+    </message>
+    <message>
+        <source>STB_COMPOUND_SEL_ONLY</source>
+        <translation>Ne choisir que des Assemblages</translation>
+    </message>
+    <message>
+        <source>STB_CONE</source>
+        <translation>Créer un cône</translation>
+    </message>
+    <message>
+        <source>STB_CURVE</source>
+        <translation>Créer une courbe</translation>
+    </message>
+    <message>
+        <source>STB_CUT</source>
+        <translation>Découpe</translation>
+    </message>
+    <message>
+        <source>STB_CYLINDER</source>
+        <translation>Créer un cylindre</translation>
+    </message>
+    <message>
+        <source>STB_RECTANGLE</source>
+        <translation>Créer une face rectangulaire </translation>
+    </message>
+    <message>
+        <source>STB_DELETE</source>
+        <translation>Supprimer un objet</translation>
+    </message>
+    <message>
+        <source>STB_DISK</source>
+        <translation>Créer un disque</translation>
+    </message>
+    <message>
+        <source>STB_DISPLAY</source>
+        <translation>Visualiser les objets</translation>
+    </message>
+    <message>
+        <source>STB_DISPLAY_ALL</source>
+        <translation>Visualiser tous</translation>
+    </message>
+    <message>
+        <source>STB_DISPLAY_ONLY</source>
+        <translation>Visualiser seul</translation>
+    </message>
+    <message>
+        <source>STB_EDGE</source>
+        <translation>Créer une arête</translation>
+    </message>
+    <message>
+        <source>STB_EDGE_SEL_ONLY</source>
+        <translation>Ne choisir que des Arêtes</translation>
+    </message>
+    <message>
+        <source>STB_ELLIPSE</source>
+        <translation>Créer un ellipse</translation>
+    </message>
+    <message>
+        <source>STB_ERASE</source>
+        <translation>Cacher le(s) objet(s)</translation>
+    </message>
+    <message>
+        <source>STB_ERASE_ALL</source>
+        <translation>Cacher tous</translation>
+    </message>
+    <message>
+        <source>STB_EXPLODE</source>
+        <translation>Eclatement</translation>
+    </message>
+    <message>
+        <source>STB_EXPLODE_BLOCKS</source>
+        <translation>Eclater en Bloques</translation>
+    </message>
+    <message>
+        <source>STB_EXPORT</source>
+        <translation>Exporter la géométrie au fichier BREP</translation>
+    </message>
+    <message>
+        <source>STB_EXTRUSION</source>
+        <translation>Créer une extrusion</translation>
+    </message>
+    <message>
+        <source>STB_FACE</source>
+        <translation>Construire une face</translation>
+    </message>
+    <message>
+        <source>STB_FACE_SEL_ONLY</source>
+        <translation>Ne choisir que des Faces</translation>
+    </message>
+    <message>
+        <source>STB_FILLET</source>
+        <translation>Créer un congé 3D</translation>
+    </message>
+    <message>
+        <source>STB_FILLET_1D</source>
+        <translation>Créer un congé 1D</translation>
+    </message>
+    <message>
+        <source>STB_FILLET_2D</source>
+        <translation>Créer un congé 2D</translation>
+    </message>
+    <message>
+        <source>STB_FILLING</source>
+        <translation>Créer un remplissage</translation>
+    </message>
+    <message>
+        <source>STB_FUSE</source>
+        <translation>Fusion</translation>
+    </message>
+    <message>
+        <source>STB_GLUE_FACES</source>
+        <translation>Coller les faces</translation>
+    </message>
+    <message>
+        <source>STB_GROUP_CREATE</source>
+        <translation>Créer un groupe</translation>
+    </message>
+    <message>
+        <source>STB_GROUP_EDIT</source>
+        <translation>Editer un groupe</translation>
+    </message>
+    <message>
+        <source>STB_RELOAD_IMPORTED</source>
+        <translation>Recharger la forme importée de sa place d&apos;origine sur la disque</translation>
+    </message>
+    <message>
+        <source>STB_HEX_SOLID</source>
+        <translation>Solide Hexahédral </translation>
+    </message>
+    <message>
+        <source>STB_IMPORT</source>
+        <translation>Importer une géométrie d&apos;un fichier BREP</translation>
+    </message>
+    <message>
+        <source>STB_INERTIA</source>
+        <translation>Calculer les moments d&apos;intertie de l&apos;objet</translation>
+    </message>
+    <message>
+        <source>STB_ISOS</source>
+        <translation>Définir le numéro d&apos;isolignes</translation>
+    </message>
+    <message>
+        <source>STB_LINE</source>
+        <translation>Créer une ligne</translation>
+    </message>
+    <message>
+        <source>STB_LIMIT_TOLERANCE</source>
+        <translation>Tolérance limite</translation>
+    </message>
+    <message>
+        <source>STB_LOCAL_CS</source>
+        <translation>Créer un système local de coordonnées</translation>
+    </message>
+    <message>
+        <source>STB_MASS_CENTER</source>
+        <translation>Calculer le centre de la masse de l&apos;objet</translation>
+    </message>
+    <message>
+        <source>STB_MIN_DIST</source>
+        <translation>Calculer la distance minimale entre deux objets</translation>
+    </message>
+    <message>
+        <source>STB_MIRROR</source>
+        <translation>Refléter un objet</translation>
+    </message>
+    <message>
+        <source>STB_MODIFY_LOCATION</source>
+        <translation>Modifier la location d&apos;un objet</translation>
+    </message>
+    <message>
+        <source>STB_MUL_ROTATION</source>
+        <translation>Effectuer une multi-rotation</translation>
+    </message>
+    <message>
+        <source>STB_MUL_TRANSFORM</source>
+        <translation>Effectuer une multi-transformation</translation>
+    </message>
+    <message>
+        <source>STB_MUL_TRANSLATION</source>
+        <translation>Effectuer une multi-translation</translation>
+    </message>
+    <message>
+        <source>STB_OFFSET</source>
+        <translation>Surface de Décalage </translation>
+    </message>
+    <message>
+        <source>STB_ORIGIN_AND_VECTORS</source>
+        <translation>Créer les Vecteurs de l&apos;origine et de base </translation>
+    </message>
+    <message>
+        <source>STB_PARTITION</source>
+        <translation>Effectuer une partition</translation>
+    </message>
+    <message>
+        <source>STB_PIPE</source>
+        <translation>Créer un objet par l&apos;extrusion au long d&apos;un chemin</translation>
+    </message>
+    <message>
+        <source>STB_PLANE</source>
+        <translation>Créer un plan</translation>
+    </message>
+    <message>
+        <source>STB_POINT</source>
+        <translation>Créer un point</translation>
+    </message>
+    <message>
+        <source>STB_POINT_COORDS</source>
+        <translation>Montrer les coordonnées du point</translation>
+    </message>
+    <message>
+        <source>STB_POINT_ON_EDGE</source>
+        <translation>Ajouter un point sur l&apos;arête</translation>
+    </message>
+    <message>
+        <source>STB_POP_COLOR</source>
+        <translation>Couleur</translation>
+    </message>
+    <message>
+        <source>STB_POP_CREATE_GROUP</source>
+        <translation>Créer un Groupe</translation>
+    </message>
+    <message>
+        <source>STB_POP_SHOW_CHILDREN</source>
+        <translation>Monter les objets fils</translation>
+    </message>
+    <message>
+        <source>STB_POP_HIDE_CHILDREN</source>
+        <translation>Cacher les objets fils</translation>
+    </message>
+    <message>
+        <source>STB_POP_ISOS</source>
+        <translation>Isolignes</translation>
+    </message>
+    <message>
+        <source>STB_POP_DEFLECTION</source>
+        <translation>Coefficient de Déflection</translation>
+    </message>
+    <message>
+        <source>STB_POP_RENAME</source>
+        <translation>Renommer</translation>
+    </message>
+    <message>
+        <source>STB_POP_SHADING</source>
+        <translation>Ombrage</translation>
+    </message>
+    <message>
+        <source>STB_POP_TRANSPARENCY</source>
+        <translation>Transparence</translation>
+    </message>
+    <message>
+        <source>STB_POP_WIREFRAME</source>
+        <translation>Contours</translation>
+    </message>
+    <message>
+        <source>STB_PROPAGATE</source>
+        <translation>Propaguer</translation>
+    </message>
+    <message>
+        <source>STB_Q_FACE</source>
+        <translation>Face Quadrangulaire </translation>
+    </message>
+    <message>
+        <source>STB_REVOLUTION</source>
+        <translation>Créer une révolution</translation>
+    </message>
+    <message>
+        <source>STB_ROTATION</source>
+        <translation>Tourner un objet</translation>
+    </message>
+    <message>
+        <source>STB_SCALE</source>
+        <translation>Redimensionner un objet</translation>
+    </message>
+    <message>
+        <source>STB_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>STB_SEWING</source>
+        <translation>Effectuer la couture</translation>
+    </message>
+    <message>
+        <source>STB_SHADING</source>
+        <translation>Ombrage</translation>
+    </message>
+    <message>
+        <source>STB_VECTOR_MODE</source>
+        <translation>Changer le Mode de Présentation des arêtes</translation>
+    </message>
+    <message>
+        <source>STB_SHADING_COLOR</source>
+        <translation>Définir le Couleur d&apos;Ombrage</translation>
+    </message>
+    <message>
+        <source>STB_SHAPE_PROCESS</source>
+        <translation>Effectuer le traitement de formes</translation>
+    </message>
+    <message>
+        <source>STB_SHELL</source>
+        <translation>Construire une coque</translation>
+    </message>
+    <message>
+        <source>STB_SHELL_SEL_ONLY</source>
+        <translation>Ne choisir que des Coques</translation>
+    </message>
+    <message>
+        <source>STB_SKETCH</source>
+        <translation>Créer un contour 2D</translation>
+    </message>
+    <message>
+        <source>STB_3DSKETCH</source>
+        <translation>Créer un contour 3D</translation>
+    </message>
+    <message>
+        <source>STB_SOLID</source>
+        <translation>Construire un solide</translation>
+    </message>
+    <message>
+        <source>STB_SOLID_SEL_ONLY</source>
+        <translation>Ne choisir que des Solides</translation>
+    </message>
+    <message>
+        <source>STB_SPHERE</source>
+        <translation>Créer une sphère</translation>
+    </message>
+    <message>
+        <source>STB_STEP_VALUE</source>
+        <translation>Définir le valeur de pas</translation>
+    </message>
+    <message>
+        <source>STB_SUPPERSS_HOLES</source>
+        <translation>Effectuer la suppression des trous</translation>
+    </message>
+    <message>
+        <source>STB_SUPPRESS_FACES</source>
+        <translation>Effectuer la suppression des faces</translation>
+    </message>
+    <message>
+        <source>STB_SUPPRESS_INT_WIRES</source>
+        <translation>Effectuer la suppression des contours internes</translation>
+    </message>
+    <message>
+        <source>STB_TOLERANCE</source>
+        <translation>Calculer la tolérance d&apos;un objet</translation>
+    </message>
+    <message>
+        <source>STB_TORUS</source>
+        <translation>Créer un tore</translation>
+    </message>
+    <message>
+        <source>STB_TRANSLATION</source>
+        <translation>Translater un objet</translation>
+    </message>
+    <message>
+        <source>STB_VECTOR</source>
+        <translation>Créer un vecteur</translation>
+    </message>
+    <message>
+        <source>STB_VERTEX_SEL_ONLY</source>
+        <translation>Ne choisir que des Points</translation>
+    </message>
+    <message>
+        <source>STB_WHAT_IS</source>
+        <translation>Qu&apos;est-ce que c&apos;est</translation>
+    </message>
+    <message>
+        <source>STB_WIRE</source>
+        <translation>Construire un contour</translation>
+    </message>
+    <message>
+        <source>STB_WIRE_SEL_ONLY</source>
+        <translation>Ne choisir que des Contours</translation>
+    </message>
+    <message>
+        <source>STB_WORK_PLANE</source>
+        <translation>Créer un plan de travail</translation>
+    </message>
+    <message>
+        <source>STB_POP_POINT_MARKER</source>
+        <translation>Définir un Point Repère</translation>
+    </message>
+    <message>
+        <source>SUPPRESS_RESULT</source>
+        <translation>Supprimer le Résultat</translation>
+    </message>
+    <message>
+        <source>SUPRESS_FACE_NEW_OBJ_NAME</source>
+        <translation>SupprimerFaces</translation>
+    </message>
+    <message>
+        <source>ShHealOper_ErrorExecution_msg</source>
+        <translation>L&apos;algorithme de traitement de formes n&apos;a pas abouti</translation>
+    </message>
+    <message>
+        <source>ShHealOper_InvalidParameters_msg</source>
+        <translation>Les paramètres de l&apos;algorithme de traitement de formes sont incorrects</translation>
+    </message>
+    <message>
+        <source>ShHealOper_NotError_msg</source>
+        <translation>L&apos;algorithme de traitement de formes n&apos;a pas fait de modifications de la forme d&apos;origine</translation>
+    </message>
+    <message>
+        <source>TLT_RENAME</source>
+        <translation>Renommer</translation>
+    </message>
+    <message>
+        <source>TOM_O</source>
+        <translation>O</translation>
+    </message>
+    <message>
+        <source>TOM_O_PLUS</source>
+        <translation>+ en O</translation>
+    </message>
+    <message>
+        <source>TOM_O_POINT</source>
+        <translation>. en O</translation>
+    </message>
+    <message>
+        <source>TOM_O_STAR</source>
+        <translation>* en O</translation>
+    </message>
+    <message>
+        <source>TOM_O_X</source>
+        <translation>X en O</translation>
+    </message>
+    <message>
+        <source>TOM_PLUS</source>
+        <translation>+</translation>
+    </message>
+    <message>
+        <source>TOM_POINT</source>
+        <translation>.</translation>
+    </message>
+    <message>
+        <source>TOM_STAR</source>
+        <translation>*</translation>
+    </message>
+    <message>
+        <source>TOM_X</source>
+        <translation>X</translation>
+    </message>
+    <message>
+        <source>TOOL_BASIC</source>
+        <translation>de Base</translation>
+    </message>
+    <message>
+        <source>TOOL_BOOLEAN</source>
+        <translation>Opérations Booléennes </translation>
+    </message>
+    <message>
+        <source>TOOL_GENERATION</source>
+        <translation>Génération</translation>
+    </message>
+    <message>
+        <source>TOOL_PRIMITIVES</source>
+        <translation>Primitives</translation>
+    </message>
+    <message>
+        <source>TOOL_TRANSFORMATION</source>
+        <translation>Transformation</translation>
+    </message>
+    <message>
+        <source>TOOL_BUILD</source>
+        <translation>Construire</translation>
+    </message>
+    <message>
+        <source>TOOL_OPERATIONS</source>
+        <translation>Opérations</translation>
+    </message>
+    <message>
+        <source>TOOL_ADVANCED</source>
+        <translation>Avancé</translation>
+    </message>
+    <message>
+        <source>TOOL_MEASURES</source>
+        <translation>Informations</translation>
+    </message>
+    <message>
+        <source>TOP_ARC</source>
+        <translation>Créer un arc</translation>
+    </message>
+    <message>
+        <source>TOP_ARCHIMEDE</source>
+        <translation>Archimède</translation>
+    </message>
+    <message>
+        <source>TOP_BASIC_PROPS</source>
+        <translation>Propriétés de base</translation>
+    </message>
+    <message>
+        <source>TOP_BND_BOX</source>
+        <translation>Boîte Englobante</translation>
+    </message>
+    <message>
+        <source>TOP_BOX</source>
+        <translation>Créer une Boîte</translation>
+    </message>
+    <message>
+        <source>TOP_CHAMFER</source>
+        <translation>Chanfrain</translation>
+    </message>
+    <message>
+        <source>TOP_CHANGE_ORIENTATION</source>
+        <translation>Changer l&apos;orientation</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK</source>
+        <translation>Valider l&apos;Objet</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_COMPOUND</source>
+        <translation>Valider l&apos;assemblage de bloques</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_FREE_BNDS</source>
+        <translation>Valider les Contours Libres</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_FREE_FACES</source>
+        <translation>Valider les Faces Libres</translation>
+    </message>
+    <message>
+        <source>TOP_CHECK_GEOMETRY</source>
+        <translation>Valider la Géométrie</translation>
+    </message>
+    <message>
+        <source>TOP_CIRCLE</source>
+        <translation>Créer un circle</translation>
+    </message>
+    <message>
+        <source>TOP_CLIPPING</source>
+        <translation>Diapason de Clipage</translation>
+    </message>
+    <message>
+        <source>TOP_CLOSE_CONTOUR</source>
+        <translation>Fermer le contour</translation>
+    </message>
+    <message>
+        <source>TOP_COMMON</source>
+        <translation>Commun</translation>
+    </message>
+    <message>
+        <source>TOP_COMPOUND</source>
+        <translation>Construire un assemblage</translation>
+    </message>
+    <message>
+        <source>TOP_CONE</source>
+        <translation>Créer un cône</translation>
+    </message>
+    <message>
+        <source>TOP_CURVE</source>
+        <translation>Créer une courbe</translation>
+    </message>
+    <message>
+        <source>TOP_CUT</source>
+        <translation>Découpe</translation>
+    </message>
+    <message>
+        <source>TOP_CYLINDER</source>
+        <translation>Créer un cylindre</translation>
+    </message>
+    <message>
+        <source>TOP_DELETE</source>
+        <translation>Supprimer l&apos;objet</translation>
+    </message>
+    <message>
+        <source>TOP_RECTANGLE</source>
+        <translation>Créer une face rectangulaire</translation>
+    </message>
+    <message>
+        <source>TOP_DISK</source>
+        <translation>Créer une disque</translation>
+    </message>
+    <message>
+        <source>TOP_DISPLAY</source>
+        <translation>Montrer</translation>
+    </message>
+    <message>
+        <source>TOP_DISPLAY_ALL</source>
+        <translation>Montrer Tous</translation>
+    </message>
+    <message>
+        <source>TOP_DISPLAY_ONLY</source>
+        <translation>Montrer Seul</translation>
+    </message>
+    <message>
+        <source>TOP_EDGE</source>
+        <translation>Construire une arête</translation>
+    </message>
+    <message>
+        <source>TOP_ELLIPSE</source>
+        <translation>Créer un ellipse</translation>
+    </message>
+    <message>
+        <source>TOP_ERASE</source>
+        <translation>Cacher</translation>
+    </message>
+    <message>
+        <source>TOP_ERASE_ALL</source>
+        <translation>Cacher tous</translation>
+    </message>
+    <message>
+        <source>TOP_EXPLODE</source>
+        <translation>Eclatement</translation>
+    </message>
+    <message>
+        <source>TOP_EXPLODE_BLOCKS</source>
+        <translation>Eclater en Bloques</translation>
+    </message>
+    <message>
+        <source>TOP_EXPORT</source>
+        <translation>Exporter une géométrie au fichier BREP</translation>
+    </message>
+    <message>
+        <source>TOP_EXTRUSION</source>
+        <translation>Créer une extrusion</translation>
+    </message>
+    <message>
+        <source>TOP_FACE</source>
+        <translation>Construire une face</translation>
+    </message>
+    <message>
+        <source>TOP_FILLET</source>
+        <translation>Congé 3D</translation>
+    </message>
+    <message>
+        <source>TOP_FILLET_1D</source>
+        <translation>Congé 1D</translation>
+    </message>
+    <message>
+        <source>TOP_FILLET_2D</source>
+        <translation>Congé 2D</translation>
+    </message>
+    <message>
+        <source>TOP_FILLING</source>
+        <translation>Créer un remplissage</translation>
+    </message>
+    <message>
+        <source>TOP_FUSE</source>
+        <translation>Fusion</translation>
+    </message>
+    <message>
+        <source>TOP_GLUE_FACES</source>
+        <translation>Coller les faces</translation>
+    </message>
+    <message>
+        <source>TOP_GROUP_CREATE</source>
+        <translation>Créer une groupe</translation>
+    </message>
+    <message>
+        <source>TOP_GROUP_EDIT</source>
+        <translation>Editer une groupe</translation>
+    </message>
+    <message>
+        <source>TOP_HEX_SOLID</source>
+        <translation>Solide Hexahédral </translation>
+    </message>
+    <message>
+        <source>TOP_IMPORT</source>
+        <translation>Importer une géométry du fichier BREP</translation>
+    </message>
+    <message>
+        <source>TOP_INERTIA</source>
+        <translation>Moments d&apos;inertie</translation>
+    </message>
+    <message>
+        <source>TOP_ISOS</source>
+        <translation>Définir le numéro des isolignes</translation>
+    </message>
+    <message>
+        <source>TOP_LINE</source>
+        <translation>Créer une ligne</translation>
+    </message>
+    <message>
+        <source>TOP_LIMIT_TOLERANCE</source>
+        <translation>Tolérance limite</translation>
+    </message>
+    <message>
+        <source>TOP_LOCAL_CS</source>
+        <translation>Créer un système local de coordonnées </translation>
+    </message>
+    <message>
+        <source>TOP_MASS_CENTER</source>
+        <translation>Centre de la masse</translation>
+    </message>
+    <message>
+        <source>TOP_MIN_DIST</source>
+        <translation>Distance Minimale </translation>
+    </message>
+    <message>
+        <source>TOP_MIRROR</source>
+        <translation>Image Miroir</translation>
+    </message>
+    <message>
+        <source>TOP_MODIFY_LOCATION</source>
+        <translation>Modifer la location</translation>
+    </message>
+    <message>
+        <source>TOP_MUL_ROTATION</source>
+        <translation>Multi-Rotation</translation>
+    </message>
+    <message>
+        <source>TOP_MUL_TRANSFORM</source>
+        <translation>Multi-transformation</translation>
+    </message>
+    <message>
+        <source>TOP_MUL_TRANSLATION</source>
+        <translation>Multi-Translation</translation>
+    </message>
+    <message>
+        <source>TOP_OFFSET</source>
+        <translation>Surface de Décalage </translation>
+    </message>
+    <message>
+        <source>TOP_ORIGIN_AND_VECTORS</source>
+        <translation>Créer l&apos;origine et les Vecteurs de base</translation>
+    </message>
+    <message>
+        <source>TOP_PARTITION</source>
+        <translation>Partition</translation>
+    </message>
+    <message>
+        <source>TOP_PIPE</source>
+        <translation>Extrusion au long d&apos;un chemin</translation>
+    </message>
+    <message>
+        <source>TOP_PLANE</source>
+        <translation>Créer un plan</translation>
+    </message>
+    <message>
+        <source>TOP_POINT</source>
+        <translation>Créer un point</translation>
+    </message>
+    <message>
+        <source>TOP_POINT_COORDS</source>
+        <translation>Coordonnées d&apos;un point</translation>
+    </message>
+    <message>
+        <source>TOP_POINT_ON_EDGE</source>
+        <translation>Ajouter un point sur l&apos;arête</translation>
+    </message>
+    <message>
+        <source>TOP_POP_COLOR</source>
+        <translation>Couleur</translation>
+    </message>
+    <message>
+        <source>TOP_POP_CREATE_GROUP</source>
+        <translation>Créer un Groupe</translation>
+    </message>
+    <message>
+        <source>TOP_POP_SHOW_CHILDREN</source>
+        <translation>Montrer les Enfants</translation>
+    </message>
+    <message>
+        <source>TOP_POP_HIDE_CHILDREN</source>
+        <translation>Cacher les enfants</translation>
+    </message>
+    <message>
+        <source>TOP_POP_ISOS</source>
+        <translation>Isolignes</translation>
+    </message>
+    <message>
+        <source>TOP_POP_DEFLECTION</source>
+        <translation>Coefficient de Déflection </translation>
+    </message>
+    <message>
+        <source>TOP_POP_RENAME</source>
+        <translation>Renommer</translation>
+    </message>
+    <message>
+        <source>TOP_POP_SHADING</source>
+        <translation>Ombrage</translation>
+    </message>
+    <message>
+        <source>TOP_POP_TRANSPARENCY</source>
+        <translation>Transparence</translation>
+    </message>
+    <message>
+        <source>TOP_POP_WIREFRAME</source>
+        <translation>Contours</translation>
+    </message>
+    <message>
+        <source>TOP_PROPAGATE</source>
+        <translation>Propaguer</translation>
+    </message>
+    <message>
+        <source>TOP_Q_FACE</source>
+        <translation>Face Quadrangulaire </translation>
+    </message>
+    <message>
+        <source>TOP_REVOLUTION</source>
+        <translation>Créer une révolution</translation>
+    </message>
+    <message>
+        <source>TOP_ROTATION</source>
+        <translation>Rotation</translation>
+    </message>
+    <message>
+        <source>TOP_SCALE</source>
+        <translation>Redimentionnement</translation>
+    </message>
+    <message>
+        <source>TOP_SECTION</source>
+        <translation>Section</translation>
+    </message>
+    <message>
+        <source>TOP_SEWING</source>
+        <translation>Effecture une couture</translation>
+    </message>
+    <message>
+        <source>TOP_SHADING</source>
+        <translation>Ombrage</translation>
+    </message>
+    <message>
+        <source>TOP_SHADING_COLOR</source>
+        <translation>Définir la couleur d&apos;ombrage</translation>
+    </message>
+    <message>
+        <source>TOP_SHAPE_PROCESS</source>
+        <translation>Effectuer le traitement de forme</translation>
+    </message>
+    <message>
+        <source>TOP_SHELL</source>
+        <translation>Construire une coque</translation>
+    </message>
+    <message>
+        <source>TOP_SKETCH</source>
+        <translation>Contour 2D </translation>
+    </message>
+    <message>
+        <source>TOP_3DSKETCH</source>
+        <translation>Contour 3D</translation>
+    </message>
+    <message>
+        <source>TOP_SOLID</source>
+        <translation>Créer un solide</translation>
+    </message>
+    <message>
+        <source>TOP_SPHERE</source>
+        <translation>Créer une sphère</translation>
+    </message>
+    <message>
+        <source>TOP_STEP_VALUE</source>
+        <translation>Définir la valeur de pas</translation>
+    </message>
+    <message>
+        <source>TOP_SUPPERSS_HOLES</source>
+        <translation>Supprimer les trous</translation>
+    </message>
+    <message>
+        <source>TOP_SUPPRESS_FACES</source>
+        <translation>Supprimer les faces</translation>
+    </message>
+    <message>
+        <source>TOP_SUPPRESS_INT_WIRES</source>
+        <translation>Supprimer les contours internes</translation>
+    </message>
+    <message>
+        <source>TOP_TOLERANCE</source>
+        <translation>Tolérance</translation>
+    </message>
+    <message>
+        <source>TOP_TORUS</source>
+        <translation>Créer un tore</translation>
+    </message>
+    <message>
+        <source>TOP_TRANSLATION</source>
+        <translation>Translation</translation>
+    </message>
+    <message>
+        <source>TOP_VECTOR</source>
+        <translation>Créer un vecteur</translation>
+    </message>
+    <message>
+        <source>TOP_WHAT_IS</source>
+        <translation>Qu&apos;est-ce que c&apos;est</translation>
+    </message>
+    <message>
+        <source>TOP_WIRE</source>
+        <translation>Construire un contour</translation>
+    </message>
+    <message>
+        <source>TOP_WORK_PLANE</source>
+        <translation>Créer un plan de travail</translation>
+    </message>
+    <message>
+        <source>TOP_POP_POINT_MARKER</source>
+        <translation>Repère d&apos;un Point</translation>
+    </message>
+    <message>
+        <source>WRN_NOT_IMPLEMENTED</source>
+        <translation>Désolé, cette fonctionnalité n&apos;est pas encore implémentée</translation>
+    </message>
+    <message>
+        <source>_S_</source>
+        <translation>(s)</translation>
+    </message>
+    <message>
+        <source>NOT_FOUND_ANY</source>
+        <translation>Pas une seule entité a été trouvée</translation>
+    </message>
+    <message>
+        <source>GEOM_FACE_I</source>
+        <translation>Face %1</translation>
+    </message>
+    <message>
+        <source>GEOM_CONSTANT_RADIUS</source>
+        <translation>Rayon :</translation>
+    </message>
+    <message>
+        <source>GEOM_R1</source>
+        <translation>R1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_R2</source>
+        <translation>R2 :</translation>
+    </message>
+    <message>
+        <source>GEOM_BOTHWAY</source>
+        <translation>Toutes les deux directions</translation>
+    </message>
+    <message>
+        <source>GEOM_NORMALE</source>
+        <translation>Normale à une Face</translation>
+    </message>
+    <message>
+        <source>GEOM_VECTOR_NORMALE</source>
+        <translation>Vecteur_Normal</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE1</source>
+        <translation>Ligne 1</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE2</source>
+        <translation>Ligne 2</translation>
+    </message>
+    <message>
+        <source>GEOM_D</source>
+        <translation>D :</translation>
+    </message>
+    <message>
+        <source>GEOM_CHAMFER_EDGE</source>
+        <translation>Chanfrein sur les Arêtes choisies</translation>
+    </message>
+    <message>
+        <source>SELECTED_EDGE</source>
+        <translation>Arêtes choisies</translation>
+    </message>
+    <message>
+        <source>GEOM_NORMALE_TITLE</source>
+        <translation>Créer un Vecteur Normal à une Face</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_TITLE</source>
+        <translation>Angle entre deux Arêtes/Lignes/Vecteurs Droits</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_OBJ</source>
+        <translation>Objets et Résultats</translation>
+    </message>
+    <message>
+        <source>GEOM_MEASURE_ANGLE_IS</source>
+        <translation>Angle en degrées :</translation>
+    </message>
+    <message>
+        <source>GEOM_LINE_INTERSECTION</source>
+        <translation>Point sur l&apos;Intersection des Lignes</translation>
+    </message>
+    <message>
+        <source>GEOM_KEEP_NONLIMIT_SHAPES</source>
+        <translation>Préserver les formes inférieures</translation>
+    </message>
+    <message>
+        <source>GEOM_CENTER_2POINTS</source>
+        <translation>Centre et deux points</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_EXTRA_EDGES_TITLE</source>
+        <translation>Supprimer les arêtes supplémentaires</translation>
+    </message>
+    <message>
+        <source>GEOM_REMOVE_EXTRA_EDGES</source>
+        <translation>L&apos;Objet pour suppimer les arêtes supplémentaires</translation>
+    </message>
+    <message>
+        <source>GEOM_RMEE_UNION_FACES</source>
+        <translation>Union des faces, qui appartiennent à la même surface</translation>
+    </message>
+    <message>
+        <source>REMOVE_EXTRA_EDGES_NEW_OBJ_NAME</source>
+        <translation>PasdAretesSupplementaires</translation>
+    </message>
+    <message>
+        <source>TOP_REMOVE_EXTRA_EDGES</source>
+        <translation>Suppimer les Arêtes Supplémentaires</translation>
+    </message>
+    <message>
+        <source>MEN_REMOVE_EXTRA_EDGES</source>
+        <translation>Suppimer les Arêtes Supplémentaires</translation>
+    </message>
+    <message>
+        <source>STB_REMOVE_EXTRA_EDGES</source>
+        <translation>Suppimer les Arêtes Supplémentaires</translation>
+    </message>
+    <message>
+        <source>TOP_NORMALE</source>
+        <translation>Vecteur Normal à une Face</translation>
+    </message>
+    <message>
+        <source>MEN_NORMALE</source>
+        <translation>Vecteur Normal à une Face</translation>
+    </message>
+    <message>
+        <source>STB_NORMALE</source>
+        <translation>Calculer le Vecteur Normal à une Face</translation>
+    </message>
+    <message>
+        <source>TOP_MEASURE_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>MEN_MEASURE_ANGLE</source>
+        <translation>Angle</translation>
+    </message>
+    <message>
+        <source>STB_MEASURE_ANGLE</source>
+        <translation>Calculer l&apos;angle entre deux lignes ou arêtes linéaires</translation>
+    </message>
+    <message>
+        <source>TOP_POP_AUTO_COLOR</source>
+        <translation>Couleur Automatique</translation>
+    </message>
+    <message>
+        <source>MEN_POP_AUTO_COLOR</source>
+        <translation>Couleur Automatique</translation>
+    </message>
+    <message>
+        <source>STB_POP_AUTO_COLOR</source>
+        <translation>Couleur Automatique</translation>
+    </message>
+    <message>
+        <source>TOP_POP_DISABLE_AUTO_COLOR</source>
+        <translation>Désactiver le Couleur Automatique</translation>
+    </message>
+    <message>
+        <source>MEN_POP_DISABLE_AUTO_COLOR</source>
+        <translation>Désactiver le Couleur Automatique</translation>
+    </message>
+    <message>
+        <source>STB_POP_DISABLE_AUTO_COLOR</source>
+        <translation>Désactiver le Couleur Automatique</translation>
+    </message>
+    <message>
+        <source>GEOM_RESULT_NAME_GRP</source>
+        <translation>Nom du Résultat</translation>
+    </message>
+    <message>
+        <source>GEOM_RESULT_NAME_LBL</source>
+        <translation>Nom</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_APPROX</source>
+        <translation>Approximation</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_METHOD</source>
+        <translation>Méthode</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_DEFAULT</source>
+        <translation>Défaut (comportement standardisé)</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_USEORI</source>
+        <translation>Utiliser l&apos;orientation des arêtes</translation>
+    </message>
+    <message>
+        <source>GEOM_FILLING_AUTO</source>
+        <translation>Auto-corrger l&apos;orientation des arêtes</translation>
+    </message>
+    <message>
+        <source>GEOM_WRN_NO_APPROPRIATE_SELECTION</source>
+        <translation>Pas d&apos;objets appropriés choisis</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE</source>
+        <translation>Trouver les éléments d&apos;un objet</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_ESHAPE</source>
+        <translation>L&apos;objet à éclater</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_CSHAPE</source>
+        <translation>Le Solide à vérifier</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_STATE</source>
+        <translation>Etat</translation>
+    </message>
+    <message>
+        <source>GEOM_KIND_OF_SHAPE</source>
+        <translation>Type d&apos;Objet :</translation>
+    </message>
+    <message>
+        <source>GEOM_CLOSED</source>
+        <translation>Fermé</translation>
+    </message>
+    <message>
+        <source>GEOM_UNCLOSED</source>
+        <translation>Ouvert</translation>
+    </message>
+    <message>
+        <source>GEOM_CLOSEDUNCLOSED</source>
+        <translation>Il n&apos;est pas défini, si l&apos;objet est fermé ou ouvert. Possiblement, il y a un erreur.</translation>
+    </message>
+    <message>
+        <source>GEOM_DISK_CIRCLE</source>
+        <translation>Disque</translation>
+    </message>
+    <message>
+        <source>GEOM_DISK_ELLIPSE</source>
+        <translation>Face Elliptique </translation>
+    </message>
+    <message>
+        <source>GEOM_PLANAR_FACE</source>
+        <translation>Face Planaire </translation>
+    </message>
+    <message>
+        <source>GEOM_PLANAR_EDGE_WIRE</source>
+        <translation>Contour avec des Arêtes Planaires</translation>
+    </message>
+    <message>
+        <source>GEOM_POLYGON</source>
+        <translation>Polygone</translation>
+    </message>
+    <message>
+        <source>GEOM_POLYHEDRON</source>
+        <translation>Polyèdre</translation>
+    </message>
+    <message>
+        <source>GEOM_NORMAL</source>
+        <translation>Direction Normale</translation>
+    </message>
+    <message>
+        <source>GEOM_DIRECTION</source>
+        <translation>Direction</translation>
+    </message>
+    <message>
+        <source>GEOM_UPARAMETER</source>
+        <translation>Paramètre-U :</translation>
+    </message>
+    <message>
+        <source>GEOM_VPARAMETER</source>
+        <translation>Paramètre-V :</translation>
+    </message>
+    <message>
+        <source>GEOM_X_I</source>
+        <translation>X%1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_Y_I</source>
+        <translation>Y%1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_Z_I</source>
+        <translation>Z%1 :</translation>
+    </message>
+    <message>
+        <source>GEOM_SHAPES_ON_SHAPE_TITLE</source>
+        <translation>Trouver les éléments d&apos;un objet</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR_X</source>
+        <translation>Facteur de Redimentionnnement à l&apos;axe X :</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR_Y</source>
+        <translation>Facteur de Redimentionnnement à l&apos;axe Y :</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_FACTOR_Z</source>
+        <translation>Facteur de Redimentionnnement à l&apos;axe  Z :</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_IN</source>
+        <translation>IN</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_OUT</source>
+        <translation>OUT</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_ON</source>
+        <translation>ON</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_ONIN</source>
+        <translation>ONIN</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_ONOUT</source>
+        <translation>ONOUT</translation>
+    </message>
+    <message>
+        <source>GEOM_STATE_INOUT</source>
+        <translation>INOUT</translation>
+    </message>
+    <message>
+        <source>TOP_GET_SHAPES_ON_SHAPES</source>
+        <translation>Trouver les éléments d&apos;un objet</translation>
+    </message>
+    <message>
+        <source>MEN_GET_SHAPES_ON_SHAPES</source>
+        <translation>Trouver les éléments d&apos;un objet</translation>
+    </message>
+    <message>
+        <source>STB_GET_SHAPES_ON_SHAPES</source>
+        <translation>Trouver les éléments d&apos;un objet</translation>
+    </message>
+    <message>
+        <source>GEOM_PUBLISH_RESULT_GRP</source>
+        <translation>Options avancées</translation>
+    </message>
+    <message>
+        <source>GEOM_RESTORE_SUB_SHAPES</source>
+        <translation>Importer à partir des arguments les paramètres de la présentation et les sous-formes</translation>
+    </message>
+    <message>
+        <source>GEOM_RSS_ADD_FREFIX</source>
+        <translation>Ajouter un préfixe aux noms des sous-formes restaurées</translation>
+    </message>
+    <message>
+        <source>GEOM_ALL_IMPORT_FILES</source>
+        <translation>Tous les formats supportés ( %1 )</translation>
+    </message>
+    <message>
+        <source>GEOM_UNSUPPORTED_TYPE</source>
+        <translation>Le format de ficher n&apos;est pas supporté</translation>
+    </message>
+    <message>
+        <source>GEOM_UNKNOWN_IMPORT_ERROR</source>
+        <translation>Erreur inconnue</translation>
+    </message>
+    <message>
+        <source>GEOM_IMPORT_ERRORS</source>
+        <translation>L&apos;importation s&apos;est finie avec des erreurs:</translation>
+    </message>
+    <message>
+        <source>GEOM_PUBLISH_NAMED_SHAPES</source>
+        <translation>Créer des groupes pour les objets indiqués (s&apos;ils existent)?</translation>
+    </message>
+    <message>
+        <source>GEOM_SCALE_DIMENSIONS</source>
+        <translation>Voulez-vous prendre les unités en consiération?
+Sinon les dimensions seront préservées sans modifications.</translation>
+    </message>
+    <message>
+        <source>GEOM_ADVANCED</source>
+        <translation>Forme Avancée : type %1</translation>
+    </message>
+    <message>
+        <source>GEOM_PRECISION_HINT</source>
+        <translation>Il est possible d&apos;ajuster la précision de la valeur d&apos;entrée avec 
+le paramètre &apos;%1&apos; aux préférences du module Géométrie.</translation>
+    </message>
+    <message>
+        <source>TOP_PIPETSHAPE</source>
+        <translation>Créer un Tuyau TForme</translation>
+    </message>
+    <message>
+        <source>MEN_PIPETSHAPE</source>
+        <translation>Tuyau TForme</translation>
+    </message>
+    <message>
+        <source>STB_PIPETSHAPE</source>
+        <translation>Créer un Nouveau Tuyau TForme</translation>
+    </message>
+    <message>
+        <source>GEOM_ADVANCED_201</source>
+        <translation>Tuyau TForme</translation>
+    </message>
+    <message>
+        <source>HALF_LENGTH_MAIN_PIPE</source>
+        <translation>Demi-longueur du Tuyau Principal </translation>
+    </message>
+    <message>
+        <source>HALF_LENGTH_INCIDENT_PIPE</source>
+        <translation>Demi-longueur du Tuyau Incident</translation>
+    </message>
+    <message>
+        <source>CIRCULAR_QUARTER_PIPE</source>
+        <translation>Un quart circulaire du tuyau</translation>
+    </message>
+    <message>
+        <source>THICKNESS</source>
+        <translation>Epaisseur</translation>
+    </message>
+    <message>
+        <source>FLANGE</source>
+        <translation>Flange</translation>
+    </message>
+    <message>
+        <source>CHAMFER_OR_FILLET</source>
+        <translation>Chanfrein ou Congé</translation>
+    </message>
+    <message>
+        <source>CHAMFER</source>
+        <translation>Chanfrein</translation>
+    </message>
+    <message>
+        <source>FILLET</source>
+        <translation>Congé</translation>
+    </message>
+    <message>
+        <source>JUNCTION_FACE_1</source>
+        <translation>Jonction 1</translation>
+    </message>
+    <message>
+        <source>JUNCTION_FACE_2</source>
+        <translation>Jonction 2</translation>
+    </message>
+    <message>
+        <source>JUNCTION_FACE_3</source>
+        <translation>Jonction 3</translation>
+    </message>
+</context>
+<context>
+    <name>BasicGUI_CurveDlg</name>
+    <message>
+        <source>GEOM_IS_CLOSED</source>
+        <translation>Construire une arête fermée</translation>
+    </message>
+</context>
+<context>
+    <name>BasicGUI_EllipseDlg</name>
+    <message>
+        <source>GEOM_VECTOR_MAJOR</source>
+        <translation>Axe Majeur</translation>
+    </message>
+    <message>
+        <source>ORIGIN_DEFAULT</source>
+        <translation>Origine de défaut</translation>
+    </message>
+    <message>
+        <source>X_AXIS_DEFAULT</source>
+        <translation>Axe X de défaut</translation>
+    </message>
+    <message>
+        <source>Z_AXIS_DEFAULT</source>
+        <translation>Axe Z de défaut</translation>
+    </message>
+</context>
+<context>
+    <name>BasicGUI_MarkerDlg</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Construction d&apos;un SC Local</translation>
+    </message>
+    <message>
+        <source>DX</source>
+        <translation>Dx</translation>
+    </message>
+    <message>
+        <source>DY</source>
+        <translation>Dy</translation>
+    </message>
+    <message>
+        <source>DZ</source>
+        <translation>Dz</translation>
+    </message>
+    <message>
+        <source>LCS_NAME</source>
+        <translation>SCLocal</translation>
+    </message>
+    <message>
+        <source>LOCALCS</source>
+        <translation>Système de coordonnées local</translation>
+    </message>
+    <message>
+        <source>ORIGIN</source>
+        <translation>Coordonnées de l&apos;origine</translation>
+    </message>
+    <message>
+        <source>VEC_PARALLEL</source>
+        <translation>Il n&apos;est pas possible que les axes du système de coordonnées soient parallels</translation>
+    </message>
+    <message>
+        <source>XDIR</source>
+        <translation>Direction de l&apos;axe X </translation>
+    </message>
+    <message>
+        <source>YDIR</source>
+        <translation>Direction de l&apos;axe Y</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_BlockDlg</name>
+    <message>
+        <source>FACE_1</source>
+        <translation>Face 1</translation>
+    </message>
+    <message>
+        <source>FACE_2</source>
+        <translation>Face 2</translation>
+    </message>
+    <message>
+        <source>FACE_3</source>
+        <translation>Face 3</translation>
+    </message>
+    <message>
+        <source>FACE_4</source>
+        <translation>Face 4</translation>
+    </message>
+    <message>
+        <source>FACE_5</source>
+        <translation>Face 5</translation>
+    </message>
+    <message>
+        <source>FACE_6</source>
+        <translation>Face 6</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_ExplodeDlg</name>
+    <message>
+        <source>NB_FACES_MAX</source>
+        <translation>Numéro maximal des faces</translation>
+    </message>
+    <message>
+        <source>NB_FACES_MIN</source>
+        <translation>Numéro minimal des faces</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_QuadFaceDlg</name>
+    <message>
+        <source>EDGE_1</source>
+        <translation>Arête 1</translation>
+    </message>
+    <message>
+        <source>EDGE_2</source>
+        <translation>Arête 2</translation>
+    </message>
+    <message>
+        <source>EDGE_3</source>
+        <translation>Arête 3</translation>
+    </message>
+    <message>
+        <source>EDGE_4</source>
+        <translation>Arête 4</translation>
+    </message>
+    <message>
+        <source>VERTEX_1</source>
+        <translation>Point 1</translation>
+    </message>
+    <message>
+        <source>VERTEX_2</source>
+        <translation>Point 2</translation>
+    </message>
+    <message>
+        <source>VERTEX_3</source>
+        <translation>Point 3</translation>
+    </message>
+    <message>
+        <source>VERTEX_4</source>
+        <translation>Point 4</translation>
+    </message>
+</context>
+<context>
+    <name>BlocksGUI_TrsfDlg</name>
+    <message>
+        <source>FACE_1</source>
+        <translation>Face 1</translation>
+    </message>
+    <message>
+        <source>FACE_1U</source>
+        <translation>Face 1 U</translation>
+    </message>
+    <message>
+        <source>FACE_1V</source>
+        <translation>Face 1 V</translation>
+    </message>
+    <message>
+        <source>FACE_2</source>
+        <translation>Face 2</translation>
+    </message>
+    <message>
+        <source>FACE_2U</source>
+        <translation>Face 2 U</translation>
+    </message>
+    <message>
+        <source>FACE_2V</source>
+        <translation>Face 2 V</translation>
+    </message>
+</context>
+<context>
+    <name>EntityGUI_SketcherDlg</name>
+    <message>
+        <source>CANNOT_CLOSE</source>
+        <translation>Il est impossible de fermer le contour
+Le numéro de points du contour n&apos;est pas suffisant</translation>
+    </message>
+</context>
+<context>
+    <name>EntityGUI_SubShapeDlg</name>
+    <message>
+        <source>NO_SUBSHAPES_SELECTED</source>
+        <translation>Choisissez une ou plusieurs sous-formes</translation>
+    </message>
+</context>
+<context>
+    <name>GroupGUI</name>
+    <message>
+        <source>NO_GROUP</source>
+        <translation>Choisissez un groupe à éditer</translation>
+    </message>
+</context>
+<context>
+    <name>GroupGUI_GroupDlg</name>
+    <message>
+        <source>ADD</source>
+        <translation>Ajouter</translation>
+    </message>
+    <message>
+        <source>CREATE_GROUP_TITLE</source>
+        <translation>Créer un Groupe</translation>
+    </message>
+    <message>
+        <source>EDIT_GROUP_TITLE</source>
+        <translation>Editer un Groupe</translation>
+    </message>
+    <message>
+        <source>EMPTY_LIST</source>
+        <translation>Choisissez une ou plus de sous-formes à placer dans le groupe</translation>
+    </message>
+    <message>
+        <source>EMPTY_NAME</source>
+        <translation>Le nom de groupe est vide. Indiquez un nom correcte</translation>
+    </message>
+    <message>
+        <source>GROUP_NAME</source>
+        <translation>Npm du Groupe</translation>
+    </message>
+    <message>
+        <source>GROUP_PREFIX</source>
+        <translation>Groupe</translation>
+    </message>
+    <message>
+        <source>MAIN_SHAPE</source>
+        <translation>La Forme Principale </translation>
+    </message>
+    <message>
+        <source>MAIN_SUB_SHAPES</source>
+        <translation>La Forme Principale et ces Sous-Formes</translation>
+    </message>
+    <message>
+        <source>NO_GROUP</source>
+        <translation>Choisissez un groupe à éditer</translation>
+    </message>
+    <message>
+        <source>NO_MAIN_OBJ</source>
+        <translation>Choisissez l&apos;objet principal</translation>
+    </message>
+    <message>
+        <source>REMOVE</source>
+        <translation>Supprimer</translation>
+    </message>
+    <message>
+        <source>SELECT_ALL</source>
+        <translation>Choisir Tous</translation>
+    </message>
+    <message>
+        <source>SHAPE_SEL_RESTR</source>
+        <translation>Sélection Limité de la Forme Principale</translation>
+    </message>
+    <message>
+        <source>SHAPE_TYPE</source>
+        <translation>Type de la Forme </translation>
+    </message>
+    <message>
+        <source>NO_RESTR</source>
+        <translation>Pas de restriction</translation>
+    </message>
+    <message>
+        <source>GEOM_PARTS_OF_SHAPE2</source>
+        <translation>Parties Géométriques de la Seconde Forme</translation>
+    </message>
+    <message>
+        <source>SUBSHAPES_OF_SHAPE2</source>
+        <translation>Seules les Sous-Formes de la Seconde Forme</translation>
+    </message>
+    <message>
+        <source>SECOND_SHAPE</source>
+        <translation>Seconde Forme</translation>
+    </message>
+</context>
+<context>
+    <name>MeasureGUI_1Sel1TextView1Check_QTD</name>
+    <message>
+        <source>CHECK_SHAPE_GEOMETRY</source>
+        <translation>Vérifier la géométrie</translation>
+    </message>
+</context>
+<context>
+    <name>MeasureGUI_PointDlg</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Coordonnées d&apos;un Point</translation>
+    </message>
+    <message>
+        <source>COORDINATES</source>
+        <translation>Le Point et ces coordonnées</translation>
+    </message>
+    <message>
+        <source>POINT</source>
+        <translation>Point</translation>
+    </message>
+    <message>
+        <source>X</source>
+        <translation>X</translation>
+    </message>
+    <message>
+        <source>Y</source>
+        <translation>Y</translation>
+    </message>
+    <message>
+        <source>Z</source>
+        <translation>Z</translation>
+    </message>
+</context>
+<context>
+    <name>OperationGUI_ChamferDlg</name>
+    <message>
+        <source>D</source>
+        <translation>D</translation>
+    </message>
+    <message>
+        <source>FACE_1</source>
+        <translation>Face 1</translation>
+    </message>
+    <message>
+        <source>FACE_2</source>
+        <translation>Face 2</translation>
+    </message>
+    <message>
+        <source>SELECTED_FACES</source>
+        <translation>Les Faces Choisies</translation>
+    </message>
+</context>
+<context>
+    <name>OperationGUI_FilletDlg</name>
+    <message>
+        <source>SELECTED_EDGES</source>
+        <translation>Les arêtes choisies</translation>
+    </message>
+    <message>
+        <source>SELECTED_FACES</source>
+        <translation>Les Faces Choisies</translation>
+    </message>
+</context>
+<context>
+    <name>RepairGUI_FreeBoundDlg</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Vérifier les contours libres</translation>
+    </message>
+    <message>
+        <source>FREE_BOUND</source>
+        <translation>Contours Libres</translation>
+    </message>
+    <message>
+        <source>NUMBER_CLOSED</source>
+        <translation>Numéro de contours libres fermés</translation>
+    </message>
+    <message>
+        <source>NUMBER_OPEN</source>
+        <translation>Numéro de contours libres ouverts</translation>
+    </message>
+</context>
+<context>
+    <name>RepairGUI_GlueDlg</name>
+    <message>
+        <source>FACES_FOR_GLUING_ARE_DETECTED</source>
+        <translation>Il y a %1 face(s) à coller surlignées en couleur rouge.
+Fermez cette boîte d&apos;alerte et choisissez les faces à coller</translation>
+    </message>
+    <message>
+        <source>GLUE_FACES</source>
+        <translation>Coller les faces</translation>
+    </message>
+    <message>
+        <source>SELECT_FACES</source>
+        <translation>Choisir les Faces</translation>
+    </message>
+    <message>
+        <source>THERE_ARE_NO_FACES_FOR_GLUING</source>
+        <translation>Il n&apos;y a pas de Faces à Coller</translation>
+    </message>
+</context>
+<context>
+    <name>RepairGUI_ShapeProcessDlg</name>
+    <message>
+        <source>ERROR_NO_OBJECTS</source>
+        <translation>Choisissez un objet géométrique pour le traitement de forme.</translation>
+    </message>
+    <message>
+        <source>ERROR_NO_OPERATORS</source>
+        <translation>Choisissez au moins une opération de traitement de forme pour donner suite à l&apos;opération</translation>
+    </message>
+    <message>
+        <source>TIME_CONSUMING</source>
+        <translation>L&apos;activarion de cette option peut résulter en une perte de temps à l&apos;entrée de certaines formes.
+Voudriez-vous continuer?</translation>
+    </message>
+</context>
+<context>
+    <name>GEOMToolsGUI_DeleteDlg</name>
+    <message>
+        <source>GEOM_REALLY_DELETE</source>
+        <translation>Est-ce que vous voulez supprimer %1 objet(s)?</translation>
+    </message>
+    <message>
+        <source>GEOM_REALLY_DELETE_ALL</source>
+        <translation>Est-ce que vous voulez de supprimer tous les objets?</translation>
+    </message>
+    <message>
+        <source>GEOM_DELETE_OBJECTS</source>
+        <translation>Supprimer les objets</translation>
+    </message>
+</context>
+<context>
+    <name>GEOMToolsGUI_DeflectionDlg</name>
+    <message>
+        <source>GEOM_DEFLECTION_TLT</source>
+        <translation>Choisir la déflection d&apos;un Objet</translation>
+    </message>
+    <message>
+        <source>GEOM_DEFLECTION</source>
+        <translation>Déflection :</translation>
+    </message>
+</context>
+<context>
+    <name>GEOMToolsGUI_MarkerDlg</name>
+    <message>
+        <source>SET_MARKER_TLT</source>
+        <translation>Définir le Repère de Point</translation>
+    </message>
+    <message>
+        <source>STANDARD_MARKER</source>
+        <translation>Standard</translation>
+    </message>
+    <message>
+        <source>CUSTOM_MARKER</source>
+        <translation>Personnalisé</translation>
+    </message>
+    <message>
+        <source>TYPE</source>
+        <translation>Type:</translation>
+    </message>
+    <message>
+        <source>SCALE</source>
+        <translation>Echelle:</translation>
+    </message>
+    <message>
+        <source>CUSTOM</source>
+        <translation>Texture:</translation>
+    </message>
+    <message>
+        <source>BROWSE</source>
+        <translation>Naviguer...</translation>
+    </message>
+    <message>
+        <source>OK_BTN</source>
+        <translation>&amp;OK</translation>
+    </message>
+    <message>
+        <source>CANCEL_BTN</source>
+        <translation>A&amp;nnuler</translation>
+    </message>
+    <message>
+        <source>HELP_BTN</source>
+        <translation>&amp;Aide</translation>
+    </message>
+    <message>
+        <source>LOAD_TEXTURE_TLT</source>
+        <translation>Ouvrir une Texture</translation>
+    </message>
+</context>
+<context>
+    <name>AdvancedGUI_PipeTShapeDlg</name>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_TITLE</source>
+        <translation>Construction d&apos;un Tuyau TForme </translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE</source>
+        <translation>TuyauTForme</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_MPIPE</source>
+        <translation>Tuyau Principal</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_R</source>
+        <translation>Rayon</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_W</source>
+        <translation>Largeur</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_L</source>
+        <translation>Demi-longueur</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_IPIPE</source>
+        <translation>Tuyau Incident</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_CHAMFER</source>
+        <translation>Chanfrein</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_CHAMFER_H</source>
+        <translation>Hauteur</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_CHAMFER_W</source>
+        <translation>Largeur</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_FILLET</source>
+        <translation>Congé</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_HEX</source>
+        <translation>Préparer pour un maillage hexagonal</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION</source>
+        <translation>Définir la position</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_P1</source>
+        <translation>Jonction P1</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_P2</source>
+        <translation>Jonction P2</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_P3</source>
+        <translation>Jonction P3</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_LBL_L1</source>
+        <translation>Nouvelle L1</translation>
+    </message>
+    <message>
+        <source>GEOM_PIPE_TSHAPE_POSITION_LBL_L2</source>
+        <translation>Nouvelle L2</translation>
+    </message>
+</context>
 </TS>
index 1edeb1adad602384dd82f357b1165382b3dfdb3d..740792c7b4f6c7f8ed58de511c2ddee5919ef781 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+//  GEOM GEOMGUI : GUI for Geometry component
+//  File   : GeometryGUI.cxx
+//  Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
 
-// GEOM GEOMGUI : GUI for Geometry component
-// File   : GeometryGUI.cxx
-// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-//
 #include <Standard_math.hxx>  // E.A. must be included before Python.h to fix compilation on windows
 #include "Python.h"
 #include "GeometryGUI.h"
@@ -152,6 +151,17 @@ SALOMEDS::Study_var GeometryGUI::ClientStudyToStudy (_PTR(Study) theStudy)
   return aDSStudy._retn();
 }
 
+void GeometryGUI::Modified( bool theIsUpdateActions )
+{
+  if( SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( SUIT_Session::session()->activeApplication() ) ) {
+    if( SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() ) ) {
+      appStudy->Modified();
+      if( theIsUpdateActions )
+        app->updateActions();
+    }
+  }
+}
+
 //=======================================================================
 // function : GeometryGUI::GeometryGUI()
 // purpose  : Constructor
@@ -378,7 +388,11 @@ void GeometryGUI::OnGUIEvent( int id )
   case GEOMOp::OpDeflection:       // POPUP MENU - DEFLECTION COEFFICIENT
   case GEOMOp::OpColor:            // POPUP MENU - COLOR
   case GEOMOp::OpTransparency:     // POPUP MENU - TRANSPARENCY
+  case GEOMOp::OpIncrTransparency: // SHORTCUT   - INCREASE TRANSPARENCY
+  case GEOMOp::OpDecrTransparency: // SHORTCUT   - DECREASE TRANSPARENCY
   case GEOMOp::OpIsos:             // POPUP MENU - ISOS
+  case GEOMOp::OpIncrNbIsos:       // SHORTCUT   - INCREASE NB ISOS
+  case GEOMOp::OpDecrNbIsos:       // SHORTCUT   - DECREASE NB ISOS
   case GEOMOp::OpAutoColor:        // POPUP MENU - AUTO COLOR
   case GEOMOp::OpNoAutoColor:      // POPUP MENU - DISABLE AUTO COLOR
   case GEOMOp::OpShowChildren:     // POPUP MENU - SHOW CHILDREN
@@ -476,6 +490,7 @@ void GeometryGUI::OnGUIEvent( int id )
   case GEOMOp::OpFreeFaces:        // MENU MEASURE - FREE FACES
   case GEOMOp::OpOrientation:      // MENU REPAIR - CHANGE ORIENTATION
   case GEOMOp::OpGlueFaces:        // MENU REPAIR - GLUE FACES
+  case GEOMOp::OpLimitTolerance:   // MENU REPAIR - LIMIT TOLERANCE
   case GEOMOp::OpRemoveExtraEdges: // MENU REPAIR - REMOVE EXTRA EDGES
     libName = "RepairGUI";
     break;
@@ -572,7 +587,8 @@ void GeometryGUI::OnMousePress( SUIT_ViewWindow* w, QMouseEvent* e )
 // function : createGeomAction
 // purpose  :
 //=======================================================================
-void GeometryGUI::createGeomAction( const int id, const QString& label, const QString& icolabel, const int accel, const bool toggle  )
+void GeometryGUI::createGeomAction( const int id, const QString& label, const QString& icolabel, 
+                                   const int accel, const bool toggle, const QString& shortcutAction )
 {
   SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
   QPixmap icon = icolabel.isEmpty() ? resMgr->loadPixmap( "GEOM", tr( (QString( "ICO_" )+label).toLatin1().constData() ), false )
@@ -580,16 +596,17 @@ void GeometryGUI::createGeomAction( const int id, const QString& label, const QS
   createAction( id,
                tr( QString( "TOP_%1" ).arg( label ).toLatin1().constData() ),
                icon,
-               tr( QString( "MEN_%1" ).arg( label ).toLatin1().constData() ), 
+               tr( QString( "MEN_%1" ).arg( label ).toLatin1().constData() ),
                tr( QString( "STB_%1" ).arg( label ).toLatin1().constData() ),
                accel,
                application()->desktop(),
                toggle,
-               this, SLOT( OnGUIEvent() )  );
+               this, SLOT( OnGUIEvent() ),
+               shortcutAction );
 }
 
 //=======================================================================
-// function : createGeomAction
+// function : createOriginAndBaseVectors
 // purpose  :
 //=======================================================================
 void GeometryGUI::createOriginAndBaseVectors()
@@ -706,6 +723,7 @@ void GeometryGUI::initialize( CAM_Application* app )
 
   createGeomAction( GEOMOp::OpSewing,           "SEWING" );
   createGeomAction( GEOMOp::OpGlueFaces,        "GLUE_FACES" );
+  createGeomAction( GEOMOp::OpLimitTolerance,   "LIMIT_TOLERANCE" );
   createGeomAction( GEOMOp::OpSuppressFaces,    "SUPPRESS_FACES" );
   createGeomAction( GEOMOp::OpSuppressHoles,    "SUPPERSS_HOLES" );
   createGeomAction( GEOMOp::OpShapeProcess,     "SHAPE_PROCESS" );
@@ -765,8 +783,21 @@ void GeometryGUI::initialize( CAM_Application* app )
   createGeomAction( GEOMOp::OpShowChildren,     "POP_SHOW_CHILDREN" );
   createGeomAction( GEOMOp::OpHideChildren,     "POP_HIDE_CHILDREN" );
   createGeomAction( GEOMOp::OpPointMarker,      "POP_POINT_MARKER" );
-  
+
   createGeomAction( GEOMOp::OpPipeTShape, "PIPETSHAPE" );
+  
+  // Create actions for increase/decrease transparency shortcuts
+  createGeomAction( GEOMOp::OpIncrTransparency, "", "", 0, false, 
+                   "Geometry:Increase transparency");
+  createGeomAction( GEOMOp::OpDecrTransparency, "", "", 0, false, 
+                   "Geometry:Decrease transparency");
+
+  // Create actions for increase/decrease number of isolines
+  createGeomAction( GEOMOp::OpIncrNbIsos, "", "", 0, false, 
+                   "Geometry:Increase number of isolines");
+  createGeomAction( GEOMOp::OpDecrNbIsos, "", "", 0, false, 
+                   "Geometry:Decrease number of isolines");
+
 //   createGeomAction( GEOMOp::OpPipeTShapeGroups, "PIPETSHAPEGROUPS" );
   //@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@ do not remove this line @@ do not remove this line @@//
 
@@ -891,6 +922,7 @@ void GeometryGUI::initialize( CAM_Application* app )
   createMenu( GEOMOp::OpSuppressHoles,   repairId, -1 );
   createMenu( GEOMOp::OpSewing,          repairId, -1 );
   createMenu( GEOMOp::OpGlueFaces,       repairId, -1 );
+  createMenu( GEOMOp::OpLimitTolerance,  repairId, -1 );
   createMenu( GEOMOp::OpAddPointOnEdge,  repairId, -1 );
   //createMenu( GEOMOp::OpFreeBoundaries,  repairId, -1 );
   //createMenu( GEOMOp::OpFreeFaces,       repairId, -1 );
@@ -1089,7 +1121,7 @@ void GeometryGUI::initialize( CAM_Application* app )
   mgr->setRule( action( GEOMOp::OpDeflection ), "selcount>0 and isVisible and client='OCCViewer'", QtxPopupMgr::VisibleRule );
   mgr->insert( action(  GEOMOp::OpPointMarker ), -1, -1 ); // point marker
   //mgr->setRule( action( GEOMOp::OpPointMarker ), QString( "selcount>0 and $typeid in {%1}" ).arg(GEOM_POINT ), QtxPopupMgr::VisibleRule );
-  mgr->setRule( action( GEOMOp::OpPointMarker ), QString( "selcount>0 and $typeid in {%1}" ).arg(GEOM::VERTEX), QtxPopupMgr::VisibleRule );
+  mgr->setRule( action( GEOMOp::OpPointMarker ), QString( "selcount>0 and $typeid in {%1 %2}" ).arg(GEOM::VERTEX).arg(GEOM::COMPOUND), QtxPopupMgr::VisibleRule );
   mgr->insert( separator(), -1, -1 );     // -----------
   mgr->insert( action(  GEOMOp::OpAutoColor ), -1, -1 ); // auto color
   mgr->setRule( action( GEOMOp::OpAutoColor ), autoColorPrefix + " and isAutoColor=false", QtxPopupMgr::VisibleRule );
@@ -1210,7 +1242,7 @@ bool GeometryGUI::activateModule( SUIT_Study* study )
   SALOME_ListIO selected;
   sm->selectedObjects( selected );
   sm->clearSelected();
-  
+
   // disable OCC selectors
   getApp()->selectionMgr()->setEnabled( false, OCCViewer_Viewer::Type() );
   QListIterator<GEOMGUI_OCCSelector*> itOCCSel( myOCCSelectors );
@@ -1473,7 +1505,7 @@ void GeometryGUI::createPreferences()
   setPreferenceProperty( genGroup, "columns", 2 );
 
   int dispmode = addPreference( tr( "PREF_DISPLAY_MODE" ), genGroup,
-                                LightApp_Preferences::Selector, 
+                                LightApp_Preferences::Selector,
                                 "Geometry", "display_mode" );
 
   addPreference( tr( "PREF_SHADING_COLOR" ), genGroup,
@@ -1499,36 +1531,36 @@ void GeometryGUI::createPreferences()
 
   int defl = addPreference( tr( "PREF_DEFLECTION" ), genGroup,
                             LightApp_Preferences::DblSpin, "Geometry", "deflection_coeff" );
-  
+
   // Quantities with individual precision settings
   int precGroup = addPreference( tr( "GEOM_PREF_GROUP_PRECISION" ), tabId );
   setPreferenceProperty( precGroup, "columns", 2 );
-  
+
   const int nbQuantities = 8;
   int prec[nbQuantities], ii = 0;
   prec[ii++] = addPreference( tr( "GEOM_PREF_length_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "length_precision" );  
+                              LightApp_Preferences::IntSpin, "Geometry", "length_precision" );
   prec[ii++] = addPreference( tr( "GEOM_PREF_angle_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "angle_precision" );
+                              LightApp_Preferences::IntSpin, "Geometry", "angle_precision" );
   prec[ii++] = addPreference( tr( "GEOM_PREF_len_tol_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "len_tol_precision" );
+                              LightApp_Preferences::IntSpin, "Geometry", "len_tol_precision" );
   prec[ii++] = addPreference( tr( "GEOM_PREF_ang_tol_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "ang_tol_precision" );  
+                              LightApp_Preferences::IntSpin, "Geometry", "ang_tol_precision" );
   prec[ii++] = addPreference( tr( "GEOM_PREF_weight_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "weight_precision" ); 
+                              LightApp_Preferences::IntSpin, "Geometry", "weight_precision" );
   prec[ii++] = addPreference( tr( "GEOM_PREF_density_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "density_precision" );   
+                              LightApp_Preferences::IntSpin, "Geometry", "density_precision" );
   prec[ii++] = addPreference( tr( "GEOM_PREF_parametric_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "parametric_precision" );
+                              LightApp_Preferences::IntSpin, "Geometry", "parametric_precision" );
   prec[ii  ] = addPreference( tr( "GEOM_PREF_param_tol_precision" ), precGroup,
-                            LightApp_Preferences::IntSpin, "Geometry", "param_tol_precision" );  
-  
+                              LightApp_Preferences::IntSpin, "Geometry", "param_tol_precision" );
+
   // Set property for precision value for spinboxes
   for ( ii = 0; ii < nbQuantities; ii++ ){
     setPreferenceProperty( prec[ii], "min", -14 );
     setPreferenceProperty( prec[ii], "max", 14 );
     setPreferenceProperty( prec[ii], "precision", 2 );
-  }  
+  }
 
   int VertexGroup = addPreference( tr( "PREF_GROUP_VERTEX" ), tabId );
   setPreferenceProperty( VertexGroup, "columns", 2 );
index 613282d401d96eab0d5a042f1e7a48077712f529..ef5c054a898aa4b655acb19dfde4c2058028f171 100644 (file)
@@ -87,6 +87,8 @@ public:
   static CORBA::Object_var    ClientSObjectToObject (_PTR(SObject) theSObject);
   static SALOMEDS::Study_var  ClientStudyToStudy (_PTR(Study) theStudy);
 
+  static void                 Modified( bool = true );
+
   GEOM_Client&                GetShapeReader()    { return GEOM_Client::ShapeReader; }
   //GEOM_Client&                GetShapeReader()    { return myShapeReader; }
 
@@ -148,7 +150,8 @@ private:
   GEOMGUI*                    getLibrary( const QString& libraryName );
   void                        createGeomAction( const int id, const QString& po_id,
                                                 const QString& icon_id = QString(""),
-                                                const int key = 0, const bool toggle = false );
+                                                const int key = 0, const bool toggle = false,
+                                               const QString& shortcutAction = QString() );
   void                        createPopupItem( const int, const QString& clients, const QString& types,
                                                const bool isSingle = false, const int isVisible = -1,
                                                const bool isExpandAll = false, const bool isOCC = false,
index 311dbbe76e4c4a48bd8bf22a75d15573e75523b2..064d04fe0f1febe5c683ca129296996e5c8cdd53 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-
 //  File   : GeometryGUI_Operations.h
 //  Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-//
+
 #ifndef GEOMETRYGUI_OPERATIONS_H
 #define GEOMETRYGUI_OPERATIONS_H
 
@@ -41,10 +40,14 @@ namespace GEOMOp {
     OpDeflection        = 1200,   // POPUP MENU - DEFLECTION COEFFICIENT
     OpColor             = 1201,   // POPUP MENU - COLOR
     OpTransparency      = 1202,   // POPUP MENU - TRANSPARENCY
-    OpIsos              = 1203,   // POPUP MENU - ISOS
-    OpAutoColor         = 1204,   // POPUP MENU - AUTO COLOR
-    OpNoAutoColor       = 1205,   // POPUP MENU - DISABLE AUTO COLOR
-    OpPointMarker       = 1206,   // POPUP MENU - POINT MARKER
+    OpIncrTransparency  = 1203,   // SHORTCUT   - INCREASE TRANSPARENCY
+    OpDecrTransparency  = 1204,   // SHORTCUT   - DECREASE TRANSPARENCY
+    OpIsos              = 1205,   // POPUP MENU - ISOS
+    OpIncrNbIsos        = 1206,   // SHORTCUT   - INCREASE NB ISOS
+    OpDecrNbIsos        = 1207,   // SHORTCUT   - DECREASE NB ISOS
+    OpAutoColor         = 1208,   // POPUP MENU - AUTO COLOR
+    OpNoAutoColor       = 1209,   // POPUP MENU - DISABLE AUTO COLOR
+    OpPointMarker       = 1210,   // POPUP MENU - POINT MARKER
     OpShowChildren      = 1250,   // POPUP MENU - SHOW CHILDREN
     OpHideChildren      = 1251,   // POPUP MENU - HIDE CHILDREN
     OpRename            = 1252,   // POPUP MENU - RENAME
@@ -131,6 +134,7 @@ namespace GEOMOp {
     OpOrientation       = 4009,   // MENU REPAIR - CHANGE ORIENTATION
     OpGlueFaces         = 4010,   // MENU REPAIR - GLUE FACES
     OpRemoveExtraEdges  = 4011,   // MENU REPAIR - REMOVE EXTRA EDGES
+    OpLimitTolerance    = 4012,   // MENU REPAIR - LIMIT TOLERANCE
     // MeasureGUI ----------------//--------------------------------
     OpProperties        = 5000,   // MENU MEASURES - PROPERTIES
     OpCenterMass        = 5001,   // MENU MEASURES - CENTRE OF MASS
@@ -160,6 +164,6 @@ namespace GEOMOp {
 //     OpPipeTShapeGroups  = 10002,  // MENU NEW ENTITY - ADVANCED - PIPE TSHAPE GROUPS
     //@@ insert new functions before this line @@ do not remove this line @@//
   };
-} 
+}
 
 #endif // GEOMETRYGUI_OPERATIONS_H
index 5670d099b6c17b7bcebc21ebf5878a5ad80b1542..d59b07203200ee6c6cfedf9b1e1bc73dafe86378 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #include <Standard_Stream.hxx>
 
 #include <TopoDS_Iterator.hxx>
 #include <TopTools_IndexedMapOfShape.hxx>
 
+#include <TColStd_IndexedDataMapOfTransientTransient.hxx>
+#include <TNaming_CopyShape.hxx>
+#include <ShapeFix_ShapeTolerance.hxx>
+#include <ShapeFix_Shape.hxx>
+#include <BRepCheck_Analyzer.hxx>
+
 #include <Precision.hxx>
 
 #include <StdFail_NotDone.hxx>
@@ -126,6 +131,9 @@ Standard_Integer GEOMImpl_HealingDriver::Execute(TFunction_Logbook& log) const
   case CHANGE_ORIENTATION:
     ChangeOrientation(&HI, anOriginalShape, aShape);
     break;
+  case LIMIT_TOLERANCE:
+    LimitTolerance(&HI, anOriginalShape, aShape);
+    break;
   default:
     return 0;
   }
@@ -465,6 +473,36 @@ Standard_Boolean GEOMImpl_HealingDriver::ChangeOrientation (GEOMImpl_IHealing* t
   return aResult;
 }
 
+//=======================================================================
+//function : LimitTolerance
+//purpose  :
+//=======================================================================
+void GEOMImpl_HealingDriver::LimitTolerance (GEOMImpl_IHealing* theHI,
+                                             const TopoDS_Shape& theOriginalShape,
+                                             TopoDS_Shape& theOutShape) const
+{
+  Standard_Real aTol = theHI->GetTolerance();
+  if (aTol < Precision::Confusion())
+    aTol = Precision::Confusion();
+
+  // 1. Make a copy to prevent the original shape changes.
+  TopoDS_Shape aShapeCopy;
+  TColStd_IndexedDataMapOfTransientTransient aMapTShapes;
+  TNaming_CopyShape::CopyTool(theOriginalShape, aMapTShapes, aShapeCopy);
+
+  // 2. Limit tolerance.
+  ShapeFix_ShapeTolerance aSFT;
+  aSFT.LimitTolerance(aShapeCopy, aTol, aTol, TopAbs_SHAPE);
+
+  // 3. Fix obtained shape.
+  Handle(ShapeFix_Shape) aSfs = new ShapeFix_Shape (aShapeCopy);
+  aSfs->Perform();
+  theOutShape = aSfs->Shape();
+
+  BRepCheck_Analyzer ana (theOutShape, Standard_True);
+  if (!ana.IsValid())
+    StdFail_NotDone::Raise("Non valid shape result");
+}
 
 //=======================================================================
 //function :  GEOMImpl_HealingDriver_Type_
index 344cf770c6972ede94fed26b50ca3696eb6f3880..4e4b44b4999b0f6d1f8165806439f45f3f3b0d49 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-
 //  File   : GEOMImpl_HealingDriver.hxx
 //  Module : GEOMImpl
-//
+
 #ifndef _GEOMImpl_HealingDriver_HeaderFile
 #define _GEOMImpl_HealingDriver_HeaderFile
 
@@ -156,7 +155,7 @@ Standard_EXPORT ~GEOMImpl_HealingDriver() {};
  //
 Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_HealingDriver_Type_();
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_HealingDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_HealingDriver) == AType || TFunction_Driver::IsKind(AType)); } 
+Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_HealingDriver) == AType || TFunction_Driver::IsKind(AType)); }
 
 private:
 Standard_Boolean ShapeProcess  ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
@@ -167,7 +166,7 @@ Standard_Boolean RemoveHoles   ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS
 Standard_Boolean Sew           ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
 Standard_Boolean AddPointOnEdge( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
 Standard_Boolean ChangeOrientation( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-
+void             LimitTolerance( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
 
 };
 
index e1ecb47bdbcd1ded39affa5a95b8432658245d3c..9899fc5da7abfd429e192e843cd8ee107a35bfbc 100644 (file)
@@ -281,6 +281,10 @@ bool GEOMImpl_IAdvancedOperations::MakeGroups(Handle(GEOM_Object) theShape, int
   aShell->GetLastFunction()->SetDescription("");
   // Get the common shapes between shell and shape
   Handle(GEOM_Object) aCommonCompound = myBooleanOperations->MakeBoolean (theShape, aShell, 1); // MakeCommon
+  if (aCommonCompound.IsNull()) {
+    SetErrorCode(myBooleanOperations->GetErrorCode());
+    return false;
+  }
   aCommonCompound->GetLastFunction()->SetDescription("");
   // Explode the faces of common shapes => 3 faces
   Handle(TColStd_HSequenceOfTransient) aCommonFaces = myShapesOperations->MakeExplode(aCommonCompound, TopAbs_FACE, true);
@@ -316,34 +320,34 @@ bool GEOMImpl_IAdvancedOperations::MakeGroups(Handle(GEOM_Object) theShape, int
     
     //     Uncomment the following lines when GetInPlace bug is solved
     //     == BEGIN
-    //         Handle(GEOM_Object) aP1 = myBasicOperations->MakePointXYZ(-theL1, 0, 0);
-    //         Handle(GEOM_Object) aP2 = myBasicOperations->MakePointXYZ(-0, 0, theL2);
-    //         Handle(GEOM_Object) aP3 = myBasicOperations->MakePointXYZ(theL1, 0, 0);
-    //         aP1->GetLastFunction()->SetDescription("");
-    //         aP2->GetLastFunction()->SetDescription("");
-    //         aP3->GetLastFunction()->SetDescription("");
-    //         Handle(GEOM_Object) aV1 = myBasicOperations->MakeVectorDXDYDZ(-1, 0, 0);
-    //         Handle(GEOM_Object) aV2 = myBasicOperations->MakeVectorDXDYDZ(0, 0, 1);
-    //         Handle(GEOM_Object) aV3 = myBasicOperations->MakeVectorDXDYDZ(1, 0, 0);
-    //         aV1->GetLastFunction()->SetDescription("");
-    //         aV2->GetLastFunction()->SetDescription("");
-    //         aV3->GetLastFunction()->SetDescription("");
-    //         Handle(GEOM_Object) aPln1 = myBasicOperations->MakePlanePntVec(aP1, aV1, 2*(theR1+theW1+theL2));
-    //         Handle(GEOM_Object) aPln2 = myBasicOperations->MakePlanePntVec(aP2, aV2, 2*(theR2+theW2));
-    //         Handle(GEOM_Object) aPln3 = myBasicOperations->MakePlanePntVec(aP3, aV3, 2*(theR1+theW1+theL2));
-    //         aPln1->GetLastFunction()->SetDescription("");
-    //         aPln2->GetLastFunction()->SetDescription("");
-    //         aPln3->GetLastFunction()->SetDescription("");
-
-    //         BRepBuilderAPI_Transform aTransformation1(aPln1->GetValue(), aTrsf, Standard_False);
-    //         TopoDS_Shape aTrsf_Shape1 = aTransformation1.Shape();
-    //         aPln1->GetLastFunction()->SetValue(aTrsf_Shape1);
-    //         BRepBuilderAPI_Transform aTransformation2(aPln2->GetValue(), aTrsf, Standard_False);
-    //         TopoDS_Shape aTrsf_Shape2 = aTransformation2.Shape();
-    //         aPln2->GetLastFunction()->SetValue(aTrsf_Shape2);
-    //         BRepBuilderAPI_Transform aTransformation3(aPln3->GetValue(), aTrsf, Standard_False);
-    //         TopoDS_Shape aTrsf_Shape3 = aTransformation3.Shape();
-    //         aPln3->GetLastFunction()->SetValue(aTrsf_Shape3);
+//     Handle(GEOM_Object) aP1 = myBasicOperations->MakePointXYZ(-theL1, 0, 0);
+//     Handle(GEOM_Object) aP2 = myBasicOperations->MakePointXYZ(-0, 0, theL2);
+//     Handle(GEOM_Object) aP3 = myBasicOperations->MakePointXYZ(theL1, 0, 0);
+//     aP1->GetLastFunction()->SetDescription("");
+//     aP2->GetLastFunction()->SetDescription("");
+//     aP3->GetLastFunction()->SetDescription("");
+//     Handle(GEOM_Object) aV1 = myBasicOperations->MakeVectorDXDYDZ(-1, 0, 0);
+//     Handle(GEOM_Object) aV2 = myBasicOperations->MakeVectorDXDYDZ(0, 0, 1);
+//     Handle(GEOM_Object) aV3 = myBasicOperations->MakeVectorDXDYDZ(1, 0, 0);
+//     aV1->GetLastFunction()->SetDescription("");
+//     aV2->GetLastFunction()->SetDescription("");
+//     aV3->GetLastFunction()->SetDescription("");
+//     Handle(GEOM_Object) aPln1 = myBasicOperations->MakePlanePntVec(aP1, aV1, 2*(aR1Ext+theL2));
+//     Handle(GEOM_Object) aPln2 = myBasicOperations->MakePlanePntVec(aP2, aV2, 2*(aR2Ext));
+//     Handle(GEOM_Object) aPln3 = myBasicOperations->MakePlanePntVec(aP3, aV3, 2*(aR1Ext+theL2));
+//     aPln1->GetLastFunction()->SetDescription("");
+//     aPln2->GetLastFunction()->SetDescription("");
+//     aPln3->GetLastFunction()->SetDescription("");
+// 
+//     BRepBuilderAPI_Transform aTransformation1(aPln1->GetValue(), aTrsf, Standard_False);
+//     TopoDS_Shape aTrsf_Shape1 = aTransformation1.Shape();
+//     aPln1->GetLastFunction()->SetValue(aTrsf_Shape1);
+//     BRepBuilderAPI_Transform aTransformation2(aPln2->GetValue(), aTrsf, Standard_False);
+//     TopoDS_Shape aTrsf_Shape2 = aTransformation2.Shape();
+//     aPln2->GetLastFunction()->SetValue(aTrsf_Shape2);
+//     BRepBuilderAPI_Transform aTransformation3(aPln3->GetValue(), aTrsf, Standard_False);
+//     TopoDS_Shape aTrsf_Shape3 = aTransformation3.Shape();
+//     aPln3->GetLastFunction()->SetValue(aTrsf_Shape3);
     //     == END
     //
     
@@ -386,7 +390,10 @@ bool GEOMImpl_IAdvancedOperations::MakeGroups(Handle(GEOM_Object) theShape, int
       //        theSeq->Append(aPln3);
       //        return false;
     }
+  // Comment the following lines when GetInPlace bug is solved
+  // == BEGIN    
   }
+  //     == END
   /////////////////////////
   //// Groups of Edges ////
   /////////////////////////
@@ -510,7 +517,7 @@ bool GEOMImpl_IAdvancedOperations::MakeGroups(Handle(GEOM_Object) theShape, int
       }
       else if (nbEdges == 8) {
        incidentPipeFound = true;
-       mainPipeFound = false;
+       mainPipeFound = true;
        flangeFound = false;
           
        TopExp_Explorer Ex(aGroupShapeTrsfInv,TopAbs_VERTEX);
@@ -989,7 +996,12 @@ bool GEOMImpl_IAdvancedOperations::MakePipeTShapePartition(Handle(GEOM_Object) t
   }
   Te3->GetLastFunction()->SetDescription("");
 
-
+  // Last verification: result should be a block
+  std::list<GEOMImpl_IBlocksOperations::BCError> errList;
+  if (!myBlocksOperations->CheckCompoundOfBlocks(Te3,errList)) {
+    SetErrorCode("TShape is not a block");
+    return false;
+  }
   TopoDS_Shape aShape = Te3->GetValue();
   theShape->GetLastFunction()->SetValue(aShape);
     
@@ -1141,8 +1153,15 @@ GEOMImpl_IAdvancedOperations::MakePipeTShape(double theR1, double theW1, double
     /*
      * Get the groups: BEGIN
      */
-    if (!MakeGroups(aShape, TSHAPE_BASIC, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, gp_Trsf()))
+    try {
+      if (!MakeGroups(aShape, TSHAPE_BASIC, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, gp_Trsf()))
+        return NULL;
+    }
+    catch (Standard_Failure) {
+      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+      SetErrorCode(aFail->GetMessageString());
       return NULL;
+    }
 
     TCollection_AsciiString aListRes, anEntry;
     // Iterate over the sequence aSeq
@@ -1271,7 +1290,14 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeWithPosition(double theR1, double th
     //
     // Get the groups: BEGIN
     //
-    if (!MakeGroups(aShape,TSHAPE_BASIC, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, aTrsf)) {
+    try {
+      if (!MakeGroups(aShape,TSHAPE_BASIC, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, aTrsf)) {
+        return NULL;
+      }
+    }
+    catch (Standard_Failure) {
+      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+      SetErrorCode(aFail->GetMessageString());
       return NULL;
     }
 
@@ -1465,8 +1491,15 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeChamfer(double theR1, double theW1,
     //                    << ", " << theHexMesh << ")";
     //        }
     //        else {
-    if (!MakeGroups(aShape, TSHAPE_CHAMFER, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, gp_Trsf()))
+    try {
+      if (!MakeGroups(aShape, TSHAPE_CHAMFER, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, gp_Trsf()))
+        return NULL;
+    }
+    catch (Standard_Failure) {
+      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+      SetErrorCode(aFail->GetMessageString());
       return NULL;
+    }
 
     TCollection_AsciiString aListRes, anEntry;
     // Iterate over the sequence aSeq
@@ -1658,8 +1691,15 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeChamferWithPosition(double theR1, do
     /*
      * Get the groups: BEGIN
      */
-    if (!MakeGroups(aShape, TSHAPE_CHAMFER, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, aTrsf))
+    try {
+      if (!MakeGroups(aShape, TSHAPE_CHAMFER, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, aTrsf))
+        return NULL;
+    }
+    catch (Standard_Failure) {
+      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+      SetErrorCode(aFail->GetMessageString());
       return NULL;
+    }
 
     TCollection_AsciiString aListRes, anEntry;
     // Iterate over the sequence aSeq
@@ -1808,7 +1848,8 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeFillet(double theR1, double theW1, d
     return NULL;
   }
   if (aFillet.IsNull()) {
-    SetErrorCode("Fillet can not be computed on the given shape with the given parameters");
+//     SetErrorCode("Fillet can not be computed on the given shape with the given parameters");
+    SetErrorCode(myLocalOperations->GetErrorCode());
     return NULL;
   }
   aFillet->GetLastFunction()->SetDescription("");
@@ -1830,8 +1871,15 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeFillet(double theR1, double theW1, d
     /*
      * Get the groups: BEGIN
      */
-    if (!MakeGroups(aShape, TSHAPE_FILLET, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, gp_Trsf()))
+    try {
+      if (!MakeGroups(aShape, TSHAPE_FILLET, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, gp_Trsf()))
+        return NULL;
+    }
+    catch (Standard_Failure) {
+      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+      SetErrorCode(aFail->GetMessageString());
       return NULL;
+    }
 
     TCollection_AsciiString aListRes, anEntry;
     // Iterate over the sequence aSeq
@@ -2022,8 +2070,15 @@ GEOMImpl_IAdvancedOperations::MakePipeTShapeFilletWithPosition(double theR1, dou
     /*
      * Get the groups: BEGIN
      */
-    if (!MakeGroups(aShape, TSHAPE_FILLET, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, aTrsf))
+    try {
+      if (!MakeGroups(aShape, TSHAPE_FILLET, theR1, theW1, theL1, theR2, theW2, theL2, aSeq, aTrsf))
+        return NULL;
+    }
+    catch (Standard_Failure) {
+      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+      SetErrorCode(aFail->GetMessageString());
       return NULL;
+    }
 
     TCollection_AsciiString aListRes, anEntry;
     // Iterate over the sequence aSeq
index 3aeca30083d730350ee13eda680200259a087b26..b4c4ebd77966e4ed495a393afc717d14135a605a 100644 (file)
@@ -569,6 +569,81 @@ Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetPoint
   return aResult;
 }
 
+//=============================================================================
+/*!
+ *  GetVertexNearPoint
+ */
+//=============================================================================
+Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetVertexNearPoint
+                                               (Handle(GEOM_Object) theShape,
+                                                Handle(GEOM_Object) thePoint)
+{
+  SetErrorCode(KO);
+
+  // New Point object
+  Handle(GEOM_Object) aResult;
+
+  // Arguments
+  if (theShape.IsNull() || thePoint.IsNull()) return NULL;
+
+  TopoDS_Shape aBlockOrComp = theShape->GetValue();
+  TopoDS_Shape aPoint       = thePoint->GetValue();
+  if (aBlockOrComp.IsNull() || aPoint.IsNull()) {
+    SetErrorCode("Given shape is null");
+    return NULL;
+  }
+
+  if (aPoint.ShapeType() != TopAbs_VERTEX) {
+    SetErrorCode("Element for vertex identification is not a vertex");
+    return NULL;
+  }
+
+  TopoDS_Vertex aVert = TopoDS::Vertex(aPoint);
+  gp_Pnt aP = BRep_Tool::Pnt(aVert);
+
+  // Compute the Vertex value
+  TopoDS_Shape V;
+  bool isFound = false;
+  Standard_Real aDist = RealLast();
+  TopTools_MapOfShape mapShape;
+
+  TopExp_Explorer exp (aBlockOrComp, TopAbs_VERTEX);
+  for (; exp.More(); exp.Next()) {
+    if (mapShape.Add(exp.Current())) {
+      TopoDS_Vertex aVi = TopoDS::Vertex(exp.Current());
+      gp_Pnt aPi = BRep_Tool::Pnt(aVi);
+      Standard_Real aDisti = aPi.Distance(aP);
+      if (aDisti < aDist) {
+        V = aVi;
+        aDist = aDisti;
+        isFound = true;
+      }
+    }
+  }
+
+  if (!isFound) {
+    SetErrorCode("Vertex has not been found");
+    return NULL;
+  }
+
+  TopTools_IndexedMapOfShape anIndices;
+  TopExp::MapShapes(aBlockOrComp, anIndices);
+  Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
+  anArray->SetValue(1, anIndices.FindIndex(V));
+  aResult = GetEngine()->AddSubShape(theShape, anArray);
+
+  // The GetPoint() doesn't change object so no new function is required.
+  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
+
+  // Make a Python command
+  GEOM::TPythonDump(aFunction, /*append=*/true)
+    << aResult << " = geompy.GetVertexNearPoint("
+    << theShape << ", " << thePoint << ")";
+
+  SetErrorCode(OK);
+  return aResult;
+}
+
 //=============================================================================
 /*!
  *  GetEdge
@@ -1458,6 +1533,136 @@ Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetFaceByNormale
   return aResult;
 }
 
+//=============================================================================
+/*!
+ *  GetShapesNearPoint
+ */
+//=============================================================================
+Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetShapesNearPoint
+                                         (Handle(GEOM_Object)    theShape,
+                                          Handle(GEOM_Object)    thePoint,
+                                          const Standard_Integer theShapeType,
+                                          const Standard_Real    theTolerance)
+{
+  SetErrorCode(KO);
+
+  // New object
+  Handle(GEOM_Object) aResult;
+
+  // Arguments
+  if (theShape.IsNull() || thePoint.IsNull()) return NULL;
+
+  TopoDS_Shape aBlockOrComp = theShape->GetValue();
+  if (aBlockOrComp.IsNull()) {
+    SetErrorCode("Block or compound is null");
+    return NULL;
+  }
+
+  TopoDS_Shape anArg = thePoint->GetValue();
+  if (anArg.IsNull()) {
+    SetErrorCode("Null shape is given as argument");
+    return NULL;
+  }
+  if (anArg.ShapeType() != TopAbs_VERTEX) {
+    SetErrorCode("Element for face identification is not a vertex");
+    return NULL;
+  }
+
+  if (theShapeType < TopAbs_SOLID || TopAbs_VERTEX < theShapeType) {
+    SetErrorCode("Invalid type of result is requested");
+    return NULL;
+  }
+
+  if (theTolerance < Precision::Confusion()) {
+    theTolerance == Precision::Confusion();
+  }
+
+  // Compute the result
+  try {
+#if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
+    OCC_CATCH_SIGNALS;
+#endif
+    TopoDS_Vertex aVert = TopoDS::Vertex(anArg);
+
+    TopTools_MapOfShape mapShape;
+    Standard_Integer nbEdges = 0;
+    TopExp_Explorer exp (aBlockOrComp, TopAbs_ShapeEnum(theShapeType));
+    for (; exp.More(); exp.Next()) {
+      if (mapShape.Add(exp.Current())) {
+        nbEdges++;
+      }
+    }
+
+    if (nbEdges == 0) {
+      SetErrorCode("Given shape contains no subshapes of requested type");
+      return NULL;
+    }
+
+    // Calculate distances and find min
+    mapShape.Clear();
+    Standard_Integer ind = 1;
+    Standard_Real aMinDist = RealLast();
+    TopTools_Array1OfShape anEdges (1, nbEdges);
+    TColStd_Array1OfReal aDistances (1, nbEdges);
+    for (exp.Init(aBlockOrComp, TopAbs_ShapeEnum(theShapeType)); exp.More(); exp.Next()) {
+      if (mapShape.Add(exp.Current())) {
+        TopoDS_Shape anEdge = exp.Current();
+        anEdges(ind) = anEdge;
+
+        BRepExtrema_DistShapeShape aDistTool (aVert, anEdges(ind));
+        if (!aDistTool.IsDone()) {
+          SetErrorCode("Can not find a distance from the given point to one of subshapes");
+          return NULL;
+        }
+        aDistances(ind) = aDistTool.Value();
+        if (aDistances(ind) < aMinDist) {
+          aMinDist = aDistances(ind);
+        }
+        ind++;
+      }
+    }
+
+    if (aMinDist < RealLast()) {
+      // Collect subshapes with distance < (aMinDist + theTolerance)
+      int nbSubShapes = 0;
+      TopTools_Array1OfShape aNearShapes (1, nbEdges);
+      for (ind = 1; ind <= nbEdges; ind++) {
+        if (aDistances(ind) < aMinDist + theTolerance) {
+          nbSubShapes++;
+          aNearShapes(nbSubShapes) = anEdges(ind);
+        }
+      }
+
+      // Add subshape
+      TopTools_IndexedMapOfShape anIndices;
+      TopExp::MapShapes(aBlockOrComp, anIndices);
+      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger (1, nbSubShapes);
+      for (ind = 1; ind <= nbSubShapes; ind++) {
+        anArray->SetValue(ind, anIndices.FindIndex(aNearShapes(ind)));
+      }
+      aResult = GetEngine()->AddSubShape(theShape, anArray);
+    }
+  }
+  catch (Standard_Failure) {
+    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+    SetErrorCode(aFail->GetMessageString());
+    return NULL;
+  }
+
+  if (aResult.IsNull())
+    return NULL;
+
+  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
+
+  //Make a Python command
+  GEOM::TPythonDump(aFunction)
+    << aResult << " = geompy.GetShapesNearPoint(" << theShape << ", " << thePoint
+    << ", " << TopAbs_ShapeEnum(theShapeType) << ", " << theTolerance << ")";
+
+  SetErrorCode(OK);
+  return aResult;
+}
+
 //=============================================================================
 /*!
  *  IsCompoundOfBlocks
index c5ce211517d37a515691e05a1461e5209b0e42f2..43caa588349f8dbe3390b25869fd74fbec5fcd87 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #ifndef _GEOMImpl_IBlocksOperations_HXX_
 #define _GEOMImpl_IBlocksOperations_HXX_
@@ -41,68 +40,76 @@ class GEOMImpl_IBlocksOperations : public GEOM_IOperations {
 
   // Creation of blocks and block faces
   Standard_EXPORT Handle(GEOM_Object) MakeQuad (Handle(GEOM_Object) theEdge1,
-                                Handle(GEOM_Object) theEdge2,
-                                Handle(GEOM_Object) theEdge3,
-                                Handle(GEOM_Object) theEdge4);
+                                                Handle(GEOM_Object) theEdge2,
+                                                Handle(GEOM_Object) theEdge3,
+                                                Handle(GEOM_Object) theEdge4);
 
   Standard_EXPORT Handle(GEOM_Object) MakeQuad2Edges (Handle(GEOM_Object) theEdge1,
-                                      Handle(GEOM_Object) theEdge2);
+                                                      Handle(GEOM_Object) theEdge2);
 
   Standard_EXPORT Handle(GEOM_Object) MakeQuad4Vertices (Handle(GEOM_Object) thePoint1,
-                                         Handle(GEOM_Object) thePoint2,
-                                         Handle(GEOM_Object) thePoint3,
-                                         Handle(GEOM_Object) thePoint4);
+                                                         Handle(GEOM_Object) thePoint2,
+                                                         Handle(GEOM_Object) thePoint3,
+                                                         Handle(GEOM_Object) thePoint4);
 
   Standard_EXPORT Handle(GEOM_Object) MakeHexa (Handle(GEOM_Object) theFace1,
-                                Handle(GEOM_Object) theFace2,
-                                Handle(GEOM_Object) theFace3,
-                                Handle(GEOM_Object) theFace4,
-                                Handle(GEOM_Object) theFace5,
-                                Handle(GEOM_Object) theFace6);
+                                                Handle(GEOM_Object) theFace2,
+                                                Handle(GEOM_Object) theFace3,
+                                                Handle(GEOM_Object) theFace4,
+                                                Handle(GEOM_Object) theFace5,
+                                                Handle(GEOM_Object) theFace6);
 
   Standard_EXPORT Handle(GEOM_Object) MakeHexa2Faces (Handle(GEOM_Object) theFace1,
-                                      Handle(GEOM_Object) theFace2);
+                                                      Handle(GEOM_Object) theFace2);
 
   Standard_EXPORT Handle(GEOM_Object) MakeBlockCompound (Handle(GEOM_Object) theCompound);
 
   // Extract elements of blocks and blocks compounds
   Standard_EXPORT Handle(GEOM_Object) GetPoint (Handle(GEOM_Object) theShape,
-                                const Standard_Real theX,
-                                const Standard_Real theY,
-                                const Standard_Real theZ,
-                                const Standard_Real theEpsilon);
+                                                const Standard_Real theX,
+                                                const Standard_Real theY,
+                                                const Standard_Real theZ,
+                                                const Standard_Real theEpsilon);
+
+  Standard_EXPORT Handle(GEOM_Object) GetVertexNearPoint (Handle(GEOM_Object) theShape,
+                                                          Handle(GEOM_Object) thePoint);
 
   Standard_EXPORT Handle(GEOM_Object) GetEdge (Handle(GEOM_Object) theShape,
-                               Handle(GEOM_Object) thePoint1,
-                               Handle(GEOM_Object) thePoint2);
+                                               Handle(GEOM_Object) thePoint1,
+                                               Handle(GEOM_Object) thePoint2);
 
   Standard_EXPORT Handle(GEOM_Object) GetEdgeNearPoint (Handle(GEOM_Object) theBlock,
-                                        Handle(GEOM_Object) thePoint);
+                                                        Handle(GEOM_Object) thePoint);
 
   Standard_EXPORT Handle(GEOM_Object) GetFaceByPoints (Handle(GEOM_Object) theShape,
-                                       Handle(GEOM_Object) thePoint1,
-                                       Handle(GEOM_Object) thePoint2,
-                                       Handle(GEOM_Object) thePoint3,
-                                       Handle(GEOM_Object) thePoint4);
+                                                       Handle(GEOM_Object) thePoint1,
+                                                       Handle(GEOM_Object) thePoint2,
+                                                       Handle(GEOM_Object) thePoint3,
+                                                       Handle(GEOM_Object) thePoint4);
 
   Standard_EXPORT Handle(GEOM_Object) GetFaceByEdges (Handle(GEOM_Object) theShape,
-                                      Handle(GEOM_Object) theEdge1,
-                                      Handle(GEOM_Object) theEdge2);
+                                                      Handle(GEOM_Object) theEdge1,
+                                                      Handle(GEOM_Object) theEdge2);
 
   Standard_EXPORT Handle(GEOM_Object) GetOppositeFace (Handle(GEOM_Object) theBlock,
-                                       Handle(GEOM_Object) theFace);
+                                                       Handle(GEOM_Object) theFace);
 
   Standard_EXPORT Handle(GEOM_Object) GetFaceNearPoint (Handle(GEOM_Object) theBlock,
-                                        Handle(GEOM_Object) thePoint);
+                                                        Handle(GEOM_Object) thePoint);
 
   Standard_EXPORT Handle(GEOM_Object) GetFaceByNormale (Handle(GEOM_Object) theBlock,
-                                        Handle(GEOM_Object) theVector);
+                                                        Handle(GEOM_Object) theVector);
+
+  Standard_EXPORT Handle(GEOM_Object) GetShapesNearPoint (Handle(GEOM_Object)    theShape,
+                                                          Handle(GEOM_Object)    thePoint,
+                                                          const Standard_Integer theShapeType,
+                                                          const Standard_Real    theTolerance);
 
   // Check blocks compounds
   Standard_EXPORT Standard_Boolean IsCompoundOfBlocks (Handle(GEOM_Object)    theCompound,
-                                       const Standard_Integer theMinNbFaces,
-                                       const Standard_Integer theMaxNbFaces,
-                                       Standard_Integer&      theNbBlocks);
+                                                       const Standard_Integer theMinNbFaces,
+                                                       const Standard_Integer theMaxNbFaces,
+                                                       Standard_Integer&      theNbBlocks);
 
   enum BCErrorType {
     NOT_BLOCK,
@@ -118,13 +125,13 @@ class GEOMImpl_IBlocksOperations : public GEOM_IOperations {
   };
 
   Standard_EXPORT Standard_Boolean CheckCompoundOfBlocksOld (Handle(GEOM_Object) theCompound,
-                                             std::list<BCError>&      theErrors);
+                                                             std::list<BCError>&      theErrors);
 
   Standard_EXPORT Standard_Boolean CheckCompoundOfBlocks (Handle(GEOM_Object) theCompound,
-                                          std::list<BCError>&      theErrors);
+                                                          std::list<BCError>&      theErrors);
 
   Standard_EXPORT TCollection_AsciiString PrintBCErrors (Handle(GEOM_Object)  theCompound,
-                                         const std::list<BCError>& theErrors);
+                                                         const std::list<BCError>& theErrors);
 
   Standard_EXPORT Handle(GEOM_Object) RemoveExtraEdges (Handle(GEOM_Object) theShape,
                                                         const Standard_Integer theOptimumNbFaces = 6);
@@ -132,9 +139,9 @@ class GEOMImpl_IBlocksOperations : public GEOM_IOperations {
   Standard_EXPORT Handle(GEOM_Object) CheckAndImprove (Handle(GEOM_Object) theCompound);
 
   Standard_EXPORT static void AddBlocksFrom (const TopoDS_Shape&   theShape,
-                             TopTools_ListOfShape& BLO,
-                             TopTools_ListOfShape& NOT,
-                             TopTools_ListOfShape& EXT);
+                                             TopTools_ListOfShape& BLO,
+                                             TopTools_ListOfShape& NOT,
+                                             TopTools_ListOfShape& EXT);
 
   // Extract blocks from blocks compounds
   Standard_EXPORT Handle(TColStd_HSequenceOfTransient) ExplodeCompoundOfBlocks
@@ -143,7 +150,7 @@ class GEOMImpl_IBlocksOperations : public GEOM_IOperations {
                                        const Standard_Integer theMaxNbFaces);
 
   Standard_EXPORT Handle(GEOM_Object) GetBlockNearPoint (Handle(GEOM_Object) theCompound,
-                                         Handle(GEOM_Object) thePoint);
+                                                         Handle(GEOM_Object) thePoint);
 
   Standard_EXPORT Handle(GEOM_Object) GetBlockByParts
                      (Handle(GEOM_Object)                         theCompound,
@@ -155,17 +162,17 @@ class GEOMImpl_IBlocksOperations : public GEOM_IOperations {
 
   // Operations on blocks with gluing of result
   Standard_EXPORT Handle(GEOM_Object) MakeMultiTransformation1D (Handle(GEOM_Object)    theBlock,
-                                                 const Standard_Integer theDirFace1,
-                                                 const Standard_Integer theDirFace2,
-                                                 const Standard_Integer theNbTimes);
+                                                                 const Standard_Integer theDirFace1,
+                                                                 const Standard_Integer theDirFace2,
+                                                                 const Standard_Integer theNbTimes);
 
   Standard_EXPORT Handle(GEOM_Object) MakeMultiTransformation2D (Handle(GEOM_Object)    theBlock,
-                                                 const Standard_Integer theDirFace1U,
-                                                 const Standard_Integer theDirFace2U,
-                                                 const Standard_Integer theNbTimesU,
-                                                 const Standard_Integer theDirFace1V,
-                                                 const Standard_Integer theDirFace2V,
-                                                 const Standard_Integer theNbTimesV);
+                                                                 const Standard_Integer theDirFace1U,
+                                                                 const Standard_Integer theDirFace2U,
+                                                                 const Standard_Integer theNbTimesU,
+                                                                 const Standard_Integer theDirFace1V,
+                                                                 const Standard_Integer theDirFace2V,
+                                                                 const Standard_Integer theNbTimesV);
 
   // Build groups for Propagation of 1D hypotheses
   Standard_EXPORT Handle(TColStd_HSequenceOfTransient) Propagate (Handle(GEOM_Object) theShape);
index 0d7ce44353e22eac4837cbe4bfa8ee6a0175524e..cf81ed23c84d85a8e4b2e4748f05b2f233549665 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #include <Standard_Stream.hxx>
 
index 07252ac76e7ccc3166401ee730885e5376f4e18a..5a9d264555a9974bb866633439d50e4f96fbf4c7 100755 (executable)
@@ -19,9 +19,8 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+//  NOTE: This is an intreface to a function for the Healing creation.
 
-//NOTE: This is an intreface to a function for the Healing creation.
-//
 #include "GEOM_Function.hxx"
 
 #include <TColStd_HArray1OfInteger.hxx>
@@ -76,7 +75,7 @@ public:
 
   void SetIndex( Standard_Integer val ) { _func->SetInteger(ARG_SUBSHAPE_INDEX, val); }
   Standard_Integer GetIndex() { return _func->GetInteger(ARG_SUBSHAPE_INDEX); }
-            
+
 private:
-  Handle(GEOM_Function) _func;  
+  Handle(GEOM_Function) _func;
 };
index d78c82d4ee5ccaa0da22bf5068504fd483b1f54e..e19acd19ad31bbda170483c3548876f657cfa6be 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #ifdef WNT
 #pragma warning( disable:4786 )
@@ -864,7 +863,6 @@ Handle(GEOM_Object) GEOMImpl_IHealingOperations::ChangeOrientation (Handle(GEOM_
   return theObject;
 }
 
-
 //=============================================================================
 /*!
  *  ChangeOrientationCopy
@@ -921,3 +919,62 @@ Handle(GEOM_Object) GEOMImpl_IHealingOperations::ChangeOrientationCopy (Handle(G
   SetErrorCode(OK);
   return aNewObject;
 }
+
+//=============================================================================
+/*!
+ *  LimitTolerance
+ */
+//=============================================================================
+Handle(GEOM_Object) GEOMImpl_IHealingOperations::LimitTolerance (Handle(GEOM_Object) theObject,
+                                                                 double theTolerance)
+{
+  // Set error code, check parameters
+  SetErrorCode(KO);
+
+  if (theObject.IsNull())
+    return NULL;
+
+  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
+  if (aLastFunction.IsNull())
+    return NULL; // There is no function which creates an object to be processed
+
+  // Add a new object
+  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject(GetDocID(), theObject->GetType());
+
+  // Add the function
+  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), LIMIT_TOLERANCE);
+
+  if (aFunction.IsNull())
+    return NULL;
+
+  // Check if the function is set correctly
+  if (aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
+
+  // Prepare "data container" class IHealing
+  GEOMImpl_IHealing HI (aFunction);
+  HI.SetOriginal(aLastFunction);
+  HI.SetTolerance(theTolerance);
+
+  // Compute
+  try {
+#if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
+    OCC_CATCH_SIGNALS;
+#endif
+    if (!GetSolver()->ComputeFunction(aFunction)) {
+      SetErrorCode("Healing driver failed");
+      return NULL;
+    }
+  }
+  catch (Standard_Failure) {
+    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+    SetErrorCode(aFail->GetMessageString());
+    return NULL;
+  }
+
+  // Make a Python command
+  GEOM::TPythonDump(aFunction) << aNewObject << " = geompy.LimitTolerance("
+                               << theObject << ", " << theTolerance << ")";
+
+  SetErrorCode(OK);
+  return aNewObject;
+}
index aafa9687dd6641d98df7fdaac1252227e8ca5ad8..064194fdd8c1c5869605ebfc09511b948632f585 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #ifndef _GEOMImpl_IHealingOperations_HXX_
 #define _GEOMImpl_IHealingOperations_HXX_
@@ -39,9 +38,9 @@ class GEOMImpl_IHealingOperations : public GEOM_IOperations {
 
   // Apply Shape Processing to the selected Object
   Standard_EXPORT Handle(GEOM_Object) ShapeProcess( Handle(GEOM_Object) theObject,
-                                    const Handle(TColStd_HArray1OfExtendedString)& theOperations,
-                                    const Handle(TColStd_HArray1OfExtendedString)& theParams,
-                                    const Handle(TColStd_HArray1OfExtendedString)& theValues );
+                            const Handle(TColStd_HArray1OfExtendedString)& theOperations,
+                            const Handle(TColStd_HArray1OfExtendedString)& theParams,
+                            const Handle(TColStd_HArray1OfExtendedString)& theValues );
 
   // Retrieve default Shape Process parameters (from resource file)
   Standard_EXPORT void GetShapeProcessParameters( std::list<std::string>& theOperations,
@@ -49,12 +48,13 @@ class GEOMImpl_IHealingOperations : public GEOM_IOperations {
                                                   std::list<std::string>& theValues );
 
   // Retrieve default Shape Process parameters for given operator
-  Standard_EXPORT bool GetOperatorParameters( const std::string theOperation, 
+  Standard_EXPORT bool GetOperatorParameters( const std::string theOperation,
                                               std::list<std::string>& theParams,
                                               std::list<std::string>& theValues );
 
   // returns all parameters that are valid for the given operation (Shape Process operator)
-  Standard_EXPORT static bool GetParameters( const std::string theOperation, std::list<std::string>& theParams );
+  Standard_EXPORT static bool GetParameters( const std::string theOperation,
+                                             std::list<std::string>& theParams );
 
   Standard_EXPORT Handle(GEOM_Object) SuppressFaces( Handle(GEOM_Object) theObject,
                                      const Handle(TColStd_HArray1OfInteger)& theFaces);
@@ -68,25 +68,28 @@ class GEOMImpl_IHealingOperations : public GEOM_IOperations {
 
   Standard_EXPORT Handle(GEOM_Object) FillHoles( Handle(GEOM_Object) theObject,
                                  const Handle(TColStd_HArray1OfInteger)& theWires);
-                                      
+
   Standard_EXPORT Handle(GEOM_Object) Sew( Handle(GEOM_Object) theObject,
                            double theTolerance );
 
   Standard_EXPORT Handle(GEOM_Object) DivideEdge( Handle(GEOM_Object) theObject,
-                                  int theIndex,  
-                                  double theValue,
-                                  bool isByParameter );
+                                                  int theIndex,
+                                                  double theValue,
+                                                  bool isByParameter );
 
   // this function does not use Function-Driver mechanism, it just computes the free
   // boundary edges and returns them in the sequence.  It is called just for information reasons
   // and it's not intended for history/undo/redo/etc..
-  Standard_EXPORT bool GetFreeBoundary ( Handle(GEOM_Object) theObject, 
-                         Handle(TColStd_HSequenceOfTransient)& theOutClosedWires, 
+  Standard_EXPORT bool GetFreeBoundary ( Handle(GEOM_Object) theObject,
+                         Handle(TColStd_HSequenceOfTransient)& theOutClosedWires,
                          Handle(TColStd_HSequenceOfTransient)& theOutOpenWires );
 
   Standard_EXPORT Handle(GEOM_Object) ChangeOrientation( Handle(GEOM_Object) theObject);
   Standard_EXPORT Handle(GEOM_Object) ChangeOrientationCopy( Handle(GEOM_Object) theObject);
 
+  Standard_EXPORT Handle(GEOM_Object) LimitTolerance( Handle(GEOM_Object) theObject,
+                                                      double theTolerance );
+
 };
 
 #endif
index 520b136807bec2e1174737c10d2d9b7c057d38bf..202a02f44d01371b0bdf0f3e17479e4a33e21ffe 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-
 // File      : GEOMImpl_IShapesOperations.cxx
 // Created   :
 // Author    : modified by Lioka RAZAFINDRAZAKA (CEA) 22/06/2007
 // Project   : SALOME
 // $Header$
-//
+
 #include <Standard_Stream.hxx>
 
 #include "GEOMImpl_IShapesOperations.hxx"
@@ -66,6 +65,7 @@
 #include <TFunction_Logbook.hxx>
 #include <TDataStd_Integer.hxx>
 #include <TDataStd_IntegerArray.hxx>
+#include <TDataStd_ListIteratorOfListOfExtendedString.hxx>
 #include <TDF_Tool.hxx>
 
 #include <BRepExtrema_ExtCF.hxx>
@@ -803,6 +803,70 @@ Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeGlueFacesByList
   return aGlued;
 }
 
+//=============================================================================
+/*!
+ *  GetExistingSubObjects
+ */
+//=============================================================================
+Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetExistingSubObjects
+                                          (Handle(GEOM_Object)    theShape,
+                                           const Standard_Boolean theGroupsOnly)
+{
+  SetErrorCode(KO);
+
+  if (theShape.IsNull()) return NULL;
+
+  Handle(GEOM_Function) aMainShape = theShape->GetLastFunction();
+  if (aMainShape.IsNull()) return NULL;
+
+  Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
+  SetErrorCode(NOT_FOUND_ANY);
+
+  if (!aMainShape->HasSubShapeReferences()) return aSeq;
+  const TDataStd_ListOfExtendedString& aListEntries = aMainShape->GetSubShapeReferences();
+  if (aListEntries.IsEmpty()) return aSeq;
+
+  SetErrorCode(KO);
+
+  TCollection_AsciiString anAsciiList;
+
+  TDataStd_ListIteratorOfListOfExtendedString anIt (aListEntries);
+  for (; anIt.More(); anIt.Next()) {
+    TCollection_ExtendedString anEntry = anIt.Value();
+    Standard_Integer aStrLen = anEntry.LengthOfCString();
+    char* anEntryStr = new char[aStrLen];
+    anEntry.ToUTF8CString(anEntryStr);
+    Handle(GEOM_Object) anObj = GetEngine()->GetObject(GetDocID(), anEntryStr, false);
+    if (!anObj.IsNull()) {
+      if (!theGroupsOnly || anObj->GetType() == GEOM_GROUP) {
+        aSeq->Append(anObj);
+
+        // for python command
+        anAsciiList += anEntryStr;
+        anAsciiList += ",";
+      }
+    }
+    delete [] anEntryStr;
+  }
+
+  if (aSeq->Length() == 0) {
+    SetErrorCode(NOT_FOUND_ANY);
+    return aSeq;
+  }
+
+  //Make a Python command
+  anAsciiList.Trunc(anAsciiList.Length() - 1);
+
+  GEOM::TPythonDump pd (aMainShape, /*append=*/true);
+  pd << "[" << anAsciiList.ToCString();
+  pd << "] = geompy.GetExistingSubObjects(";
+  pd << theShape << ", " << (int)theGroupsOnly << ")";
+
+  SetErrorCode(OK);
+
+  return aSeq;
+}
+
 //=============================================================================
 /*!
  *  MakeExplode
@@ -1941,9 +2005,31 @@ Handle(TColStd_HSequenceOfInteger)
     return aSeqOfIDs;
   }
 
+  // BEGIN: Mantis issue 0020961: Error on a pipe T-Shape
+  // Compute tolerance
+  Standard_Real T, VertMax = -RealLast();
+  try {
+#if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
+    OCC_CATCH_SIGNALS;
+#endif
+    for (TopExp_Explorer ExV (theShape, TopAbs_VERTEX); ExV.More(); ExV.Next()) {
+      TopoDS_Vertex Vertex = TopoDS::Vertex(ExV.Current());
+      T = BRep_Tool::Tolerance(Vertex);
+      if (T > VertMax)
+        VertMax = T;
+    }
+  }
+  catch (Standard_Failure) {
+    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
+    SetErrorCode(aFail->GetMessageString());
+    return aSeqOfIDs;
+  }
+  // END: Mantis issue 0020961
+
   // Call algo
   GEOMAlgo_FinderShapeOn1 aFinder;
-  Standard_Real aTol = 0.0001; // default value
+  //Standard_Real aTol = 0.0001; // default value
+  Standard_Real aTol = VertMax; // Mantis issue 0020961
 
   aFinder.SetShape(theShape);
   aFinder.SetTolerance(aTol);
@@ -2576,7 +2662,7 @@ Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::GetShapesOnCylind
   aSeq = getShapesOnSurfaceIDs( aCylinder, aShape, aShapeType, theState );
 
   // The GetShapesOnCylinder() doesn't change object so no new function is required.
-  Handle(GEOM_Function) aFunction = 
+  Handle(GEOM_Function) aFunction =
     GEOM::GetCreatedLast(theShape, GEOM::GetCreatedLast(thePnt,theAxis))->GetLastFunction();
 
   // Make a Python command
index ee9a83b02d4f65b791731d33a101f39d409313ec..c776217c9f273b976471838061a32abd1b6eaf48 100644 (file)
@@ -85,6 +85,10 @@ class GEOMImpl_IShapesOperations : public GEOM_IOperations
                                                            std::list<Handle(GEOM_Object)> theFaces,
                                                            const Standard_Boolean doKeepNonSolids);
 
+  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetExistingSubObjects
+    (Handle(GEOM_Object)    theShape,
+     const Standard_Boolean theGroupsOnly);
+
   Standard_EXPORT Handle(TColStd_HSequenceOfTransient) MakeExplode (Handle(GEOM_Object)    theShape,
                                                                     const Standard_Integer theShapeType,
                                                                     const Standard_Boolean isSorted);
index a4b0300f44d851bd948e3cbfc9e5bccf14fee137..f28f5ea9d37b380eefbf871ba495e8ba800c7b53 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #include <Standard_Stream.hxx>
 
@@ -109,7 +108,7 @@ Standard_Integer GEOMImpl_ImportDriver::Execute(TFunction_Logbook& log) const
 
   // perform the import
   TCollection_AsciiString anError;
-  TopoDS_Shape aShape = fp( aFileName, aFormatName, anError, aFunction->GetEntry() );
+  TopoDS_Shape aShape = fp(aFileName, aFormatName, anError, aFunction->GetNamingEntry());
 
   // unload plugin library
   // commented by enk:
@@ -159,7 +158,8 @@ Standard_EXPORT Handle_Standard_Type& GEOMImpl_ImportDriver_Type_()
 //function : DownCast
 //purpose  :
 //=======================================================================
-const Handle(GEOMImpl_ImportDriver) Handle(GEOMImpl_ImportDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
+const Handle(GEOMImpl_ImportDriver) Handle(GEOMImpl_ImportDriver)::DownCast
+                               (const Handle(Standard_Transient)& AnObject)
 {
   Handle(GEOMImpl_ImportDriver) _anOtherObject;
 
@@ -169,5 +169,5 @@ const Handle(GEOMImpl_ImportDriver) Handle(GEOMImpl_ImportDriver)::DownCast(cons
      }
   }
 
-  return _anOtherObject ;
+  return _anOtherObject;
 }
index e6ff34fea83afac55a7c23b58041841e046fdd71..f6421fa4076329bf6aa0a69ce51b388f681fc8bd 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #include <Standard_Stream.hxx>
 
 #include <GEOM_Object.hxx>
 #include <GEOM_Function.hxx>
 
-//#include <NMTAlgo_Splitter1.hxx>
 #include <GEOMAlgo_Splitter.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
 
 #include <TDataStd_IntegerArray.hxx>
+#include <TNaming_CopyShape.hxx>
 
+//#include <BRepBuilderAPI_Copy.hxx>
 #include <BRep_Tool.hxx>
 #include <BRepAlgo.hxx>
 
 #include <TopoDS_Wire.hxx>
 #include <TopoDS_Iterator.hxx>
 #include <TopTools_MapOfShape.hxx>
+#include <TopTools_IndexedMapOfShape.hxx>
 #include <TopTools_ListIteratorOfListOfShape.hxx>
+#include <TopTools_DataMapOfShapeShape.hxx>
 
 #include <ShapeFix_ShapeTolerance.hxx>
 #include <ShapeFix_Shape.hxx>
 
+#include <TColStd_IndexedDataMapOfTransientTransient.hxx>
 #include <TColStd_ListIteratorOfListOfInteger.hxx>
 #include <TColStd_ListOfInteger.hxx>
 #include <Standard_NullObject.hxx>
@@ -117,6 +119,9 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
   //sklNMTAlgo_Splitter1 PS;
   GEOMAlgo_Splitter PS;
 
+  TopTools_DataMapOfShapeShape aCopyMap;
+  TColStd_IndexedDataMapOfTransientTransient aMapTShapes;
+
   if (aType == PARTITION_PARTITION || aType == PARTITION_NO_SELF_INTERSECTIONS)
   {
     Handle(TColStd_HSequenceOfTransient) aShapes  = aCI.GetShapes();
@@ -141,8 +146,27 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
         Standard_NullObject::Raise("In Partition a shape is null");
       }
       //
+      //BRepBuilderAPI_Copy aCopyTool (aShape_i);
+      TopoDS_Shape aShape_i_copy;
+      TNaming_CopyShape::CopyTool(aShape_i, aMapTShapes, aShape_i_copy);
+      //if (aCopyTool.IsDone())
+      //  aShape_i_copy = aCopyTool.Shape();
+      //else
+      //  Standard_NullObject::Raise("Bad shape detected");
+      //
+      // fill aCopyMap for history
+      TopTools_IndexedMapOfShape aShape_i_inds;
+      TopTools_IndexedMapOfShape aShape_i_copy_inds;
+      TopExp::MapShapes(aShape_i, aShape_i_inds);
+      TopExp::MapShapes(aShape_i_copy, aShape_i_copy_inds);
+      Standard_Integer nbInds = aShape_i_inds.Extent();
+      for (Standard_Integer ie = 1; ie <= nbInds; ie++) {
+        aCopyMap.Bind(aShape_i_inds.FindKey(ie), aShape_i_copy_inds.FindKey(ie));
+      }
+      //
       TopTools_ListOfShape aSimpleShapes;
-      PrepareShapes(aShape_i, aType, aSimpleShapes);
+      //PrepareShapes(aShape_i, aType, aSimpleShapes);
+      PrepareShapes(aShape_i_copy, aType, aSimpleShapes);
       TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);
       for (; aSimpleIter.More(); aSimpleIter.Next()) {
         const TopoDS_Shape& aSimpleSh = aSimpleIter.Value();
@@ -164,8 +188,27 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
         Standard_NullObject::Raise("In Partition a tool shape is null");
       }
       //
+      //BRepBuilderAPI_Copy aCopyTool (aShape_i);
+      TopoDS_Shape aShape_i_copy;
+      TNaming_CopyShape::CopyTool(aShape_i, aMapTShapes, aShape_i_copy);
+      //if (aCopyTool.IsDone())
+      //  aShape_i_copy = aCopyTool.Shape();
+      //else
+      //  Standard_NullObject::Raise("Bad shape detected");
+      //
+      // fill aCopyMap for history
+      TopTools_IndexedMapOfShape aShape_i_inds;
+      TopTools_IndexedMapOfShape aShape_i_copy_inds;
+      TopExp::MapShapes(aShape_i, aShape_i_inds);
+      TopExp::MapShapes(aShape_i_copy, aShape_i_copy_inds);
+      Standard_Integer nbInds = aShape_i_inds.Extent();
+      for (Standard_Integer ie = 1; ie <= nbInds; ie++) {
+        aCopyMap.Bind(aShape_i_inds.FindKey(ie), aShape_i_copy_inds.FindKey(ie));
+      }
+      //
       TopTools_ListOfShape aSimpleShapes;
-      PrepareShapes(aShape_i, aType, aSimpleShapes);
+      //PrepareShapes(aShape_i, aType, aSimpleShapes);
+      PrepareShapes(aShape_i_copy, aType, aSimpleShapes);
       TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);
       for (; aSimpleIter.More(); aSimpleIter.Next()) {
         const TopoDS_Shape& aSimpleSh = aSimpleIter.Value();
@@ -183,8 +226,27 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
         Standard_NullObject::Raise("In Partition a Keep Inside shape is null");
       }
       //
+      //BRepBuilderAPI_Copy aCopyTool (aShape_i);
+      TopoDS_Shape aShape_i_copy;
+      TNaming_CopyShape::CopyTool(aShape_i, aMapTShapes, aShape_i_copy);
+      //if (aCopyTool.IsDone())
+      //  aShape_i_copy = aCopyTool.Shape();
+      //else
+      //  Standard_NullObject::Raise("Bad shape detected");
+      //
+      // fill aCopyMap for history
+      TopTools_IndexedMapOfShape aShape_i_inds;
+      TopTools_IndexedMapOfShape aShape_i_copy_inds;
+      TopExp::MapShapes(aShape_i, aShape_i_inds);
+      TopExp::MapShapes(aShape_i_copy, aShape_i_copy_inds);
+      Standard_Integer nbInds = aShape_i_inds.Extent();
+      for (Standard_Integer ie = 1; ie <= nbInds; ie++) {
+        aCopyMap.Bind(aShape_i_inds.FindKey(ie), aShape_i_copy_inds.FindKey(ie));
+      }
+      //
       TopTools_ListOfShape aSimpleShapes;
-      PrepareShapes(aShape_i, aType, aSimpleShapes);
+      //PrepareShapes(aShape_i, aType, aSimpleShapes);
+      PrepareShapes(aShape_i_copy, aType, aSimpleShapes);
       TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);
       for (; aSimpleIter.More(); aSimpleIter.Next()) {
         const TopoDS_Shape& aSimpleSh = aSimpleIter.Value();
@@ -201,8 +263,27 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
         Standard_NullObject::Raise("In Partition a Remove Inside shape is null");
       }
       //
+      //BRepBuilderAPI_Copy aCopyTool (aShape_i);
+      TopoDS_Shape aShape_i_copy;
+      TNaming_CopyShape::CopyTool(aShape_i, aMapTShapes, aShape_i_copy);
+      //if (aCopyTool.IsDone())
+      //  aShape_i_copy = aCopyTool.Shape();
+      //else
+      //  Standard_NullObject::Raise("Bad shape detected");
+      //
+      // fill aCopyMap for history
+      TopTools_IndexedMapOfShape aShape_i_inds;
+      TopTools_IndexedMapOfShape aShape_i_copy_inds;
+      TopExp::MapShapes(aShape_i, aShape_i_inds);
+      TopExp::MapShapes(aShape_i_copy, aShape_i_copy_inds);
+      Standard_Integer nbInds = aShape_i_inds.Extent();
+      for (Standard_Integer ie = 1; ie <= nbInds; ie++) {
+        aCopyMap.Bind(aShape_i_inds.FindKey(ie), aShape_i_copy_inds.FindKey(ie));
+      }
+      //
       TopTools_ListOfShape aSimpleShapes;
-      PrepareShapes(aShape_i, aType, aSimpleShapes);
+      //PrepareShapes(aShape_i, aType, aSimpleShapes);
+      PrepareShapes(aShape_i_copy, aType, aSimpleShapes);
       TopTools_ListIteratorOfListOfShape aSimpleIter (aSimpleShapes);
       for (; aSimpleIter.More(); aSimpleIter.Next()) {
         const TopoDS_Shape& aSimpleSh = aSimpleIter.Value();
@@ -212,7 +293,7 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
     }
 
     PS.SetLimitMode(aCI.GetKeepNonlimitShapes());
-    PS.SetLimit( (TopAbs_ShapeEnum)aCI.GetLimit() );
+    PS.SetLimit((TopAbs_ShapeEnum)aCI.GetLimit());
     PS.Perform();
 
     //skl PS.Compute();
@@ -245,11 +326,52 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
       Standard_NullObject::Raise("In Half Partition a shape or a plane is null");
     }
 
+    TopoDS_Shape aShapeArg_copy;
+    TopoDS_Shape aPlaneArg_copy;
+    {
+      TNaming_CopyShape::CopyTool(aShapeArg, aMapTShapes, aShapeArg_copy);
+      //BRepBuilderAPI_Copy aCopyTool (aShapeArg);
+      //if (aCopyTool.IsDone())
+      //  aShapeArg_copy = aCopyTool.Shape();
+      //else
+      //  Standard_NullObject::Raise("Bad shape detected");
+      //
+      // fill aCopyMap for history
+      TopTools_IndexedMapOfShape aShapeArg_inds;
+      TopTools_IndexedMapOfShape aShapeArg_copy_inds;
+      TopExp::MapShapes(aShapeArg, aShapeArg_inds);
+      TopExp::MapShapes(aShapeArg_copy, aShapeArg_copy_inds);
+      Standard_Integer nbInds = aShapeArg_inds.Extent();
+      for (Standard_Integer ie = 1; ie <= nbInds; ie++) {
+        aCopyMap.Bind(aShapeArg_inds.FindKey(ie), aShapeArg_copy_inds.FindKey(ie));
+      }
+    }
+    {
+      TNaming_CopyShape::CopyTool(aPlaneArg, aMapTShapes, aPlaneArg_copy);
+      //BRepBuilderAPI_Copy aCopyTool (aPlaneArg);
+      //if (aCopyTool.IsDone())
+      //  aPlaneArg_copy = aCopyTool.Shape();
+      //else
+      //  Standard_NullObject::Raise("Bad shape detected");
+      //
+      // fill aCopyMap for history
+      TopTools_IndexedMapOfShape aPlaneArg_inds;
+      TopTools_IndexedMapOfShape aPlaneArg_copy_inds;
+      TopExp::MapShapes(aPlaneArg, aPlaneArg_inds);
+      TopExp::MapShapes(aPlaneArg_copy, aPlaneArg_copy_inds);
+      Standard_Integer nbInds = aPlaneArg_inds.Extent();
+      for (Standard_Integer ie = 1; ie <= nbInds; ie++) {
+        aCopyMap.Bind(aPlaneArg_inds.FindKey(ie), aPlaneArg_copy_inds.FindKey(ie));
+      }
+    }
+
     // add object shapes that are in ListShapes;
-    PS.AddShape(aShapeArg);
+    PS.AddShape(aShapeArg_copy);
+    //PS.AddShape(aShapeArg);
 
     // add tool shapes that are in ListTools and not in ListShapes;
-    PS.AddTool(aPlaneArg);
+    PS.AddTool(aPlaneArg_copy);
+    //PS.AddTool(aPlaneArg);
 
     //skl PS.Compute();
     PS.Perform();
@@ -293,6 +415,7 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
   const TopTools_IndexedDataMapOfShapeListOfShape& aMR = PS.ImagesResult();
 
   // history for all argument shapes
+  // be sure to use aCopyMap
   TDF_LabelSequence aLabelSeq;
   aFunction->GetDependency(aLabelSeq);
   Standard_Integer nbArg = aLabelSeq.Length();
@@ -314,6 +437,10 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
 
     for (Standard_Integer ie = 1; ie <= nbArgumentEntities; ie++) {
       TopoDS_Shape anEntity = anArgumentIndices.FindKey(ie);
+      // be sure to use aCopyMap here
+      if (aCopyMap.IsBound(anEntity))
+        anEntity = aCopyMap.Find(anEntity);
+      //
       if (!aMR.Contains(anEntity)) continue;
 
       const TopTools_ListOfShape& aModified = aMR.FindFromKey(anEntity);
@@ -346,21 +473,17 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
 //=======================================================================
 Standard_EXPORT Handle_Standard_Type& GEOMImpl_PartitionDriver_Type_()
 {
-
   static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
+  if (aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
+  if (aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
+  if (aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
 
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PartitionDriver",
-                                                         sizeof(GEOMImpl_PartitionDriver),
-                                                         1,
-                                                         (Standard_Address)_Ancestors,
-                                                         (Standard_Address)NULL);
+  static Handle_Standard_Transient _Ancestors[] = {aType1,aType2,aType3,NULL};
+  static Handle_Standard_Type _aType =
+    new Standard_Type ("GEOMImpl_PartitionDriver", sizeof(GEOMImpl_PartitionDriver),
+                       1, (Standard_Address)_Ancestors, (Standard_Address)NULL);
 
   return _aType;
 }
@@ -379,5 +502,5 @@ const Handle(GEOMImpl_PartitionDriver) Handle(GEOMImpl_PartitionDriver)::DownCas
      }
   }
 
-  return _anOtherObject ;
+  return _anOtherObject;
 }
index b1d626427dad148325ce8ddf0f7e36db0bf09e71..d1dcbe27446ebe862becba24edd5a6592a552ced 100755 (executable)
 #define SEWING             6
 #define DIVIDE_EDGE        7
 #define CHANGE_ORIENTATION 8
+#define LIMIT_TOLERANCE    9
 
 #define BASIC_FILLING 1
 
index a01872173af59d92675500d2c7cc63d7c9f84694..3d183d97602db3d7443623ad294c3298dc72d2eb 100644 (file)
@@ -334,9 +334,21 @@ bool GEOMToolsGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
   case GEOMOp::OpTransparency:   // POPUP - TRANSPARENCY
     OnTransparency();
     break;
+  case GEOMOp::OpIncrTransparency: // SHORTCUT   - INCREASE TRANSPARENCY
+    OnChangeTransparency( true );
+    break;
+  case GEOMOp::OpDecrTransparency: // SHORTCUT   - DECREASE TRANSPARENCY
+    OnChangeTransparency( false );
+    break;
   case GEOMOp::OpIsos:           // POPUP - ISOS
     OnNbIsos();
     break;
+  case GEOMOp::OpIncrNbIsos:     // SHORTCUT   - INCREASE NB ISOLINES
+    OnNbIsos( INCR );
+    break;
+  case GEOMOp::OpDecrNbIsos:     // SHORTCUT   - DECREASE NB ISOLINES
+    OnNbIsos( DECR );
+    break;
   case GEOMOp::OpAutoColor:      // POPUP - AUTO COLOR
     OnAutoColor();
     break;
index ab7d404f38599f22cdb8f69172fb98116ebc67fe..09cdbd4e8e9e282aba8365f82f9415027ff625bb 100644 (file)
@@ -52,6 +52,8 @@ public:
   bool         OnGUIEvent( int, SUIT_Desktop* );
   virtual void deactivate();
 
+  enum ActionType { SHOWDLG, INCR, DECR };
+
 private:
   // Import and export topology methods
   bool         Import();
@@ -67,12 +69,15 @@ private:
   void         OnDisableAutoColor();
   void         OnColor();
   void         OnTransparency();
-  void         OnNbIsos();
+  void         OnNbIsos( ActionType actionType = SHOWDLG );
   void         OnDeflection();
   void         OnSelectOnly(int mode);
   void         OnShowHideChildren( bool );
   void         OnPointMarker();
 
+  // Shortcut commands
+  void         OnChangeTransparency( bool );
+
   // Recursive deletion of object with children
   void         removeObjectWithChildren( _PTR(SObject),
                                          _PTR(Study),
index fb05288a1731b37ca9414ed4a949b4ec401e901c..7706ab3c9f154bc479b04ee80d9bfe63014ca482 100644 (file)
@@ -325,6 +325,7 @@ void GEOMToolsGUI::OnColor()
             for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
               aView->SetColor( It.Value(), c );
             }
+           GeometryGUI::Modified();
           }
         } // if ( isVTK )
         else if ( isOCC ) {
@@ -382,6 +383,7 @@ void GEOMToolsGUI::OnColor()
                   anObject->SetColor( aSColor );
                   anObject->SetAutoColor( false );
                 }
+               GeometryGUI::Modified();
               }
             } // if c.isValid()
           } // first IO is not null
@@ -399,7 +401,88 @@ void GEOMToolsGUI::OnTransparency()
   dlg.exec();
 }
 
-void GEOMToolsGUI::OnNbIsos()
+void GEOMToolsGUI::OnChangeTransparency( bool increase )
+{
+ SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >( SUIT_Session::session()->activeApplication() );
+  if ( !app )
+    return;
+  LightApp_SelectionMgr* aSelMgr = app->selectionMgr();
+  if ( !aSelMgr )
+    return;
+  SALOME_ListIO selected;
+  aSelMgr->selectedObjects( selected );
+  if ( selected.IsEmpty() )
+    return;
+
+  Handle(SALOME_InteractiveObject) FirstIOS =  selected.First();
+  if ( FirstIOS.IsNull() )
+    return;
+
+  // Delta
+  float delta = 0.01;
+  if ( !increase )
+    delta *= -1;
+        
+  SUIT_ViewWindow* window = app->desktop()->activeWindow();
+  bool isOCC = ( window && window->getViewManager()->getType() == OCCViewer_Viewer::Type() );
+  bool isVTK = ( window && window->getViewManager()->getType() == SVTK_Viewer::Type() );
+
+  if ( isVTK ) {
+    SVTK_ViewWindow* vtkVW = dynamic_cast<SVTK_ViewWindow*>( window );
+    if ( !vtkVW )
+      return;
+    SVTK_View* aView = vtkVW->getView();
+   
+    float transp = aView->GetTransparency(FirstIOS);
+    
+    // Compute new transparency value
+    transp = transp + delta;
+    if ( transp < 0 )
+      transp = 0;
+    else if ( transp > 1 )
+      transp = 1;
+
+    for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
+      aView->SetTransparency( It.Value(), transp );
+    }
+    aView->Repaint();
+    GeometryGUI::Modified();
+  } // if ( isVTK )
+        
+  else if ( isOCC ) {
+    GEOMBase* gb = new GEOMBase();
+    Standard_Boolean found;
+    Handle(GEOM_AISShape) aisShape;
+   
+    aisShape = gb->ConvertIOinGEOMAISShape( FirstIOS, found );
+    if( !found )
+      return;
+    float transp = aisShape->Transparency();
+
+    // Compute new transparency value
+    transp = transp + delta;
+    if ( transp < 0 )
+      transp = 0;
+    else if ( transp > 1 )
+      transp = 1;
+
+    OCCViewer_Viewer* vm = dynamic_cast<OCCViewer_Viewer*>( window->getViewManager()->getViewModel() );
+    if ( !vm )
+      return;
+    Handle(AIS_InteractiveContext) ic = vm->getAISContext();
+    for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
+      aisShape = gb->ConvertIOinGEOMAISShape( It.Value(), found );
+      if ( found ) {
+        ic->SetTransparency( aisShape, transp, false );
+        ic->Redisplay( aisShape, Standard_False, Standard_True );
+      }
+    } // for...
+    ic->UpdateCurrentViewer();
+    GeometryGUI::Modified();
+  } // if ( isOCC )
+}
+
+void GEOMToolsGUI::OnNbIsos( ActionType actionType )
 {
   SUIT_ViewWindow* window = SUIT_Session::session()->activeApplication()->desktop()->activeWindow();
 
@@ -419,29 +502,47 @@ void GEOMToolsGUI::OnNbIsos()
       int UIso = CurDrawer->UIsoAspect()->Number();
       int VIso = CurDrawer->VIsoAspect()->Number();
 
-      GEOMToolsGUI_NbIsosDlg * NbIsosDlg =
-        new GEOMToolsGUI_NbIsosDlg( SUIT_Session::session()->activeApplication()->desktop() );
+      int newNbUIso = -1;
+      int newNbVIso = -1;
 
-      NbIsosDlg->setU( UIso );
-      NbIsosDlg->setV( VIso );
+      if ( actionType == SHOWDLG ) {
+       GEOMToolsGUI_NbIsosDlg * NbIsosDlg =
+         new GEOMToolsGUI_NbIsosDlg( SUIT_Session::session()->activeApplication()->desktop() );
 
-      if ( NbIsosDlg->exec() ) {
-        SUIT_OverrideCursor();
-        for(; ic->MoreCurrent(); ic->NextCurrent()) {
-          CurObject = Handle(GEOM_AISShape)::DownCast(ic->Current());
-          Handle(AIS_Drawer) CurDrawer = CurObject->Attributes();
+       NbIsosDlg->setU( UIso );
+       NbIsosDlg->setV( VIso );
 
-          int nbUIso = NbIsosDlg->getU();
-          int nbVIso = NbIsosDlg->getV();
-
-          CurDrawer->SetUIsoAspect( new Prs3d_IsoAspect(Quantity_NOC_GRAY75, Aspect_TOL_SOLID, 0.5 , nbUIso) );
-          CurDrawer->SetVIsoAspect( new Prs3d_IsoAspect(Quantity_NOC_GRAY75, Aspect_TOL_SOLID, 0.5 , nbVIso) );
+       if ( NbIsosDlg->exec() ) {
+         SUIT_OverrideCursor();
+         
+         newNbUIso = NbIsosDlg->getU();
+          newNbVIso = NbIsosDlg->getV();
+       }
+      }
+      else if ( actionType == INCR || actionType == DECR ) {
+       int delta = 1;
+       if (actionType == DECR)
+         delta = -1;
+       
+       newNbUIso = UIso + delta;
+       newNbVIso = VIso + delta;
+
+       if ( newNbUIso < 0 || newNbVIso < 0 || newNbUIso > 99 || newNbVIso > 99 )
+         return;
+      }
 
-          ic->SetLocalAttributes(CurObject, CurDrawer);
-          ic->Redisplay(CurObject);
-        }
+      for(; ic->MoreCurrent(); ic->NextCurrent()) {
+       CurObject = Handle(GEOM_AISShape)::DownCast(ic->Current());
+       Handle(AIS_Drawer) CurDrawer = CurObject->Attributes();
+       
+       CurDrawer->SetUIsoAspect( new Prs3d_IsoAspect(Quantity_NOC_GRAY75, Aspect_TOL_SOLID, 0.5 , newNbUIso) );
+       CurDrawer->SetVIsoAspect( new Prs3d_IsoAspect(Quantity_NOC_GRAY75, Aspect_TOL_SOLID, 0.5 , newNbVIso) );
+       
+       ic->SetLocalAttributes(CurObject, CurDrawer);
+       ic->Redisplay(CurObject);
       }
     }
+    GeometryGUI::Modified();
   }
   else if(isVTK){ // if is VTKViewer
     //
@@ -492,27 +593,46 @@ void GEOMToolsGUI::OnNbIsos()
       anActor->GetNbIsos(UIso,VIso);
     else
       return;
+    
+    int newNbUIso = -1;
+    int newNbVIso = -1;
 
-    GEOMToolsGUI_NbIsosDlg* NbIsosDlg =
-      new GEOMToolsGUI_NbIsosDlg( SUIT_Session::session()->activeApplication()->desktop() );
+    if ( actionType == SHOWDLG ) {
+      GEOMToolsGUI_NbIsosDlg* NbIsosDlg =
+       new GEOMToolsGUI_NbIsosDlg( SUIT_Session::session()->activeApplication()->desktop() );
 
-    NbIsosDlg->setU( UIso );
-    NbIsosDlg->setV( VIso );
+      NbIsosDlg->setU( UIso );
+      NbIsosDlg->setV( VIso );
 
-    if ( NbIsosDlg->exec() ) {
-      SUIT_OverrideCursor();
+      if ( NbIsosDlg->exec() ) {
+       SUIT_OverrideCursor();
 
-      while( anAct!=NULL ) {
-        if(GEOM_Actor* anActor = GEOM_Actor::SafeDownCast(anAct)){
-          // There are no casting to needed actor.
-          UIso = NbIsosDlg->getU();
-          VIso = NbIsosDlg->getV();
-          int aIsos[2]={UIso,VIso};
-          anActor->SetNbIsos(aIsos);
-        }
-        anAct = aCollection->GetNextActor();
+       newNbUIso = NbIsosDlg->getU();
+       newNbVIso = NbIsosDlg->getV();
+      }
+    }
+    else if ( actionType == INCR || actionType == DECR ) {
+      int delta = 1;
+      if (actionType == DECR)
+       delta = -1;
+      
+      newNbUIso = UIso + delta;
+      newNbVIso = VIso + delta;
+      
+      if ( newNbUIso < 0 || newNbVIso < 0 || newNbUIso > 99 || newNbVIso > 99 )
+       return;
+    } 
+    
+    while( anAct!=NULL ) {
+      if(GEOM_Actor* anActor = GEOM_Actor::SafeDownCast(anAct)){
+       // There are no casting to needed actor.
+       int aIsos[2]={newNbUIso,newNbVIso};
+       anActor->SetNbIsos(aIsos);
       }
+      anAct = aCollection->GetNextActor();
     }
+    view->Repaint();
+    GeometryGUI::Modified();
   } // end vtkviewer
 }
 
@@ -559,6 +679,7 @@ void GEOMToolsGUI::OnDeflection()
         }
       }
     }
+    GeometryGUI::Modified();
   }
   else if (isVTK) { // if is VTKViewer
     SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>
@@ -623,6 +744,7 @@ void GEOMToolsGUI::OnDeflection()
         anAct = aCollection->GetNextActor();
       }
     }
+    GeometryGUI::Modified();
   } // end vtkviewer
 }
 
index 5856aa4e6423e7d6ecdbfeb0745dbe87e77e147c..33940d0a04fcc3a51e63b7cd62f5e47b970f5093 100644 (file)
@@ -269,6 +269,7 @@ void GEOMToolsGUI_TransparencyDlg::SetTransparency()
     for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
       aView->SetTransparency( It.Value(), newValue );
     }
+    GeometryGUI::Modified();
     aView->Repaint();
   } // if ( isVTK )
         
@@ -300,6 +301,7 @@ void GEOMToolsGUI_TransparencyDlg::SetTransparency()
       }
     } // for...
     ic->UpdateCurrentViewer();
+    GeometryGUI::Modified();
   } // if ( isOCC )
 
   ValueHasChanged();
index 9c7ce2cea84734aed168cef3717778b0ed9b431d..a0e18d411c865e9b48e20b9f1fa75167251a8a97 100644 (file)
@@ -276,7 +276,7 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy(SALOMEDS::Study_ptr theStudy,
   //if (strlen(theName) == 0) aShapeName += TCollection_AsciiString(aResultSO->Tag());
   //else aShapeName = TCollection_AsciiString(CORBA::string_dup(theName));
 
-  // try to find existed name for current shape
+  // BEGIN: try to find existed name for current shape
   bool HasName = false;
   // recieve current TopoDS shape
   CORBA::String_var entry = aShape->GetEntry();
@@ -289,24 +289,28 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy(SALOMEDS::Study_ptr theStudy,
   }
   entry = aMainSh->GetEntry();
   Handle(GEOM_Object) anObj = _impl->GetObject(aMainSh->GetStudyID(), entry);
-  TDF_Label aMainLbl = anObj->GetEntry();
+  TDF_Label aMainLbl = anObj->GetFunction(1)->GetNamingEntry();
+
   // check all named shapes using iterator
-  TDF_ChildIDIterator anIt(aMainLbl, TNaming_NamedShape::GetID(), Standard_True);
-  for(; anIt.More(); anIt.Next()) {
+  TDF_ChildIDIterator anIt (aMainLbl, TNaming_NamedShape::GetID(), Standard_True);
+
+  for (; anIt.More() && !HasName; anIt.Next()) {
     Handle(TNaming_NamedShape) anAttr =
       Handle(TNaming_NamedShape)::DownCast(anIt.Value());
-    if(anAttr.IsNull()) continue;
+    if (anAttr.IsNull()) continue;
     TopoDS_Shape S = anAttr->Get();
-    if( !S.IsEqual(TopoSh) ) continue;
-    TDF_Label L = anAttr->Label();
-    Handle(TDataStd_Name) aName;
-    if(L.FindAttribute(TDataStd_Name::GetID(),aName)) {
-      aShapeName = aName->Get();
-      HasName = true;
+    if (S.IsEqual(TopoSh)) {
+      TDF_Label L = anAttr->Label();
+      Handle(TDataStd_Name) aName;
+      if (L.FindAttribute(TDataStd_Name::GetID(), aName)) {
+        aShapeName = aName->Get();
+        HasName = true;
+      }
     }
   }
+  // END: try to find existed name for current shape
 
-  if(!HasName) {
+  if (!HasName) {
     // asv : 11.11.04 Introducing a more sofisticated method of name creation, just as
     //       it is done in GUI in GEOMBase::GetDefaultName() - not just add a Tag() == number
     //       of objects in the study, but compute a number of objects with the same prefix
index d5435c5d1bc9e9c33586de649fb59fc7d22e9845..f765856d0950c94be2e4b519909ff49de0064f42 100644 (file)
@@ -269,6 +269,34 @@ GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetPoint (GEOM::GEOM_Object_ptr
   return GetObject(anObject);
 }
 
+//=============================================================================
+/*!
+ *  GetVertexNearPoint
+ */
+//=============================================================================
+GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetVertexNearPoint
+                                                (GEOM::GEOM_Object_ptr theShape,
+                                                 GEOM::GEOM_Object_ptr thePoint)
+{
+  GEOM::GEOM_Object_var aGEOMObject;
+
+  // Set a not done flag
+  GetOperations()->SetNotDone();
+
+  // Get the reference Objects
+  Handle(GEOM_Object) aShape = GetObjectImpl(theShape);
+  Handle(GEOM_Object) aPoint = GetObjectImpl(thePoint);
+  if (aShape.IsNull() || aPoint.IsNull()) return aGEOMObject._retn();
+
+  // Create the Point
+  Handle(GEOM_Object) anObject =
+    GetOperations()->GetVertexNearPoint(aShape, aPoint);
+  if (!GetOperations()->IsDone() || anObject.IsNull())
+    return aGEOMObject._retn();
+
+  return GetObject(anObject);
+}
+
 //=============================================================================
 /*!
  *  GetEdge
@@ -481,6 +509,37 @@ GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetFaceByNormale (GEOM::GEOM_Obj
   return GetObject(anObject);
 }
 
+//=============================================================================
+/*!
+ *  GetShapesNearPoint
+ */
+//=============================================================================
+GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetShapesNearPoint
+                      (GEOM::GEOM_Object_ptr theShape,
+                       GEOM::GEOM_Object_ptr thePoint,
+                       CORBA::Long           theShapeType,
+                       CORBA::Double         theTolerance)
+{
+  GEOM::GEOM_Object_var aGEOMObject;
+
+  // Set a not done flag
+  GetOperations()->SetNotDone();
+
+  // Get the reference Objects
+  Handle(GEOM_Object) aShape = GetObjectImpl(theShape);
+  Handle(GEOM_Object) aPoint = GetObjectImpl(thePoint);
+
+  if (aShape.IsNull() || aPoint.IsNull()) return aGEOMObject._retn();
+
+  // Create the Shape
+  Handle(GEOM_Object) anObject =
+    GetOperations()->GetShapesNearPoint(aShape, aPoint, theShapeType, theTolerance);
+  if (!GetOperations()->IsDone() || anObject.IsNull())
+    return aGEOMObject._retn();
+
+  return GetObject(anObject);
+}
+
 //=============================================================================
 /*!
  *  ExplodeCompoundOfBlocks
index 68904892c10ad6ea2fe23899be25507128cd61be..8fa1e1de7766660df12924f4cd5436e2cfb05b47 100644 (file)
@@ -75,6 +75,9 @@ class GEOM_I_EXPORT GEOM_IBlocksOperations_i :
                                  CORBA::Double   theZ,
                                  CORBA::Double   theEpsilon);
 
+  GEOM::GEOM_Object_ptr GetVertexNearPoint (GEOM::GEOM_Object_ptr theShape,
+                                            GEOM::GEOM_Object_ptr thePoint);
+
   GEOM::GEOM_Object_ptr GetEdge (GEOM::GEOM_Object_ptr theShape,
                                 GEOM::GEOM_Object_ptr thePoint1,
                                 GEOM::GEOM_Object_ptr thePoint2);
@@ -101,10 +104,15 @@ class GEOM_I_EXPORT GEOM_IBlocksOperations_i :
   GEOM::GEOM_Object_ptr GetFaceByNormale (GEOM::GEOM_Object_ptr theBlock,
                                          GEOM::GEOM_Object_ptr theVector);
 
+  GEOM::GEOM_Object_ptr GetShapesNearPoint (GEOM::GEOM_Object_ptr theShape,
+                                            GEOM::GEOM_Object_ptr thePoint,
+                                            CORBA::Long           theShapeType,
+                                            CORBA::Double         theTolerance);
+
   // Check blocks compound
   CORBA::Boolean IsCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                    CORBA::Long     theMinNbFaces,
-                                    CORBA::Long     theMaxNbFaces,
+                                    CORBA::Long           theMinNbFaces,
+                                    CORBA::Long           theMaxNbFaces,
                                     CORBA::Long&          theNbBlocks);
 
   CORBA::Boolean CheckCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
index 81dac09c329d9f57972fc3772d1c3546854312d5..39df78fe1cecb656e901a0f8502e3268c059b1ff 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #include <Standard_Stream.hxx>
 
@@ -493,3 +492,30 @@ GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::ChangeOrientationCopy (GEOM::GE
 
   return GetObject(aNewObject);
 }
+
+//=============================================================================
+/*!
+ *  LimitTolerance
+ */
+//=============================================================================
+GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::LimitTolerance (GEOM::GEOM_Object_ptr theObject,
+                                                                 CORBA::Double theTolerance)
+{
+  GEOM::GEOM_Object_var aGEOMObject;
+
+  // Set a not done flag
+  GetOperations()->SetNotDone();
+
+  // Get the object itself
+  Handle(GEOM_Object) anObject = GetObjectImpl(theObject);
+  if (anObject.IsNull())
+    return aGEOMObject._retn();
+
+  // Perform
+  Handle(GEOM_Object) aNewObject =
+    GetOperations()->LimitTolerance(anObject, theTolerance);
+  if (!GetOperations()->IsDone() || aNewObject.IsNull())
+    return aGEOMObject._retn();
+
+  return GetObject(aNewObject);
+}
index be42fbd55115cc85464394bf1e365ec9f2ac4b6b..01b3f48fc4ba5da4a3c5ae9bb6f0ea191cc7df1c 100644 (file)
@@ -18,7 +18,7 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
+
 
 #ifndef _GEOM_IHealingOperations_i_HeaderFile
 #define _GEOM_IHealingOperations_i_HeaderFile
 #include <TColStd_HArray1OfExtendedString.hxx>
 #include <TColStd_HArray1OfInteger.hxx>
 
-class GEOM_I_EXPORT GEOM_IHealingOperations_i : 
+class GEOM_I_EXPORT GEOM_IHealingOperations_i :
     public virtual POA_GEOM::GEOM_IHealingOperations,
     public virtual GEOM_IOperations_i
 {
  public:
-   GEOM_IHealingOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOMImpl_IHealingOperations* theImpl);
+   GEOM_IHealingOperations_i(PortableServer::POA_ptr thePOA,
+                             GEOM::GEOM_Gen_ptr theEngine,
+                             ::GEOMImpl_IHealingOperations* theImpl);
    ~GEOM_IHealingOperations_i();
-  
-   GEOM::GEOM_Object_ptr ProcessShape(GEOM::GEOM_Object_ptr theObject, const GEOM::string_array& theOperations, const GEOM::string_array& theParams, const GEOM::string_array& theValues);
 
-   void GetShapeProcessParameters(GEOM::string_array_out theOperations, GEOM::string_array_out theParams, GEOM::string_array_out theValues);
+   GEOM::GEOM_Object_ptr ProcessShape(GEOM::GEOM_Object_ptr theObject,
+                                      const GEOM::string_array& theOperations,
+                                      const GEOM::string_array& theParams,
+                                      const GEOM::string_array& theValues);
+
+   void GetShapeProcessParameters(GEOM::string_array_out theOperations,
+                                  GEOM::string_array_out theParams,
+                                  GEOM::string_array_out theValues);
 
-   void GetOperatorParameters (const char* theOperator,  GEOM::string_array_out theParams, GEOM::string_array_out theValues);
+   void GetOperatorParameters (const char* theOperator,
+                               GEOM::string_array_out theParams,
+                               GEOM::string_array_out theValues);
 
-   GEOM::GEOM_Object_ptr SuppressFaces(GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theFaces);
+   GEOM::GEOM_Object_ptr SuppressFaces(GEOM::GEOM_Object_ptr theObject,
+                                       const GEOM::short_array& theFaces);
 
-   GEOM::GEOM_Object_ptr CloseContour (GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theWires, CORBA::Boolean isCommonVertex);
+   GEOM::GEOM_Object_ptr CloseContour (GEOM::GEOM_Object_ptr theObject,
+                                       const GEOM::short_array& theWires,
+                                       CORBA::Boolean isCommonVertex);
 
-   GEOM::GEOM_Object_ptr RemoveIntWires (GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theWires);
-   
-   GEOM::GEOM_Object_ptr FillHoles (GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theWires);
+   GEOM::GEOM_Object_ptr RemoveIntWires (GEOM::GEOM_Object_ptr theObject,
+                                         const GEOM::short_array& theWires);
 
-   GEOM::GEOM_Object_ptr Sew (GEOM::GEOM_Object_ptr theObject, CORBA::Double theTolerance);
+   GEOM::GEOM_Object_ptr FillHoles (GEOM::GEOM_Object_ptr theObject,
+                                    const GEOM::short_array& theWires);
 
-   GEOM::GEOM_Object_ptr DivideEdge (GEOM::GEOM_Object_ptr theObject, CORBA::Short theIndex, CORBA::Double theValue, CORBA::Boolean isByParameter);        
+   GEOM::GEOM_Object_ptr Sew (GEOM::GEOM_Object_ptr theObject,
+                              CORBA::Double theTolerance);
+
+   GEOM::GEOM_Object_ptr DivideEdge (GEOM::GEOM_Object_ptr theObject,
+                                     CORBA::Short theIndex,
+                                     CORBA::Double theValue,
+                                     CORBA::Boolean isByParameter);
+
+   CORBA::Boolean GetFreeBoundary(GEOM::GEOM_Object_ptr theObject,
+                                  GEOM::ListOfGO_out theClosedWires,
+                                  GEOM::ListOfGO_out theOpenWires );
 
-   CORBA::Boolean GetFreeBoundary(GEOM::GEOM_Object_ptr theObject, GEOM::ListOfGO_out theClosedWires, GEOM::ListOfGO_out theOpenWires );
-   
    GEOM::GEOM_Object_ptr ChangeOrientation (GEOM::GEOM_Object_ptr theObject);
    GEOM::GEOM_Object_ptr ChangeOrientationCopy (GEOM::GEOM_Object_ptr theObject);
 
+   GEOM::GEOM_Object_ptr LimitTolerance (GEOM::GEOM_Object_ptr theObject,
+                                         CORBA::Double theTolerance);
+
    ::GEOMImpl_IHealingOperations* GetOperations() { return (::GEOMImpl_IHealingOperations*)GetImpl(); }
 
 private:
-        Handle(TColStd_HArray1OfExtendedString) Convert( const GEOM::string_array& );
-        Handle(TColStd_HArray1OfInteger)        Convert( const GEOM::short_array& );
+         Handle(TColStd_HArray1OfExtendedString) Convert( const GEOM::string_array& );
+         Handle(TColStd_HArray1OfInteger)        Convert( const GEOM::short_array& );
 
 };
 
index 38238921eecf5ebbde97665215a16767ba4bdacf..f6ff7d0e20bd43022a918778409115e48f45d39b 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #include <Standard_Stream.hxx>
 
@@ -411,6 +410,31 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeGlueFacesByList
   return GetObject(anObject);
 }
 
+//=============================================================================
+/*!
+ *  GetExistingSubObjects
+ */
+//=============================================================================
+GEOM::ListOfGO* GEOM_IShapesOperations_i::GetExistingSubObjects (GEOM::GEOM_Object_ptr theShape,
+                                                                 CORBA::Boolean        theGroupsOnly)
+{
+  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
+
+  Handle(GEOM_Object) aShape = GetObjectImpl(theShape);
+  if (aShape.IsNull()) return aSeq._retn();
+
+  Handle(TColStd_HSequenceOfTransient) aHSeq =
+    GetOperations()->GetExistingSubObjects(aShape, theGroupsOnly);
+  if (!GetOperations()->IsDone() || aHSeq.IsNull())
+    return aSeq._retn();
+
+  Standard_Integer aLength = aHSeq->Length();
+  aSeq->length(aLength);
+  for (Standard_Integer i = 1; i <= aLength; i++)
+    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
+
+  return aSeq._retn();
+}
 
 //=============================================================================
 /*!
index 5ae1ed2f040a448c05042ef0c574eee939a5d7ba..fdc3e4ba05855532334c33c5520292308d70f18d 100644 (file)
@@ -18,7 +18,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
 #ifndef _GEOM_IShapesOperations_i_HeaderFile
 #define _GEOM_IShapesOperations_i_HeaderFile
@@ -39,21 +38,21 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
 {
  public:
   GEOM_IShapesOperations_i (PortableServer::POA_ptr       thePOA,
-                           GEOM::GEOM_Gen_ptr            theEngine,
-                           ::GEOMImpl_IShapesOperations* theImpl);
+                            GEOM::GEOM_Gen_ptr            theEngine,
+                            ::GEOMImpl_IShapesOperations* theImpl);
   ~GEOM_IShapesOperations_i();
 
   GEOM::GEOM_Object_ptr MakeEdge (GEOM::GEOM_Object_ptr thePnt1,
-                                 GEOM::GEOM_Object_ptr thePnt2);
+                                  GEOM::GEOM_Object_ptr thePnt2);
 
   GEOM::GEOM_Object_ptr MakeWire (const GEOM::ListOfGO& theEdgesAndWires,
                                   const CORBA::Double   theTolerance);
 
   GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
-                                 CORBA::Boolean  isPlanarWanted);
+                                  CORBA::Boolean  isPlanarWanted);
 
   GEOM::GEOM_Object_ptr MakeFaceWires (const GEOM::ListOfGO& theWires,
-                                      CORBA::Boolean  isPlanarWanted);
+                                       CORBA::Boolean  isPlanarWanted);
 
   GEOM::GEOM_Object_ptr MakeShell (const GEOM::ListOfGO& theFacesAndShells);
 
@@ -64,34 +63,36 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
   GEOM::GEOM_Object_ptr MakeCompound (const GEOM::ListOfGO& theShapes);
 
   GEOM::GEOM_Object_ptr MakeGlueFaces (GEOM::GEOM_Object_ptr theShape,
-                                      CORBA::Double         theTolerance,
+                                       CORBA::Double         theTolerance,
                                        CORBA::Boolean        doKeepNonSolids);
 
   GEOM::ListOfGO* GetGlueFaces (GEOM::GEOM_Object_ptr theShape,
-                               CORBA::Double         theTolerance);
+                                CORBA::Double         theTolerance);
 
   GEOM::GEOM_Object_ptr MakeGlueFacesByList (GEOM::GEOM_Object_ptr theShape,
-                                            CORBA::Double         theTolerance,
-                                            const GEOM::ListOfGO& theFaces,
-                                                CORBA::Boolean  doKeepNonSolids);
+                                             CORBA::Double         theTolerance,
+                                             const GEOM::ListOfGO& theFaces,
+                                             CORBA::Boolean  doKeepNonSolids);
 
+  GEOM::ListOfGO* GetExistingSubObjects (GEOM::GEOM_Object_ptr theShape,
+                                         CORBA::Boolean        theGroupsOnly);
 
   GEOM::ListOfGO* MakeExplode (GEOM::GEOM_Object_ptr theShape,
-                              CORBA::Long           theShapeType,
-                              CORBA::Boolean  isSorted);
+                               CORBA::Long           theShapeType,
+                               CORBA::Boolean  isSorted);
 
   GEOM::ListOfLong* SubShapeAllIDs (GEOM::GEOM_Object_ptr theShape,
-                                   CORBA::Long           theShapeType,
-                                   CORBA::Boolean  isSorted);
+                                    CORBA::Long           theShapeType,
+                                    CORBA::Boolean  isSorted);
 
   GEOM::GEOM_Object_ptr GetSubShape (GEOM::GEOM_Object_ptr theMainShape,
-                                    CORBA::Long           theID);
+                                     CORBA::Long           theID);
 
   CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theMainShape,
-                               GEOM::GEOM_Object_ptr theSubShape);
+                                GEOM::GEOM_Object_ptr theSubShape);
 
   CORBA::Long GetTopologyIndex (GEOM::GEOM_Object_ptr theMainShape,
-                               GEOM::GEOM_Object_ptr theSubShape);
+                                GEOM::GEOM_Object_ptr theSubShape);
 
   char* GetShapeTypeString (GEOM::GEOM_Object_ptr theShape);
 
@@ -105,25 +106,25 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
   GEOM::ListOfLong* GetFreeFacesIDs (GEOM::GEOM_Object_ptr theShape);
 
   GEOM::ListOfGO* GetSharedShapes (GEOM::GEOM_Object_ptr theShape1,
-                                  GEOM::GEOM_Object_ptr theShape2,
-                                  CORBA::Long           theShapeType);
+                                   GEOM::GEOM_Object_ptr theShape2,
+                                   CORBA::Long           theShapeType);
 
   GEOM::ListOfGO* GetShapesOnPlane (GEOM::GEOM_Object_ptr theShape,
-                                   CORBA::Long           theShapeType,
-                                   GEOM::GEOM_Object_ptr theAx1,
-                                   GEOM::shape_state     theState);
+                                    CORBA::Long           theShapeType,
+                                    GEOM::GEOM_Object_ptr theAx1,
+                                    GEOM::shape_state     theState);
 
   GEOM::ListOfGO* GetShapesOnPlaneWithLocation(GEOM::GEOM_Object_ptr theShape,
-                                              CORBA::Long           theShapeType,
-                                              GEOM::GEOM_Object_ptr theAx1,
-                                              GEOM::GEOM_Object_ptr thePnt,
-                                              GEOM::shape_state     theState);
+                                               CORBA::Long           theShapeType,
+                                               GEOM::GEOM_Object_ptr theAx1,
+                                               GEOM::GEOM_Object_ptr thePnt,
+                                               GEOM::shape_state     theState);
 
   GEOM::ListOfGO* GetShapesOnCylinder (GEOM::GEOM_Object_ptr theShape,
-                                      CORBA::Long           theShapeType,
-                                      GEOM::GEOM_Object_ptr theAxis,
-                                      CORBA::Double         theRadius,
-                                      GEOM::shape_state     theState);
+                                       CORBA::Long           theShapeType,
+                                       GEOM::GEOM_Object_ptr theAxis,
+                                       CORBA::Double         theRadius,
+                                       GEOM::shape_state     theState);
 
   GEOM::ListOfGO* GetShapesOnCylinderWithLocation (GEOM::GEOM_Object_ptr theShape,
                                                    CORBA::Long           theShapeType,
@@ -133,10 +134,10 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
                                                    GEOM::shape_state     theState);
 
   GEOM::ListOfGO* GetShapesOnSphere (GEOM::GEOM_Object_ptr theShape,
-                                    CORBA::Long           theShapeType,
-                                    GEOM::GEOM_Object_ptr theCenter,
-                                    CORBA::Double         theRadius,
-                                    GEOM::shape_state     theState);
+                                     CORBA::Long           theShapeType,
+                                     GEOM::GEOM_Object_ptr theCenter,
+                                     CORBA::Double         theRadius,
+                                     GEOM::shape_state     theState);
 
   GEOM::ListOfGO* GetShapesOnQuadrangle (GEOM::GEOM_Object_ptr theShape,
                                          CORBA::Long           theShapeType,
@@ -147,21 +148,21 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
                                          GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnPlaneIDs (GEOM::GEOM_Object_ptr theShape,
-                                        CORBA::Long           theShapeType,
-                                        GEOM::GEOM_Object_ptr theAx1,
-                                        GEOM::shape_state     theState);
+                                         CORBA::Long           theShapeType,
+                                         GEOM::GEOM_Object_ptr theAx1,
+                                         GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnPlaneWithLocationIDs (GEOM::GEOM_Object_ptr theShape,
-                                                    CORBA::Long           theShapeType,
-                                                    GEOM::GEOM_Object_ptr theAx1,
-                                                    GEOM::GEOM_Object_ptr thePnt,
-                                                    GEOM::shape_state     theState);
+                                                     CORBA::Long           theShapeType,
+                                                     GEOM::GEOM_Object_ptr theAx1,
+                                                     GEOM::GEOM_Object_ptr thePnt,
+                                                     GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnCylinderIDs (GEOM::GEOM_Object_ptr theShape,
-                                           CORBA::Long           theShapeType,
-                                           GEOM::GEOM_Object_ptr theAxis,
-                                           CORBA::Double         theRadius,
-                                           GEOM::shape_state     theState);
+                                            CORBA::Long           theShapeType,
+                                            GEOM::GEOM_Object_ptr theAxis,
+                                            CORBA::Double         theRadius,
+                                            GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnCylinderWithLocationIDs (GEOM::GEOM_Object_ptr theShape,
                                                         CORBA::Long           theShapeType,
@@ -171,10 +172,10 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
                                                         GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnSphereIDs (GEOM::GEOM_Object_ptr theShape,
-                                         CORBA::Long           theShapeType,
-                                         GEOM::GEOM_Object_ptr theCenter,
-                                         CORBA::Double         theRadius,
-                                         GEOM::shape_state     theState);
+                                          CORBA::Long           theShapeType,
+                                          GEOM::GEOM_Object_ptr theCenter,
+                                          CORBA::Double         theRadius,
+                                          GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnQuadrangleIDs (GEOM::GEOM_Object_ptr theShape,
                                               CORBA::Long           theShapeType,
@@ -185,39 +186,39 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
                                               GEOM::shape_state     theState);
 
   GEOM::ListOfGO* GetShapesOnBox (GEOM::GEOM_Object_ptr theBox,
-                                 GEOM::GEOM_Object_ptr theShape,
-                                 CORBA::Long           theShapeType,
-                                 GEOM::shape_state     theState);
+                                  GEOM::GEOM_Object_ptr theShape,
+                                  CORBA::Long           theShapeType,
+                                  GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnBoxIDs (GEOM::GEOM_Object_ptr theBox,
-                                      GEOM::GEOM_Object_ptr theShape,
-                                      CORBA::Long           theShapeType,
-                                      GEOM::shape_state     theState);
+                                       GEOM::GEOM_Object_ptr theShape,
+                                       CORBA::Long           theShapeType,
+                                       GEOM::shape_state     theState);
 
   GEOM::ListOfGO* GetShapesOnShape (GEOM::GEOM_Object_ptr theSheckShape,
-                                   GEOM::GEOM_Object_ptr theShape,
-                                   CORBA::Short          theShapeType,
-                                   GEOM::shape_state     theState);
+                                    GEOM::GEOM_Object_ptr theShape,
+                                    CORBA::Short          theShapeType,
+                                    GEOM::shape_state     theState);
 
   GEOM::GEOM_Object_ptr GetShapesOnShapeAsCompound
                                    (GEOM::GEOM_Object_ptr theSheckShape,
-                                   GEOM::GEOM_Object_ptr theShape,
-                                   CORBA::Short          theShapeType,
-                                   GEOM::shape_state     theState);
+                                    GEOM::GEOM_Object_ptr theShape,
+                                    CORBA::Short          theShapeType,
+                                    GEOM::shape_state     theState);
 
   GEOM::ListOfLong* GetShapesOnShapeIDs (GEOM::GEOM_Object_ptr theCheckShape,
-                                        GEOM::GEOM_Object_ptr theShape,
-                                        CORBA::Short          theShapeType,
-                                        GEOM::shape_state     theState);
+                                         GEOM::GEOM_Object_ptr theShape,
+                                         CORBA::Short          theShapeType,
+                                         GEOM::shape_state     theState);
 
   GEOM::GEOM_Object_ptr GetInPlace (GEOM::GEOM_Object_ptr theShapeWhere,
-                                   GEOM::GEOM_Object_ptr theShapeWhat);
+                                    GEOM::GEOM_Object_ptr theShapeWhat);
 
   GEOM::GEOM_Object_ptr GetInPlaceByHistory (GEOM::GEOM_Object_ptr theShapeWhere,
-                                            GEOM::GEOM_Object_ptr theShapeWhat);
+                                             GEOM::GEOM_Object_ptr theShapeWhat);
 
   GEOM::GEOM_Object_ptr GetSame (GEOM::GEOM_Object_ptr theShapeWhere,
-                                GEOM::GEOM_Object_ptr theShapeWhat);
+                                 GEOM::GEOM_Object_ptr theShapeWhat);
 
   ::GEOMImpl_IShapesOperations* GetOperations()
   { return (::GEOMImpl_IShapesOperations*)GetImpl(); }
index f091c990f948a12f031acf740c3acacd3e2c6083..0adae06321aa9c953f32c1684fd132f26dd41c10 100644 (file)
@@ -65,7 +65,7 @@ GEOM_Object_i::GEOM_Object_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr
 
 GEOM_Object_i::~GEOM_Object_i()
 {
-  //MESSAGE("GEOM_Object_i::~GEOM_Object_i");
+  MESSAGE("GEOM_Object_i::~GEOM_Object_i");
   GEOM_Engine::GetEngine()->RemoveObject(_impl);
 }
 
@@ -372,16 +372,13 @@ SALOMEDS::TMPFile* GEOM_Object_i::GetShapeStream()
   BRepTools::Write(aShape, streamShape);
   //Returns the number of bytes that have been stored in the stream's buffer.
   int size = streamShape.str().size();
-  char* buf = new char [size];
-  //Get pointer on internal character array in ostrstream
-  const char* valueOfStream = streamShape.str().c_str();
-  //Create copy of ostrstream content
-  memcpy(buf, valueOfStream, size);
-
-  CORBA::Octet* OctetBuf =  (CORBA::Octet*)buf;
+  //Allocate octect buffer of required size
+  CORBA::Octet* OctetBuf = SALOMEDS::TMPFile::allocbuf(size);
+  //Copy ostrstream content to the octect buffer
+  memcpy(OctetBuf, streamShape.str().c_str(), size);
+  //Create and return TMPFile
   SALOMEDS::TMPFile_var SeqFile = new SALOMEDS::TMPFile(size,size,OctetBuf,1);
   return SeqFile._retn();
-
 }
 
 
diff --git a/src/GEOM_PY/Makefile.am b/src/GEOM_PY/Makefile.am
new file mode 100644 (file)
index 0000000..a3b6695
--- /dev/null
@@ -0,0 +1,27 @@
+#  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, 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.
+#
+#  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
+#
+
+include $(top_srcdir)/adm_local/unix/make_common_starter.am
+
+SUBDIRS= structelem
+
+salomepypkgdir = $(salomepythondir)/salome/geom
+salomepypkg_PYTHON = \
+       __init__.py \
+       geomtools.py
diff --git a/src/GEOM_PY/__init__.py b/src/GEOM_PY/__init__.py
new file mode 100644 (file)
index 0000000..5d3edfa
--- /dev/null
@@ -0,0 +1 @@
+# -*- coding: iso-8859-1 -*-
diff --git a/src/GEOM_PY/geomtools.py b/src/GEOM_PY/geomtools.py
new file mode 100644 (file)
index 0000000..9693525
--- /dev/null
@@ -0,0 +1,115 @@
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2007-2009     EDF R&D
+# 
+#    This file is part of PAL_SRC.
+#
+#    PAL_SRC is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    PAL_SRC 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 General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with PAL_SRC; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
+#
+"""
+This module provides tools to facilitate the use of geom engine and geom
+objects in Salome.
+"""
+
+import salome
+GEOM = None    # GEOM module is loaded only when needed
+
+from salome.kernel.logger import Logger
+from salome.kernel import termcolor
+logger = Logger("salome.geom.geomtools", color = termcolor.RED)
+
+from salome.kernel.studyedit import getActiveStudyId, getStudyEditor
+
+_geompys = {}
+
+def getGeompy(studyId = None):
+    """
+    Return an object behaving exactly like geompy module, except that it is
+    associated with the study `studyId`. If `studyId` is :const:`None`, return
+    a pseudo geompy object for the current study.
+    """
+    # We can't use geompy module because it initializes GEOM with
+    # salome.myStudy, which may not exist. So we use this trick to create
+    # a pseudo geompy module. 
+    salome.salome_init()
+    if studyId is None:
+        studyId = getActiveStudyId()
+    if not _geompys.has_key(studyId):
+        import geompyDC
+        _geompys[studyId] = salome.lcc.FindOrLoadComponent("FactoryServer",
+                                                           "GEOM")
+        _geompys[studyId].ShapeType = geompyDC.ShapeType
+        _geompys[studyId].GEOM = geompyDC.GEOM
+        _geompys[studyId].kind = geompyDC.kind
+        _geompys[studyId].info = geompyDC.info
+        _geompys[studyId].PackData = geompyDC.PackData
+        _geompys[studyId].ReadTexture = geompyDC.ReadTexture
+        study = salome.myStudyManager.GetStudyByID(studyId)
+        _geompys[studyId].init_geom(study)
+    return _geompys[studyId]
+
+
+class GeomStudyTools:
+    """
+    This class provides several methods to manipulate geom objects in Salome
+    study. The parameter `studyEditor` defines a
+    :class:`~salome.kernel.studyedit.StudyEditor` object used to access the study. If
+    :const:`None`, the method returns a :class:`~salome.kernel.studyedit.StudyEditor`
+    object on the current study.
+
+    .. attribute:: editor
+    
+       This instance attribute contains the underlying
+       :class:`~salome.kernel.studyedit.StudyEditor` object. It can be used to access
+       the study but the attribute itself should not be modified.
+
+    """
+
+    def __init__(self, studyEditor = None):
+        global GEOM
+        if GEOM is None:
+            GEOM = __import__("GEOM")
+        if studyEditor is None:
+            studyEditor = getStudyEditor()
+        self.editor = studyEditor
+
+    def displayShapeByName(self, shapeName, color = None):
+        """
+        Display the geometrical shape whose name in the study is `shapeName`.
+        
+        :type   shapeName: string
+        :param  shapeName: name of the geometrical shape
+        
+        :type   color: tuple (triplet)
+        :param  color: RGB components of the color of the shape
+        
+        :return: True if the shape was found, False otherwise
+        """
+        logger.debug("displayShapeByName in PAL: %s with color %s" %
+                     (shapeName, color))
+        listSO = self.editor.study.FindObjectByName(shapeName, "GEOM")
+        for sObj in listSO:
+            entry = sObj.GetID()
+            geomObj = self.editor.getOrLoadObject(sObj)
+            if geomObj:
+                shape = geomObj._narrow(GEOM.GEOM_Object)
+                if shape:                
+                    geomgui = salome.ImportComponentGUI("GEOM")            
+                    geomgui.createAndDisplayGO(entry)
+                    geomgui.setDisplayMode(entry, 1)
+                    if color is not None:
+                        geomgui.setColor(entry, color[0], color[1], color[2])
+                    return True
+        return False
diff --git a/src/GEOM_PY/structelem/Makefile.am b/src/GEOM_PY/structelem/Makefile.am
new file mode 100644 (file)
index 0000000..cea34db
--- /dev/null
@@ -0,0 +1,26 @@
+#  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, 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.
+#
+#  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
+#
+
+include $(top_srcdir)/adm_local/unix/make_common_starter.am
+
+salomepypkgdir = $(salomepythondir)/salome/geom/structelem
+salomepypkg_PYTHON = \
+       __init__.py \
+       parts.py \
+       orientation.py
diff --git a/src/GEOM_PY/structelem/__init__.py b/src/GEOM_PY/structelem/__init__.py
new file mode 100644 (file)
index 0000000..e713832
--- /dev/null
@@ -0,0 +1,486 @@
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2007-2009      EDF R&D
+# 
+#    This file is part of PAL_SRC.
+#
+#    PAL_SRC is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    PAL_SRC 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 General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with PAL_SRC; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
+#
+"""
+This package is used to create and visualize structural elements. It contains
+three modules:
+
+* This module :mod:`salome.geom.structelem` defines the main classes
+  :class:`StructuralElement` and :class:`StructuralElementManager` that can be
+  directly used to build structural elements.
+* The module :mod:`salome.geom.structelem.parts` defines the classes corresponding to
+  the different parts (beams, grids, etc.) that make up a structural element.
+  It is used to build the geometric shapes in the structural element.
+* The module :mod:`salome.geom.structelem.orientation` defines the classes that are
+  used to compute the orientation of the structural element parts and to build
+  the corresponding markers.
+
+A structural element is a set of geometric shapes (beams, grids, etc.) that
+are built semi-automatically along a set of geometric primitives (edges for
+instance). They are visualized with the same color as their base primitives in
+the geom viewer.
+
+Structural elements are generally created by the
+:class:`StructuralElementManager` class, from a list of commands describing
+the element to create.
+
+Example::
+
+    commandList = [('VisuPoutreGenerale', {'Group_Maille': 'Edge_1'}),
+                   ('VisuBarreCercle',
+                    {'R': 30, 'Group_Maille': 'Edge_1', 'EP': 15}),
+                  ]
+
+    structElemManager = StructuralElementManager()
+    elem = structElemManager.createElement(commandList)
+    elem.display()
+    salome.sg.updateObjBrowser(True)
+
+"""
+
+import types
+
+import salome
+
+from salome.kernel.logger import Logger
+from salome.kernel import termcolor
+logger = Logger("salome.geom.structelem", color = termcolor.RED)
+from salome.kernel.studyedit import getStudyEditor
+
+__all__ = ["parts", "orientation"]
+
+from salome.geom.structelem import parts
+from salome.geom.structelem.parts import InvalidParameterError
+
+class StructuralElementManager:
+    """
+    This class manages the structural elements in the study. It is used to
+    create a new structural element from a list of commands. The parameter
+    `studyId` defines the ID of the study in which the manager will create
+    structural elements. If it is :const:`None` or not specified, it will use
+    the ID of the current study as defined by
+    :func:`salome.kernel.studyedit.getActiveStudyId` function.
+    """
+    def __init__(self, studyId = None):
+        self._studyEditor = getStudyEditor(studyId)
+
+    def createElement(self, commandList):
+        """
+        Create a structural element from the list of commands `commandList`.
+        Each command in this list represent a part of the structural element,
+        that is a specific kind of shape (circular beam, grid, etc.)
+        associated with one or several geometrical primitives. A command must
+        be a tuple. The first element is the structural element part class
+        name or alias name. The second element is a dictionary containing the
+        parameters describing the part. Valid class names are all the classes
+        defined in the module :mod:`~salome.geom.structelem.parts` and inheriting
+        class :class:`~parts.StructuralElementPart`. There are also several
+        aliases for backward compatibility. Here is the complete list:
+        
+        * :class:`~parts.GeneralBeam`
+        * :class:`~parts.CircularBeam`
+        * :class:`~parts.RectangularBeam`
+        * :class:`~parts.ThickShell`
+        * :class:`~parts.Grid`
+
+        * :func:`~parts.VisuPoutreGenerale` (alias for
+          :class:`~parts.GeneralBeam`)
+        * :func:`~parts.VisuPoutreCercle` (alias for
+          :class:`~parts.CircularBeam`)
+        * :func:`~parts.VisuPoutreRectangle` (alias for
+          :class:`~parts.RectangularBeam`)
+        * :func:`~parts.VisuBarreGenerale` (alias for
+          :class:`~parts.GeneralBeam`)
+        * :func:`~parts.VisuBarreRectangle` (alias for
+          :class:`~parts.RectangularBeam`)
+        * :func:`~parts.VisuBarreCercle` (alias for
+          :class:`~parts.CircularBeam`)
+        * :func:`~parts.VisuCable` (alias for :class:`~parts.CircularBeam`)
+        * :func:`~parts.VisuCoque` (alias for :class:`~parts.ThickShell`)
+        * :func:`~parts.VisuGrille` (alias for :class:`~parts.Grid`)
+        
+        * ``Orientation``: This identifier is used to specify the orientation
+          of one or several 1D structural element parts (i.e. beams). The
+          parameters are described in class
+          :class:`~orientation.Orientation1D`.
+
+        The valid parameters in the dictionary depend on the type of the
+        structural element part, and are detailed in the documentation of
+        the corresponding class. The only parameter that is common to all the
+        classes is "MeshGroups" (that can also be named "Group_Maille"). It
+        defines the name of the geometrical object(s) in the study that will
+        be used as primitives to build the structural element part. This
+        parameter can be either a list of strings or a single string with
+        comma separated names.
+        """
+        logger.debug("StructuralElementManager.createElement: START")
+        logger.debug("Command list: %s" % commandList)
+
+        element = StructuralElement(self._studyEditor.studyId)
+        orientationCmdList = []
+        for command in commandList:
+            (parttype, parameters) = command
+            if parttype == "Orientation":
+                orientationCmdList += [command]
+            elif parttype not in dir(parts):
+                logger.warning('Invalid structural element part name "%s"'
+                               ' in command %s, this command will be '
+                               'ignored.' % (parttype, command))
+            else:
+                (meshGroupList, newparams) = self._extractMeshGroups(command)
+                for meshGroup in meshGroupList:
+                    # Get the geometrical primitive object
+                    groupSObj = self._studyEditor.study.FindObject(meshGroup)
+                    groupGeomObj = None
+                    if groupSObj is not None:
+                        groupGeomObj = \
+                                self._studyEditor.getOrLoadObject(groupSObj)
+                    if groupGeomObj is None:
+                        logger.error("Can't get geom object corresponding to "
+                                     'mesh group "%s", structural element '
+                                     "part %s will not be built." %
+                                     (groupName, part))
+                        continue
+                    
+                    # Create the part
+                    try:
+                        part = parts.__dict__[parttype](
+                                        self._studyEditor.studyId, meshGroup,
+                                        groupGeomObj, newparams)
+                        element.addPart(part)
+                    except InvalidParameterError, e:
+                        logger.error("Invalid parameter error: %s" % e)
+                        raise
+                    except:
+                        logger.exception("Can't create structural element"
+                                         " part with command %s." %
+                                         str(command))
+
+        # Orientations are parsed after the parts because they must be
+        # associated with existing parts.
+        for command in orientationCmdList:
+            (parttype, parameters) = command
+            (meshGroupList, orientParams) = self._extractMeshGroups(command)
+            for meshGroup in meshGroupList:
+                element.addOrientation(meshGroup, orientParams)
+
+        element.build()
+        logger.debug("StructuralElementManager.createElement: END")
+        return element
+    
+    def _extractMeshGroups(self, command):
+        """
+        This method extracts the names of the mesh groups (i.e. the
+        geometrical objects used to build the structural element part) in the
+        command in parameter. It returns a tuple containing the mesh groups as
+        a list of strings and the other parameters of the command as a new
+        dictionary.
+        """
+        (parttype, parameters) = command
+        newparams = parameters.copy()
+        groupMailleParam = newparams.pop("Group_Maille", None)
+        meshGroupParam = newparams.pop("MeshGroups", None)
+        if groupMailleParam is None and meshGroupParam is None:
+            logger.warning("No mesh group specified in command %s, this "
+                           "command will be ignored." % command)
+            return ([], newparams)
+        elif groupMailleParam is not None and meshGroupParam is not None:
+            logger.warning('Both "MeshGroups" and "Group_Maille" specified in'
+                           ' command %s, only "MeshGroups" will be used.' %
+                           command)
+        elif groupMailleParam is not None and meshGroupParam is None:
+            meshGroupParam = groupMailleParam
+        
+        meshGroupList = []
+        if type(meshGroupParam) == types.StringType:
+            meshGroupList = self._getMeshGroupListFromString(meshGroupParam)
+        else:
+            for item in meshGroupParam:
+                meshGroupList += self._getMeshGroupListFromString(item)
+        
+        if len(meshGroupList) == 0:
+            logger.warning("Mesh group list is empty in command %s, this "
+                           "command will be ignored." % command)
+
+        return (meshGroupList, newparams)
+    
+    def _getMeshGroupListFromString(self, meshString):
+        """
+        This method splits the string in parameter to extract comma separated
+        names. Those names are returned as a list of strings.
+        """
+        meshGroupList = []
+        list = meshString.split(",")
+        for item in list:
+            strippedItem = item.strip()
+            if len(strippedItem) > 0:
+                meshGroupList.append(strippedItem)
+        return meshGroupList
+
+
+class StructuralElement:
+    """
+    This class represents a structural element, i.e. a set of geometrical
+    objects built along geometrical primitives. The parameter `studyId`
+    defines the ID of the study that will contain the structural element. If
+    it is :const:`None` or not specified, the constructor will use the ID of
+    the active study as defined by :func:`salome.kernel.studyedit.getActiveStudyId`
+    function. Structural elements are normally created by the class
+    :class:`StructuralElementManager`, so this class should not be
+    instantiated directly in the general case.
+    """
+    _counter = 1
+    _mainFolderTag = 14725
+
+    def __init__(self, studyId = None):
+        # _parts is the dictionary mapping group name to structural element
+        # part. _shapeDict is the dictionary mapping SubShapeID objects to
+        # structural element parts. Both are used to avoid duplicate shapes
+        # in structural elements.
+        self._parts = {}
+        self._shapeDict = {}
+        self._id = StructuralElement._counter
+        StructuralElement._counter += 1
+        self._studyEditor = getStudyEditor(studyId)
+        logger.debug("Creating structural element in study %s" %
+                     self._studyEditor.studyId)
+        self._SObject = None
+
+    def _getSObject(self):
+        """
+        Find or create the study object corresponding to the structural
+        element. This object is named "SE_N" where N is a numerical ID. 
+        """
+        if self._SObject is None:
+            geomComponent = self._studyEditor.study.FindComponent("GEOM")
+            mainFolder = self._studyEditor.setItemAtTag(geomComponent,
+                                            StructuralElement._mainFolderTag,
+                                            name = "Structural Elements")
+            self._SObject = self._studyEditor.findOrCreateItem(mainFolder,
+                                            name = "SE_" + str(self._id))
+        return self._SObject
+
+    def addPart(self, newpart):
+        """
+        Add a part to the structural element.
+
+        :type  newpart: :class:`~parts.StructuralElementPart`
+        :param newpart: the part to add to the structural element.
+
+        """
+        newshapes = newpart.baseShapesSet
+
+        # Check duplicate groups
+        if self._parts.has_key(newpart.groupName):
+            logger.warning('Mesh group "%s" is used several times in the '
+                           'structural element. Only the last definition '
+                           'will be used.' % newpart.groupName)
+        else:
+            # Check duplicate shapes
+            intersect = newshapes.intersection(self._shapeDict.keys())
+            while len(intersect) > 0:
+                shape, = intersect
+                oldpartwithshape = self._shapeDict[shape]
+                oldpartshapes = oldpartwithshape.baseShapesSet
+                intersectwitholdpart = intersect.intersection(oldpartshapes)
+                logger.warning('Some shapes are common to groups "%s" and '
+                               '"%s". For those, the parameters defined for '
+                               '"%s" will be used.' %
+                               (oldpartwithshape.groupName, newpart.groupName,
+                                newpart.groupName))
+                oldpartwithshape.baseShapesSet = \
+                                oldpartshapes.difference(intersectwitholdpart)
+                intersect = intersect.difference(intersectwitholdpart)
+
+        # Finally add the new part in the structural element
+        self._parts[newpart.groupName] = newpart
+        for shape in newshapes:
+            self._shapeDict[shape] = newpart
+
+    def addOrientation(self, meshGroup, orientParams):
+        """
+        Add orientation information to a part in the structural element. This
+        information will be used to build the corresponding markers.
+
+        :type  meshGroup: string
+        :param meshGroup: the name of a geometrical primitive. The orientation
+                          information will apply to the structural element
+                          part built along this primitive.
+
+        :type  orientParams: dictionary
+        :param orientParams: parameters defining the orientation of the
+                             structural element part. Those parameters are
+                             detailed in class
+                             :class:`~orientation.Orientation1D`.
+
+        """
+        if self._parts.has_key(meshGroup):
+            self._parts[meshGroup].addOrientation(orientParams)
+        else:
+            logger.warning('Mesh group "%s" not found in structural element, '
+                           'cannot set orientation.' % meshGroup)
+
+    def build(self):
+        """
+        Build the geometric shapes and the markers corresponding to the
+        different parts of the structural element, and add them to the study.
+        """
+        gg = salome.ImportComponentGUI("GEOM")
+        for part in self._parts.itervalues():
+            # Build the structural element part
+            logger.debug("Building %s" % part)
+            try:
+                (shape, markers) = part.build()
+                if shape is None:
+                    logger.error("Part %s has not been built" % part)
+                    continue
+            except:
+                logger.exception("Couldn't build part %s" % part)
+                continue
+            
+            # Add the new objects to the study
+            IOR = self._studyEditor.study.ConvertObjectToIOR(shape)
+            shapeSObjName = part.name + "_" + part.groupName
+            icon = None
+            if salome.hasDesktop():
+                icon = gg.getShapeTypeIcon(IOR)
+            shapeSObj = self._studyEditor.createItem(self._getSObject(),
+                                            name = shapeSObjName, IOR = IOR,
+                                            icon = icon)
+            if markers is not None and len(markers) > 0:
+                i = 1
+                for marker in markers:
+                    markerIOR = \
+                            self._studyEditor.study.ConvertObjectToIOR(marker)
+                    markerSObjName = "Orient_" + shapeSObjName
+                    if len(markers) > 1:
+                        markerSObjName += "_%d" % i
+                    markerSObj = self._studyEditor.createItem(
+                                                self._getSObject(),
+                                                name = markerSObjName,
+                                                IOR = markerIOR,
+                                                icon = "ICON_OBJBROWSER_LCS")
+                    i += 1
+
+    def display(self):
+        """
+        Display the structural element in the geom view.
+        """
+        StructuralElement.showElement(self._SObject)
+
+    @staticmethod
+    def showElement(theSObject):
+        """
+        Display the structural element corresponding to the study object
+        `theSObject`
+        """
+        if theSObject is not None:
+            gg = salome.ImportComponentGUI("GEOM")
+            aStudy = theSObject.GetStudy()
+            editor = getStudyEditor(aStudy._get_StudyId())
+            aIterator = aStudy.NewChildIterator(theSObject)
+            aIterator.Init()
+            while aIterator.More():
+                sobj = aIterator.Value()
+                icon = editor.getIcon(sobj)
+                if icon != "ICON_OBJBROWSER_LCS":
+                    entry = aIterator.Value().GetID()
+                    gg.createAndDisplayGO(entry)
+                    gg.setDisplayMode(entry, 1)
+                aIterator.Next()
+
+
+def TEST_CreateGeometry():
+    import geompy
+    import SALOMEDS
+    geompy.init_geom(salome.myStudy)
+    Box_1 = geompy.MakeBoxDXDYDZ(200, 200, 200)
+    edges = geompy.SubShapeAllSorted(Box_1, geompy.ShapeType["EDGE"])
+    edges[0].SetColor(SALOMEDS.Color(1.0,0.0,0.0))
+    edges[1].SetColor(SALOMEDS.Color(0.0,1.0,0.0))
+    edges[2].SetColor(SALOMEDS.Color(0.0,0.0,1.0))
+    edges[3].SetColor(SALOMEDS.Color(1.0,0.0,1.0))
+    edges[4].SetColor(SALOMEDS.Color(0.0,1.0,1.0))
+    edges[5].SetColor(SALOMEDS.Color(0.5,0.0,0.0))
+    edges[6].SetColor(SALOMEDS.Color(0.0,0.5,0.0))
+    edges[7].SetColor(SALOMEDS.Color(0.0,0.0,0.5))
+    geompy.addToStudy(Box_1, "Box_1")
+    for i in range(len(edges)):
+        geompy.addToStudyInFather(Box_1, edges[i], "Edge_%d" % i)
+    faces = geompy.SubShapeAllSorted(Box_1, geompy.ShapeType["FACE"])
+    faces[3].SetColor(SALOMEDS.Color(1.0,0.5,0.0))
+    faces[4].SetColor(SALOMEDS.Color(0.0,1.0,0.5))
+    for i in range(len(faces)):
+        geompy.addToStudyInFather(Box_1, faces[i], "Face_%d" % i)
+    Cylinder_1 = geompy.MakeCylinderRH(50, 200)
+    geompy.TranslateDXDYDZ(Cylinder_1, 300, 300, 0)
+    cyl_faces = geompy.SubShapeAllSorted(Cylinder_1, geompy.ShapeType["FACE"])
+    geompy.addToStudy(Cylinder_1, "Cylinder_1")
+    for i in range(len(cyl_faces)):
+        geompy.addToStudyInFather(Cylinder_1, cyl_faces[i], "CylFace_%d" % i)
+    Cylinder_2 = geompy.MakeTranslation(Cylinder_1, 100, 100, 0)
+    cyl_faces2 = geompy.SubShapeAllSorted(Cylinder_2,
+                                          geompy.ShapeType["FACE"])
+    geompy.addToStudy(Cylinder_2, "Cylinder_2")
+    for i in range(len(cyl_faces2)):
+        geompy.addToStudyInFather(Cylinder_2, cyl_faces2[i],
+                                  "CylFace2_%d" % i)
+
+
+def TEST_StructuralElement():
+    salome.salome_init()
+    TEST_CreateGeometry()
+    liste_commandes = [('Orientation', {'MeshGroups': 'Edge_4',
+                                        'VECT_Y': (1.0, 0.0, 1.0)}),
+                       ('Orientation', {'MeshGroups': 'Edge_5',
+                                        'ANGL_VRIL': 45.0}),
+                       ('GeneralBeam', {'MeshGroups': 'Edge_1, Edge_7'}),
+                       ('VisuPoutreCercle', {'MeshGroups': ['Edge_6'],
+                                             'R1': 30, 'R2': 20}),
+                       ('CircularBeam', {'MeshGroups': ['Edge_2', 'Edge_3'],
+                                         'R': 40, 'EP': 20}),
+                       ('RectangularBeam', {'MeshGroups': 'Edge_4, Edge_5',
+                                            'HZ1': 60, 'HY1': 40,
+                                            'EPZ1': 15, 'EPY1': 10,
+                                            'HZ2': 40, 'HY2': 60,
+                                            'EPZ2': 10, 'EPY2': 15}),
+                       ('VisuCable', {'MeshGroups': 'Edge_7', 'R': 5}),
+                       ('VisuCoque', {'MeshGroups': 'Face_4',
+                                      'Epais': 10, 'Excentre': 5,
+                                      'angleAlpha': 45, 'angleBeta': 60}),
+                       ('VisuCoque', {'MeshGroups': 'CylFace_2', 'Epais': 5}),
+                       ('VisuGrille', {'MeshGroups': 'Face_5', 'Excentre': 5,
+                                       'angleAlpha': 45, 'angleBeta': 60}),
+                       ('VisuGrille', {'MeshGroups': 'CylFace2_2',
+                                       'Excentre': 5, 'origAxeX': 400,
+                                       'origAxeY': 400, 'origAxeZ': 0,
+                                       'axeX': 0, 'axeY': 0, 'axeZ': 100}),
+                      ]
+
+    structElemManager = StructuralElementManager()
+    elem = structElemManager.createElement(liste_commandes)
+    if salome.hasDesktop():
+        elem.display()
+        salome.sg.updateObjBrowser(True)
+
+
+# Main function only used to test the module
+if __name__ == "__main__":
+    TEST_StructuralElement()
diff --git a/src/GEOM_PY/structelem/orientation.py b/src/GEOM_PY/structelem/orientation.py
new file mode 100644 (file)
index 0000000..1bf1117
--- /dev/null
@@ -0,0 +1,249 @@
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2007-2009      EDF R&D
+# 
+#    This file is part of PAL_SRC.
+#
+#    PAL_SRC is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    PAL_SRC 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 General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with PAL_SRC; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
+#
+"""
+This module is used to compute the orientation of the different parts in a
+structural element and to build the corresponding markers (trihedrons).
+"""
+
+import math
+
+from salome.kernel.logger import Logger
+from salome.kernel import termcolor
+logger = Logger("__PAL_GEOM__.structelem.orientation", color = termcolor.RED)
+
+
+class Orientation1D:
+    """
+    This class is used to compute the orientation of 1D elements and to build
+    the corresponding markers.
+    """
+    
+    def __init__(self):
+        self.geom = None
+        self._vectorYCoords = None
+        self._angle = 0.0
+
+    def __repr__(self):
+        reprdict = self.__dict__.copy()
+        del reprdict["geom"]
+        return '%s(%s)' % (self.__class__.__name__, reprdict)
+
+    def addParams(self, params):
+        """
+        Add orientation parameters. `params` is a dictionary containing one or
+        several orientation parameters. The valid parameters are:
+
+        * "VECT_Y": Triplet defining the local Y axis (the X axis is the
+          main direction of the 1D element).
+        * "ANGL_VRIL": Angle of rotation along the X axis to define the local
+          coordinate system.
+        
+        The parameters can be specified several times. In this case, only the
+        first "VECT_Y" is taken into account, and the values of "ANGL_VRIL"
+        are added to obtain the total rotation angle.
+        """
+        mydict = params.copy()
+        if mydict.has_key("VECT_Y"):
+            newVecCoords = mydict.pop("VECT_Y")
+            if self._vectorYCoords is None:
+                logger.debug("Setting orientation vector Y to %s" %
+                             str(newVecCoords))
+                self._vectorYCoords = newVecCoords
+            else:
+                logger.warning('Orientation parameter "VECT_Y" is specified '
+                               'several times for the same mesh group, vector'
+                               ' %s will be used' % str(self._vectorYCoords))
+        if mydict.has_key("ANGL_VRIL"):
+            newAngle = mydict.pop("ANGL_VRIL")
+            self._angle += newAngle
+            logger.debug("Adding angle %f to orientation, new angle is %f." %
+                         (newAngle, self._angle))
+        if len(mydict) > 0:
+            logger.warning("Invalid orientation parameter(s) (ignored): %s" %
+                           str(mydict))
+
+    def _buildDefaultMarker(self, center, vecX):
+        """
+        Create the default marker, that use the main direction of the 1D
+        object as the local X axis and the global Z axis to determine the
+        local Z axis.
+        """
+        xPoint = self.geom.MakeTranslationVector(center, vecX)
+        givenVecZ = self.geom.MakeVectorDXDYDZ(0.0, 0.0, 1.0)
+        angle = self.geom.GetAngleRadians(vecX, givenVecZ)
+        if abs(angle) < 1e-7 or abs(angle - math.pi) < 1e-7:
+            logger.warning("Beam X axis is colinear to absolute Z axis. "
+                           "Absolute X axis will be used to determine "
+                           "local Z axis.")
+            givenVecZ = self.geom.MakeVectorDXDYDZ(1.0, 0.0, 0.0)
+        zPoint = self.geom.MakeTranslationVector(center, givenVecZ)
+        locPlaneZX = self.geom.MakePlaneThreePnt(center, zPoint, xPoint, 1.0)
+        locY = self.geom.GetNormal(locPlaneZX)
+        marker = self.geom.MakeMarkerPntTwoVec(center,vecX,locY)
+        return marker
+
+    def buildMarker(self, geom, center, vecX):
+        """
+        Create a marker with origin `center` and X axis `vecX`. `geom` is the
+        pseudo-geompy object used to build the geometric shapes.
+        """
+        self.geom = geom
+        marker = None
+        if self._vectorYCoords is None:
+            marker = self._buildDefaultMarker(center, vecX)
+        else:
+            xPoint = self.geom.MakeTranslationVector(center, vecX)
+            givenLocY = self.geom.MakeVectorDXDYDZ(self._vectorYCoords[0],
+                                                   self._vectorYCoords[1],
+                                                   self._vectorYCoords[2])
+            angle = self.geom.GetAngleRadians(vecX, givenLocY)
+            if abs(angle) < 1e-7 or abs(angle - math.pi) < 1e-7:
+                logger.warning("Vector Y is colinear to the beam X axis, "
+                               "using default LCS.")
+                marker = self._buildDefaultMarker(center, vecX)
+            else:
+                yPoint = self.geom.MakeTranslationVector(center, givenLocY)
+                locPlaneXY = self.geom.MakePlaneThreePnt(center, xPoint,
+                                                         yPoint, 1.0)
+                locZ = self.geom.GetNormal(locPlaneXY)
+                zPoint = self.geom.MakeTranslationVector(center, locZ)
+                locPlaneZX = self.geom.MakePlaneThreePnt(center, zPoint,
+                                                         xPoint, 1.0)
+                locY = self.geom.GetNormal(locPlaneZX)
+                marker = self.geom.MakeMarkerPntTwoVec(center,vecX,locY)
+
+        if self._angle != 0.0:
+            angleRad = math.radians(self._angle)
+            marker = self.geom.Rotate(marker, vecX, angleRad)
+
+        return marker
+
+
+class Orientation2D:
+    """
+    This class is used to compute the orientation of 2D elements and to build
+    the corresponding markers. Angles `alpha` and `beta` are used to determine
+    the local coordinate system for the 2D element. If `vect` is not
+    :const:`None`, it is used instead of `alpha` and `beta`.
+    """
+
+    def __init__(self, alpha, beta, vect):
+        self.geom = None
+        self._alpha = alpha
+        self._beta = beta
+        self._vect = vect
+
+    def __repr__(self):
+        reprdict = self.__dict__.copy()
+        del reprdict["geom"]
+        return '%s(%s)' % (self.__class__.__name__, reprdict)
+
+    def _buildDefaultMarker(self, center, normal, warnings = True):
+        """
+        Create the default marker, that use the normal vector of the 2D object
+        as the local Z axis and the global X axis to determine the local X
+        axis. `warnings` can be used to enable or disable the logging of
+        warning messages.
+        """
+        marker = None
+        globalVecX = self.geom.MakeVectorDXDYDZ(1.0, 0.0, 0.0)
+        angle = self.geom.GetAngleRadians(normal, globalVecX)
+        if abs(angle) < 1e-7 or abs(angle - math.pi) < 1e-7:
+            if warnings:
+                logger.warning("Face normal is colinear to absolute X axis. "
+                               "Absolute Y axis will be used to determine "
+                               "local X axis.")
+            globalVecY = self.geom.MakeVectorDXDYDZ(0.0, 1.0, 0.0)
+            marker = self._buildMarkerRefVecX(center, normal, globalVecY)
+        else:
+            marker = self._buildMarkerRefVecX(center, normal, globalVecX)
+        return marker
+
+    def _buildMarkerRefVecX(self, center, normal, refVecX):
+        """
+        Create a marker using `normal` as Z axis and `refVecX` to determine
+        the X axis.
+        """
+        xPoint = self.geom.MakeTranslationVector(center, refVecX)
+        zPoint = self.geom.MakeTranslationVector(center, normal)
+        locPlaneZX = self.geom.MakePlaneThreePnt(center, zPoint, xPoint, 1.0)
+        locY = self.geom.GetNormal(locPlaneZX)
+        yPoint = self.geom.MakeTranslationVector(center, locY)
+        locPlaneYZ = self.geom.MakePlaneThreePnt(center, yPoint, zPoint, 1.0)
+        locX = self.geom.GetNormal(locPlaneYZ)
+        marker = self.geom.MakeMarkerPntTwoVec(center, locX, locY)
+        return marker
+
+    def buildMarker(self, geom, center, normal, warnings = True):
+        """
+        Create a marker with origin `center` and `normal` as Z axis. The other
+        axes are computed using the parameters alpha and beta of the
+        Orientation2D instance. `geom` is the pseudo-geompy object used to
+        build the geometric shapes. `warnings` can be used to enable or
+        disable the logging of warning messages.
+        """
+        self.geom = geom
+        marker = None
+        refVecX = None
+        if self._vect is not None:
+            # Using vector parameter
+            if abs(self._vect[0]) <= 1e-7 and abs(self._vect[1]) <= 1e-7 and \
+                                              abs(self._vect[2]) <= 1e-7:
+                if warnings:
+                    logger.warning("Vector too small: %s, using default LCS" %
+                                   self._vect)
+            else:
+                refVecX = self.geom.MakeVectorDXDYDZ(self._vect[0],
+                                                     self._vect[1],
+                                                     self._vect[2])
+        elif self._alpha is not None and self._beta is not None:
+            # Using alpha and beta angles
+            alphaRad = math.radians(self._alpha)
+            betaRad = math.radians(self._beta)
+            if abs(alphaRad) <= 1e-7 and abs(betaRad) <= 1e-7:
+                if warnings:
+                    logger.warning("Angles too small: (%g, %g), using "
+                                   "default LCS" % (self._alpha, self._beta))
+            else:
+                # rotate global CS with angles alpha and beta
+                refVecX = self.geom.MakeVectorDXDYDZ(1.0, 0.0, 0.0)
+                refVecY = self.geom.MakeVectorDXDYDZ(0.0, 1.0, 0.0)
+                globalVecZ = self.geom.MakeVectorDXDYDZ(0.0, 0.0, 1.0)
+                if abs(alphaRad) > 1e-7:
+                    refVecX = self.geom.Rotate(refVecX, globalVecZ, alphaRad)
+                    refVecY = self.geom.Rotate(refVecY, globalVecZ, alphaRad)
+                if abs(betaRad) > 1e-7:
+                    refVecX = self.geom.Rotate(refVecX, refVecY, betaRad)
+    
+        if refVecX is not None:
+            # build local coordinate system
+            angle = self.geom.GetAngleRadians(normal, refVecX)
+            if abs(angle) < 1e-7 or abs(angle - math.pi) < 1e-7:
+                if warnings:
+                    logger.warning("Face normal is colinear to the reference "
+                                   "X axis, using default LCS.")
+            else:
+                marker = self._buildMarkerRefVecX(center, normal, refVecX)
+
+        if marker is None:
+            marker = self._buildDefaultMarker(center, normal, warnings)
+
+        return marker
diff --git a/src/GEOM_PY/structelem/parts.py b/src/GEOM_PY/structelem/parts.py
new file mode 100644 (file)
index 0000000..0781f6d
--- /dev/null
@@ -0,0 +1,969 @@
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2007-2009      EDF R&D
+# 
+#    This file is part of PAL_SRC.
+#
+#    PAL_SRC is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    PAL_SRC 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 General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with PAL_SRC; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
+#
+"""
+This module defines the different structural element parts. It is used to
+build the geometric shapes of the structural elements. It should not be used
+directly in the general case. Structural elements should be created by the
+class :class:`~salome.geom.structelem.StructuralElementManager`.
+"""
+
+import salome
+
+from salome.kernel.logger import Logger
+from salome.kernel import termcolor
+logger = Logger("salome.geom.structelem.parts", color = termcolor.RED)
+from salome.geom.geomtools import getGeompy
+
+import orientation
+
+# Filling for the beams
+FULL = "FULL"
+HOLLOW = "HOLLOW"
+
+# Minimum dimension for the shapes to extrude
+MIN_DIM_FOR_EXTRUDED_SHAPE = 2e-4
+MIN_LENGTH_FOR_EXTRUSION = 1e-4
+MIN_THICKNESS = 1e-5
+
+
+class InvalidParameterError(Exception):
+    """
+    This exception is raised when an invalid parameter is used to build a
+    structural element part.
+    """
+    
+    def __init__(self, groupName, expression, minValue, value):
+        self.groupName = groupName
+        self.expression = expression
+        self.minValue = minValue
+        self.value = value
+        
+    def __str__(self):
+        return "%s < %g (%s = %g in %s)" % (self.expression, self.minValue,
+                                            self.expression, self.value,
+                                            self.groupName)
+
+
+class SubShapeID:
+    """
+    This class enables the use of subshapes in sets or as dictionary keys.
+    It implements __eq__ and __hash__ methods so that subshapes with the same
+    CORBA object `mainShape` and the same `id` are considered equal.
+    """
+
+    def __init__(self, mainShape, id):
+        self._mainShape = mainShape
+        self._id = id
+
+    def getObj(self, geom):
+        """
+        Return the subshape (GEOM object). `geom` is a pseudo-geompy object
+        used to find the geometrical object.
+        """
+        return geom.GetSubShape(self._mainShape, [self._id])
+    
+    def __eq__(self, other):
+        return self._mainShape._is_equivalent(other._mainShape) and \
+               self._id == other._id
+    
+    def __hash__(self):
+        return self._mainShape._hash(2147483647) ^ self._id
+
+
+class StructuralElementPart:
+    """
+    This class is the base class for all structural element parts. It should
+    not be instantiated directly (consider it as an "abstract" class).
+
+    :type  studyId: integer
+    :param studyId: the ID of the study in which the part is created.
+
+    :type  groupName: string
+    :param groupName: the name of the underlying geometrical primitive in the
+                      study.
+
+    :type  groupGeomObj: GEOM object
+    :param groupGeomObj: the underlying geometrical primitive.
+
+    :type  parameters: dictionary
+    :param parameters: parameters defining the structural element (see
+                       subclasses for details).
+
+    :type  name: string
+    :param name: name to use for the created object in the study.
+
+    """
+    
+    DEFAULT_NAME = "StructElemPart"
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = DEFAULT_NAME):
+        self._parameters = parameters
+        self.groupName = groupName
+        self._groupGeomObj = groupGeomObj
+        self._orientation = None
+        self._paramUserName = {}
+        self.name = name
+        self.geom = getGeompy(studyId)
+        self.baseShapesSet = set()
+        mainShape = self.geom.GetMainShape(groupGeomObj)
+        listIDs = self.geom.GetObjectIDs(groupGeomObj)
+        if mainShape is not None and listIDs is not None:
+            for id in listIDs:
+                self.baseShapesSet.add(SubShapeID(mainShape, id))
+
+    def _getParameter(self, nameList, default = None):
+        """
+        This method finds the value of a parameter in the parameters
+        dictionary. The argument is a list because some parameters can have
+        several different names.
+        """
+        if len(nameList) > 0:
+            paramName = nameList[0]
+        for name in nameList:
+            if self._parameters.has_key(name):
+                self._paramUserName[paramName] = name
+                return self._parameters[name]
+        return default
+
+    def _getParamUserName(self, paramName):
+        """
+        This method finds the user name for a parameter.
+        """
+        if self._paramUserName.has_key(paramName):
+            return self._paramUserName[paramName]
+        else:
+            return paramName
+
+    def __repr__(self):
+        reprdict = self.__dict__.copy()
+        del reprdict["_parameters"]
+        del reprdict["groupName"]
+        del reprdict["_groupGeomObj"]
+        del reprdict["_paramUserName"]
+        del reprdict["name"]
+        del reprdict["geom"]
+        del reprdict["baseShapesSet"]
+        return '%s("%s", %s)' % (self.__class__.__name__, self.groupName,
+                                 reprdict)
+
+    def addOrientation(self, orientParams):
+        """
+        Add orientation information to the structural element part. See class
+        :class:`~salome.geom.structelem.orientation.Orientation1D` for the description
+        of the parameters.
+        """
+        self._orientation.addParams(orientParams)
+
+    def _checkSize(self, value, mindim, expression):
+        """
+        This method checks that some parameters or some expressions involving
+        those parameters are greater than a minimum value.
+        """
+        if value < mindim:
+            raise InvalidParameterError(self.groupName, expression,
+                                        mindim, value)
+
+    def build(self):
+        """
+        Build the geometric shapes and the markers corresponding to the
+        structural element part in the study `studyId`.
+        """
+        shape = self._buildPart()
+        markers = self._buildMarkers()
+        shape.SetColor(self._groupGeomObj.GetColor())
+        for marker in markers:
+            marker.SetColor(self._groupGeomObj.GetColor())
+        return (shape, markers)
+
+    def _buildPart(self):
+        """
+        This abstract method must be implemented in subclasses and should
+        create the geometrical shape(s) of the structural element part.
+        """
+        raise NotImplementedError("Method _buildPart not implemented in class"
+                                  " %s (it must be implemented in "
+                                  "StructuralElementPart subclasses)." %
+                                  self.__class__.__name__)
+
+    def _buildMarkers(self):
+        """
+        This abstract method must be implemented in subclasses and should
+        create the markers defining the orientation of the structural element
+        part.
+        """
+        raise NotImplementedError("Method _buildMarker not implemented in "
+                                  "class %s (it must be implemented in "
+                                  "StructuralElementPart subclasses)." %
+                                  self.__class__.__name__)
+
+    def _getSubShapes(self, minDim = MIN_LENGTH_FOR_EXTRUSION):
+        """
+        Find and return the base subshapes in the structural element part.
+        """
+        subShapes = []
+        for subShapeID in self.baseShapesSet:
+            subShape = subShapeID.getObj(self.geom)
+            length = self.geom.BasicProperties(subShape)[0]
+            if length < minDim:
+                logger.warning("Length too short (%s - ID %s, length = %g), "
+                               "subshape will not be used in structural "
+                               "element" % (self.groupName, subShapeID._id,
+                                            length))
+            else:
+                subShapes.append(subShape)
+        return subShapes
+
+
+class Beam(StructuralElementPart):
+    """
+    This class is an "abstract" class for all 1D structural element parts. It
+    should not be instantiated directly. See class
+    :class:`StructuralElementPart` for the description of the parameters.
+    """
+
+    DEFAULT_NAME = "Beam"
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = DEFAULT_NAME):
+        StructuralElementPart.__init__(self, studyId, groupName, groupGeomObj,
+                                       parameters, name)
+        self._orientation = orientation.Orientation1D()
+
+    def _isReversed(self, path):
+        """
+        This method checks if a 1D object is "reversed", i.e. if its
+        orientation is different than the orientation of the underlying OCC
+        object.
+        """
+        fParam = 0.
+        lParam = 1.
+        fPoint = self.geom.MakeVertexOnCurve(path, fParam)
+        lPoint = self.geom.MakeVertexOnCurve(path, lParam)
+
+        fNormal = self.geom.MakeTangentOnCurve(path, fParam)
+        lNormal = self.geom.MakeTangentOnCurve(path, lParam)
+
+        fCircle = self.geom.MakeCircle(fPoint, fNormal, 10)
+        lCircle = self.geom.MakeCircle(lPoint, lNormal, 10)
+
+        try:
+            pipe = self.geom.MakePipeWithDifferentSections([fCircle, lCircle],
+                                                           [fPoint, lPoint],
+                                                           path, False, False)
+        except RuntimeError, e:
+            # This dirty trick is needed if the wire is not oriented in the
+            # direction corresponding to parameters 0.0 -> 1.0. In this case,
+            # we catch the error and invert the ends of the wire. This trick
+            # will be removed when the function giving the orientation of an
+            # edge will be added in geompy (see issue 1144 in PAL bugtracker).
+            if (str(e) == "MakePipeWithDifferentSections : First location "
+                          "shapes is not coincided with first vertex of "
+                          "aWirePath"):
+                return True
+            else:
+                raise
+        return False
+
+    def _getVertexAndTangentOnOrientedWire(self, path, param):
+        """
+        Get a vertex and the corresponding tangent on a wire by parameter.
+        This method takes into account the "real" orientation of the wire
+        (i.e. the orientation of the underlying OCC object).
+        """
+        if self._isReversed(path):
+            vertex = self.geom.MakeVertexOnCurve(path, 1.0 - param)
+            invtangent = self.geom.MakeTangentOnCurve(path, 1.0 - param)
+            tanpoint = self.geom.MakeTranslationVectorDistance(vertex,
+                                                               invtangent,
+                                                               -1.0)
+            tangent = self.geom.MakeVector(vertex, tanpoint)
+        else:
+            vertex = self.geom.MakeVertexOnCurve(path, param)
+            tangent = self.geom.MakeTangentOnCurve(path, param)
+        return (vertex, tangent)
+
+    def _makeSolidPipeFromWires(self, wire1, wire2, point1, point2, path):
+        """
+        Create a solid by the extrusion of section `wire1` to section `wire2`
+        along `path`.
+        """
+        face1 = self.geom.MakeFace(wire1, True)
+        face2 = self.geom.MakeFace(wire2, True)
+        shell = self.geom.MakePipeWithDifferentSections([wire1, wire2],
+                                                        [point1, point2],
+                                                        path, False, False)
+        closedShell = self.geom.MakeShell([face1, face2, shell])
+        solid = self.geom.MakeSolid([closedShell])
+        return solid
+
+    def _buildPart(self):
+        """
+        Build the structural element part.
+        """
+        # Get all the subshapes in the group (normally only edges and wires)
+        paths = self._getSubShapes()
+        listPipes = []
+        withContact = False
+        withCorrection = False
+    
+        for path in paths:
+            # Build the sections (rectangular or circular) at each end of the
+            # beam
+            (fPoint, fNormal) = self._getVertexAndTangentOnOrientedWire(path,
+                                                                        0.0)
+            (lPoint, lNormal) = self._getVertexAndTangentOnOrientedWire(path,
+                                                                        1.0)
+            (outerWire1, innerWire1, outerWire2, innerWire2) = \
+                    self._makeSectionWires(fPoint, fNormal, lPoint, lNormal)
+
+            # Create the resulting solid
+            outerSolid = self._makeSolidPipeFromWires(outerWire1, outerWire2,
+                                                      fPoint, lPoint, path)
+            if self.filling == HOLLOW:
+                innerSolid = self._makeSolidPipeFromWires(innerWire1,
+                                                          innerWire2, fPoint,
+                                                          lPoint, path)
+                resultSolid = self.geom.MakeCut(outerSolid, innerSolid)
+                listPipes.append(resultSolid)
+            else:
+                listPipes.append(outerSolid)
+
+        if len(listPipes) == 0:
+            return None
+        elif len(listPipes) == 1:
+            return listPipes[0]
+        else:
+            return self.geom.MakeCompound(listPipes)
+
+    def _buildMarkers(self):
+        """
+        Build the markers defining the orientation of the structural element
+        part.
+        """
+        param = 0.5
+        paths = self._getSubShapes()
+        listMarkers = []
+        for path in paths:
+            (center, vecX) = self._getVertexAndTangentOnOrientedWire(path,
+                                                                     param)
+            marker = self._orientation.buildMarker(self.geom, center, vecX)
+            listMarkers.append(marker)
+        return listMarkers
+
+
+class GeneralBeam(Beam):
+    """
+    This class defines a beam with a generic section. It is represented only
+    as the underlying wire. See class :class:`StructuralElementPart` for the
+    description of the parameters.
+    """
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = Beam.DEFAULT_NAME):
+        Beam.__init__(self, studyId, groupName, groupGeomObj, parameters,
+                      name)
+        logger.debug(repr(self))
+
+    def _buildPart(self):
+        """
+        Create a copy of the underlying wire.
+        """
+        edges = self._getSubShapes(1e-7)
+        wire = None
+        if len(edges) > 0:
+            wire = self.geom.MakeWire(edges)
+        return wire
+
+
+class CircularBeam(Beam):
+    """
+    This class defines a beam with a circular section. It can be full or
+    hollow, and its radius and thickness can vary from one end of the beam to
+    the other. The valid parameters for circular beams are:
+
+    * "R1" or "R": radius at the first end of the beam.
+    * "R2" or "R": radius at the other end of the beam.
+    * "EP1" or "EP" (optional): thickness at the first end of the beam.
+      If not specified or equal to 0, the beam is considered full.
+    * "EP2" or "EP" (optional): thickness at the other end of the beam.
+      If not specified or equal to 0, the beam is considered full.
+
+    See class :class:`StructuralElementPart` for the description of the
+    other parameters.
+
+    """
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = Beam.DEFAULT_NAME):
+        Beam.__init__(self, studyId, groupName, groupGeomObj, parameters,
+                      name)
+
+        self.R1 = self._getParameter(["R1", "R"])
+        self.R2 = self._getParameter(["R2", "R"])
+        self.EP1 = self._getParameter(["EP1", "EP"])
+        self.EP2 = self._getParameter(["EP2", "EP"])
+
+        if self.EP1 is None or self.EP2 is None or \
+                                self.EP1 == 0 or self.EP2 == 0:
+            self.filling = FULL
+        else:
+            self.filling = HOLLOW
+
+        logger.debug(repr(self))
+
+        # Check parameters
+        self._checkSize(self.R1, MIN_DIM_FOR_EXTRUDED_SHAPE / 2.0,
+                        self._getParamUserName("R1"))
+        self._checkSize(self.R2, MIN_DIM_FOR_EXTRUDED_SHAPE / 2.0,
+                        self._getParamUserName("R2"))
+        if self.filling == HOLLOW:
+            self._checkSize(self.EP1, MIN_THICKNESS,
+                            self._getParamUserName("EP1"))
+            self._checkSize(self.EP2, MIN_THICKNESS,
+                            self._getParamUserName("EP2"))
+            self._checkSize(self.R1 - self.EP1,
+                            MIN_DIM_FOR_EXTRUDED_SHAPE / 2.0,
+                            "%s - %s" % (self._getParamUserName("R1"),
+                                         self._getParamUserName("EP1")))
+            self._checkSize(self.R2 - self.EP2,
+                            MIN_DIM_FOR_EXTRUDED_SHAPE / 2.0,
+                            "%s - %s" % (self._getParamUserName("R2"),
+                                         self._getParamUserName("EP2")))
+
+    def _makeSectionWires(self, fPoint, fNormal, lPoint, lNormal):
+        """
+        Create the circular sections used to build the pipe.
+        """
+        outerCircle1 = self.geom.MakeCircle(fPoint, fNormal, self.R1)
+        outerCircle2 = self.geom.MakeCircle(lPoint, lNormal, self.R2)
+        if self.filling == HOLLOW:
+            innerCircle1 = self.geom.MakeCircle(fPoint, fNormal,
+                                                self.R1 - self.EP1)
+            innerCircle2 = self.geom.MakeCircle(lPoint, lNormal,
+                                                self.R2 - self.EP2)
+        else:
+            innerCircle1 = None
+            innerCircle2 = None
+
+        return (outerCircle1, innerCircle1, outerCircle2, innerCircle2)
+
+
+class RectangularBeam(Beam):
+    """
+    This class defines a beam with a rectangular section. It can be full or
+    hollow, and its dimensions can vary from one end of the beam to the other.
+    The valid parameters for rectangular beams are:
+
+    * "HY1", "HY", "H1" or "H": width at the first end of the beam.
+    * "HZ1", "HZ", "H1" or "H": height at the first end of the beam.
+    * "HY2", "HY", "H2" or "H": width at the other end of the beam.
+    * "HZ2", "HZ", "H2" or "H": height at the other end of the beam.
+    * "EPY1", "EPY", "EP1" or "EP" (optional): thickness in the width
+      direction at the first end of the beam. If not specified or equal to 0,
+      the beam is considered full.
+    * "EPZ1", "EPZ", "EP1" or "EP" (optional): thickness in the height
+      direction at the first end of the beam. If not specified or equal to 0,
+      the beam is considered full.
+    * "EPY2", "EPY", "EP2" or "EP" (optional): thickness in the width
+      direction at the other end of the beam. If not specified or equal to 0,
+      the beam is considered full.
+    * "EPZ2", "EPZ", "EP2" or "EP" (optional): thickness in the height
+      direction at the other end of the beam. If not specified or equal to 0,
+      the beam is considered full.
+
+    See class :class:`StructuralElementPart` for the description of the
+    other parameters.
+
+    """
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = Beam.DEFAULT_NAME):
+        Beam.__init__(self, studyId, groupName, groupGeomObj, parameters,
+                      name)
+
+        self.HY1 = self._getParameter(["HY1", "HY", "H1", "H"])
+        self.HZ1 = self._getParameter(["HZ1", "HZ", "H1", "H"])
+        self.HY2 = self._getParameter(["HY2", "HY", "H2", "H"])
+        self.HZ2 = self._getParameter(["HZ2", "HZ", "H2", "H"])
+        self.EPY1 = self._getParameter(["EPY1", "EPY", "EP1", "EP"])
+        self.EPZ1 = self._getParameter(["EPZ1", "EPZ", "EP1", "EP"])
+        self.EPY2 = self._getParameter(["EPY2", "EPY", "EP2", "EP"])
+        self.EPZ2 = self._getParameter(["EPZ2", "EPZ", "EP2", "EP"])
+
+        if self.EPY1 is None or self.EPZ1 is None or \
+           self.EPY2 is None or self.EPZ2 is None or \
+           self.EPY1 == 0 or self.EPZ1 == 0 or \
+           self.EPY2 == 0 or self.EPZ2 == 0:
+            self.filling = FULL
+        else:
+            self.filling = HOLLOW
+
+        logger.debug(repr(self))
+
+        # Check parameters
+        self._checkSize(self.HY1, MIN_DIM_FOR_EXTRUDED_SHAPE,
+                        self._getParamUserName("HY1"))
+        self._checkSize(self.HZ1, MIN_DIM_FOR_EXTRUDED_SHAPE,
+                        self._getParamUserName("HZ1"))
+        self._checkSize(self.HY2, MIN_DIM_FOR_EXTRUDED_SHAPE,
+                        self._getParamUserName("HY2"))
+        self._checkSize(self.HZ2, MIN_DIM_FOR_EXTRUDED_SHAPE,
+                        self._getParamUserName("HZ2"))
+        if self.filling == HOLLOW:
+            self._checkSize(self.EPY1, MIN_THICKNESS,
+                            self._getParamUserName("EPY1"))
+            self._checkSize(self.EPZ1, MIN_THICKNESS,
+                            self._getParamUserName("EPZ1"))
+            self._checkSize(self.EPY2, MIN_THICKNESS,
+                            self._getParamUserName("EPY2"))
+            self._checkSize(self.EPZ2, MIN_THICKNESS,
+                            self._getParamUserName("EPZ2"))
+            self._checkSize(self.HY1 - 2 * self.EPY1,
+                            MIN_DIM_FOR_EXTRUDED_SHAPE,
+                            "%s - 2 * %s" % (self._getParamUserName("HY1"),
+                                             self._getParamUserName("EPY1")))
+            self._checkSize(self.HZ1 - 2 * self.EPZ1,
+                            MIN_DIM_FOR_EXTRUDED_SHAPE,
+                            "%s - 2 * %s" % (self._getParamUserName("HZ1"),
+                                             self._getParamUserName("EPZ1")))
+            self._checkSize(self.HY2 - 2 * self.EPY2,
+                            MIN_DIM_FOR_EXTRUDED_SHAPE,
+                            "%s - 2 * %s" % (self._getParamUserName("HY2"),
+                                             self._getParamUserName("EPY2")))
+            self._checkSize(self.HZ2 - 2 * self.EPZ2,
+                            MIN_DIM_FOR_EXTRUDED_SHAPE,
+                            "%s - 2 * %s" % (self._getParamUserName("HZ2"),
+                                             self._getParamUserName("EPZ2")))
+
+    def _makeRectangle(self, HY, HZ, planeSect):
+        """
+        Create a rectangle in the specified plane.
+        """
+        halfHY = HY / 2.0
+        halfHZ = HZ / 2.0
+        sketchStr = "Sketcher:F %g" % (-halfHZ) + " %g" % (-halfHY) + ":"
+        sketchStr += "TT %g" % (halfHZ) + " %g" % (-halfHY) + ":"
+        sketchStr += "TT %g" % (halfHZ) + " %g" % (halfHY) + ":" 
+        sketchStr += "TT %g" % (-halfHZ) + " %g" % (halfHY) + ":WW"
+        logger.debug('Drawing rectangle: "%s"' % sketchStr)
+        sketch = self.geom.MakeSketcherOnPlane(sketchStr, planeSect)
+        return sketch
+
+    def _makeSectionWires(self, fPoint, fNormal, lPoint, lNormal):
+        """
+        Create the rectangular sections used to build the pipe.
+        """
+        planeSect1 = self.geom.MakePlane(fPoint, fNormal, 1.0)
+        outerRect1 = self._makeRectangle(self.HY1, self.HZ1, planeSect1)
+        planeSect2 = self.geom.MakePlane(lPoint, lNormal, 1.0)
+        outerRect2 = self._makeRectangle(self.HY2, self.HZ2, planeSect2)
+        if self.filling == HOLLOW:
+            innerRect1 = self._makeRectangle(self.HY1 - 2 * self.EPY1,
+                                             self.HZ1 - 2 * self.EPZ1,
+                                             planeSect1)
+            innerRect2 = self._makeRectangle(self.HY2 - 2 * self.EPY2,
+                                             self.HZ2 - 2 * self.EPZ2,
+                                             planeSect2)
+        else:
+            innerRect1 = None
+            innerRect2 = None
+
+        return (outerRect1, innerRect1, outerRect2, innerRect2)
+
+
+class StructuralElementPart2D(StructuralElementPart):
+    """
+    This class is an "abstract" class for all 2D structural element parts. It
+    should not be instantiated directly. See class
+    :class:`StructuralElementPart` for the description of the parameters.
+    """
+
+    DEFAULT_NAME = "StructuralElementPart2D"
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = DEFAULT_NAME):
+        StructuralElementPart.__init__(self, studyId, groupName, groupGeomObj,
+                                       parameters, name)
+        self._orientation = orientation.Orientation2D(
+                                        self._getParameter(["angleAlpha"]),
+                                        self._getParameter(["angleBeta"]),
+                                        self._getParameter(["Vecteur"]))
+        self.offset = self._getParameter(["Excentre"], 0.0)
+
+    def _makeFaceOffset(self, face, offset, epsilon = 1e-6):
+        """
+        Create a copy of a face at a given offset.
+        """
+        if abs(offset) < epsilon:
+            return self.geom.MakeCopy(face)
+        else:
+            offsetObj = self.geom.MakeOffset(face, offset)
+            # We have to explode the resulting object into faces because it is
+            # created as a polyhedron and not as a single face
+            faces = self.geom.SubShapeAll(offsetObj,
+                                          self.geom.ShapeType["FACE"])
+            return faces[0]
+
+    def _buildMarkersWithOffset(self, offset):
+        """
+        Build the markers for the structural element part with a given offset
+        from the base face.
+        """
+        uParam = 0.5
+        vParam = 0.5
+        listMarkers = []
+        subShapes = self._getSubShapes()
+    
+        for subShape in subShapes:
+            faces = self.geom.SubShapeAll(subShape,
+                                          self.geom.ShapeType["FACE"])
+            for face in faces:
+                offsetFace = self._makeFaceOffset(face, offset)
+                # get tangent plane on surface by parameters
+                center = self.geom.MakeVertexOnSurface(offsetFace,
+                                                       uParam, vParam)
+                tangPlane = self.geom.MakeTangentPlaneOnFace(offsetFace,
+                                                             uParam, vParam,
+                                                             1.0)
+                normal = self.geom.GetNormal(tangPlane)
+                marker = self._orientation.buildMarker(self.geom,
+                                                       center, normal)
+                listMarkers.append(marker)
+
+        return listMarkers
+
+
+class ThickShell(StructuralElementPart2D):
+    """
+    This class defines a shell with a given thickness. It can be shifted from
+    the base face. The valid parameters for thick shells are:
+
+    * "Epais": thickness of the shell.
+    * "Excentre": offset of the shell from the base face.
+    * "angleAlpha": angle used to build the markers (see class
+      :class:`~salome.geom.structelem.orientation.Orientation2D`)
+    * "angleBeta": angle used to build the markers (see class
+      :class:`~salome.geom.structelem.orientation.Orientation2D`)
+    * "Vecteur": vector used instead of the angles to build the markers (see
+      class :class:`~salome.geom.structelem.orientation.Orientation2D`)
+
+    See class :class:`StructuralElementPart` for the description of the
+    other parameters.
+    """
+
+    DEFAULT_NAME = "ThickShell"
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = DEFAULT_NAME):
+        StructuralElementPart2D.__init__(self, studyId, groupName,
+                                         groupGeomObj, parameters, name)
+        self.thickness = self._getParameter(["Epais"])
+        logger.debug(repr(self))
+
+    def _buildPart(self):
+        """
+        Create the geometrical shapes corresponding to the thick shell.
+        """
+        subShapes = self._getSubShapes()
+        listSolids = []
+    
+        for subShape in subShapes:
+            faces = self.geom.SubShapeAll(subShape,
+                                          self.geom.ShapeType["FACE"])
+            for face in faces:
+                shape = self._buildThickShellForFace(face)
+                listSolids.append(shape)
+
+        if len(listSolids) == 0:
+            return None
+        elif len(listSolids) == 1:
+            return listSolids[0]
+        else:
+            return self.geom.MakeCompound(listSolids)
+
+    def _buildThickShellForFace(self, face):
+        """
+        Create the geometrical shapes corresponding to the thick shell for a
+        given face.
+        """
+        epsilon = 1e-6
+        if self.thickness < 2 * epsilon:
+            return self._makeFaceOffset(face, self.offset, epsilon)
+
+        upperOffset = self.offset + self.thickness / 2.0
+        lowerOffset = self.offset - self.thickness / 2.0
+        ruledMode = True
+        modeSolid = False
+
+        upperFace = self._makeFaceOffset(face, upperOffset, epsilon)
+        lowerFace = self._makeFaceOffset(face, lowerOffset, epsilon)
+        listShapes = [upperFace, lowerFace]
+        upperWires = self.geom.SubShapeAll(upperFace,
+                                           self.geom.ShapeType["WIRE"])
+        lowerWires = self.geom.SubShapeAll(lowerFace,
+                                           self.geom.ShapeType["WIRE"])
+        if self.geom.KindOfShape(face)[0] == self.geom.kind.CYLINDER2D:
+            # if the face is a cylinder, we remove the extra side edge
+            upperWires = self._removeCylinderExtraEdge(upperWires)
+            lowerWires = self._removeCylinderExtraEdge(lowerWires)
+        for i in range(len(upperWires)):
+            resShape = self.geom.MakeThruSections([upperWires[i],
+                                                   lowerWires[i]],
+                                                  modeSolid, epsilon,
+                                                  ruledMode)
+            listShapes.append(resShape)
+        resultShell = self.geom.MakeShell(listShapes)
+        resultSolid = self.geom.MakeSolid([resultShell])
+        return resultSolid
+
+    def _removeCylinderExtraEdge(self, wires):
+        """
+        Remove the side edge in a cylinder.
+        """
+        result = []
+        for wire in wires:
+            edges = self.geom.SubShapeAll(wire, self.geom.ShapeType["EDGE"])
+            for edge in edges:
+                if self.geom.KindOfShape(edge)[0] == self.geom.kind.CIRCLE:
+                    result.append(edge)
+        return result
+
+    def _buildMarkers(self):
+        """
+        Build the markers defining the orientation of the thick shell.
+        """
+        return self._buildMarkersWithOffset(self.offset +
+                                            self.thickness / 2.0)
+
+
+class Grid(StructuralElementPart2D):
+    """
+    This class defines a grid. A grid is represented by a 2D face patterned
+    with small lines in the main direction of the grid frame. The valid
+    parameters for grids are:
+
+    * "Excentre": offset of the grid from the base face.
+    * "angleAlpha": angle used to build the markers (see class
+      :class:`~salome.geom.structelem.orientation.Orientation2D`)
+    * "angleBeta": angle used to build the markers (see class
+      :class:`~salome.geom.structelem.orientation.Orientation2D`)
+    * "Vecteur": vector used instead of the angles to build the markers (see
+      class :class:`~salome.geom.structelem.orientation.Orientation2D`)
+    * "origAxeX": X coordinate of the origin of the axis used to determine the
+      orientation of the frame in the case of a cylindrical grid.
+    * "origAxeY": Y coordinate of the origin of the axis used to determine the
+      orientation of the frame in the case of a cylindrical grid.
+    * "origAxeZ": Z coordinate of the origin of the axis used to determine the
+      orientation of the frame in the case of a cylindrical grid.
+    * "axeX": X coordinate of the axis used to determine the orientation of
+      the frame in the case of a cylindrical grid.
+    * "axeY": Y coordinate of the axis used to determine the orientation of
+      the frame in the case of a cylindrical grid.
+    * "axeZ": Z coordinate of the axis used to determine the orientation of
+      the frame in the case of a cylindrical grid.
+
+    See class :class:`StructuralElementPart` for the description of the
+    other parameters.
+    """
+
+    DEFAULT_NAME = "Grid"
+
+    def __init__(self, studyId, groupName, groupGeomObj, parameters,
+                 name = DEFAULT_NAME):
+        StructuralElementPart2D.__init__(self, studyId, groupName,
+                                         groupGeomObj, parameters, name)
+        self.xr = self._getParameter(["origAxeX"])
+        self.yr = self._getParameter(["origAxeY"])
+        self.zr = self._getParameter(["origAxeZ"])
+        self.vx = self._getParameter(["axeX"])
+        self.vy = self._getParameter(["axeY"])
+        self.vz = self._getParameter(["axeZ"])
+        logger.debug(repr(self))
+
+    def _buildPart(self):
+        """
+        Create the geometrical shapes representing the grid.
+        """
+        subShapes = self._getSubShapes()
+        listGridShapes = []
+    
+        for subShape in subShapes:
+            faces = self.geom.SubShapeAll(subShape,
+                                          self.geom.ShapeType["FACE"])
+            for face in faces:
+                if self.geom.KindOfShape(face)[0] == \
+                                        self.geom.kind.CYLINDER2D and \
+                        self.xr is not None and self.yr is not None and \
+                        self.zr is not None and self.vx is not None and \
+                        self.vy is not None and self.vz is not None:
+                    shape = self._buildGridForCylinderFace(face)
+                else:
+                    shape = self._buildGridForNormalFace(face)
+                listGridShapes.append(shape)
+
+        if len(listGridShapes) == 0:
+            return None
+        elif len(listGridShapes) == 1:
+            return listGridShapes[0]
+        else:
+            return self.geom.MakeCompound(listGridShapes)
+
+    def _buildGridForNormalFace(self, face):
+        """
+        Create the geometrical shapes representing the grid for a given
+        non-cylindrical face.
+        """
+        baseFace = self._makeFaceOffset(face, self.offset)
+        gridList = [baseFace]
+        
+        # Compute display length for grid elements
+        p1 = self.geom.MakeVertexOnSurface(baseFace, 0.0, 0.0)
+        p2 = self.geom.MakeVertexOnSurface(baseFace, 0.1, 0.1)
+        length = self.geom.MinDistance(p1, p2) / 2.0
+
+        for u in range(1, 10):
+            uParam = u * 0.1
+            for v in range(1, 10):
+                vParam = v * 0.1
+                # get tangent plane on surface by parameters
+                center = self.geom.MakeVertexOnSurface(baseFace,
+                                                       uParam, vParam)
+                tangPlane = self.geom.MakeTangentPlaneOnFace(baseFace, uParam,
+                                                             vParam, 1.0)
+                
+                # use the marker to get the orientation of the frame
+                normal = self.geom.GetNormal(tangPlane)
+                marker = self._orientation.buildMarker(self.geom, center,
+                                                       normal, False)
+                [Ox,Oy,Oz, Zx,Zy,Zz, Xx,Xy,Xz] = self.geom.GetPosition(marker)
+                xPoint = self.geom.MakeTranslation(center, Xx * length,
+                                                   Xy * length, Xz * length)
+                gridLine = self.geom.MakeLineTwoPnt(center, xPoint)
+                gridList.append(gridLine)
+        grid = self.geom.MakeCompound(gridList)
+        return grid
+
+    def _buildGridForCylinderFace(self, face):
+        """
+        Create the geometrical shapes representing the grid for a given
+        cylindrical face.
+        """
+        baseFace = self._makeFaceOffset(face, self.offset)
+        gridList = [baseFace]
+        
+        # Compute display length for grid elements
+        p1 = self.geom.MakeVertexOnSurface(baseFace, 0.0, 0.0)
+        p2 = self.geom.MakeVertexOnSurface(baseFace, 0.1, 0.1)
+        length = self.geom.MinDistance(p1, p2) / 2.0
+        
+        # Create reference vector V
+        origPoint = self.geom.MakeVertex(self.xr, self.yr, self.zr)
+        vPoint = self.geom.MakeTranslation(origPoint,
+                                           self.vx, self.vy, self.vz)
+        refVec = self.geom.MakeVector(origPoint, vPoint)
+
+        for u in range(10):
+            uParam = u * 0.1
+            for v in range(1, 10):
+                vParam = v * 0.1
+                
+                # Compute the local orientation of the frame
+                center = self.geom.MakeVertexOnSurface(baseFace,
+                                                       uParam, vParam)
+                locPlaneYZ = self.geom.MakePlaneThreePnt(origPoint, center,
+                                                         vPoint, 1.0)
+                locOrient = self.geom.GetNormal(locPlaneYZ)
+                xPoint = self.geom.MakeTranslationVectorDistance(center,
+                                                                 locOrient,
+                                                                 length)
+                gridLine = self.geom.MakeLineTwoPnt(center, xPoint)
+                gridList.append(gridLine)
+
+        grid = self.geom.MakeCompound(gridList)
+        return grid
+
+    def _buildMarkers(self):
+        """
+        Create the markers defining the orientation of the grid.
+        """
+        return self._buildMarkersWithOffset(self.offset)
+
+
+def VisuPoutreGenerale(studyId, groupName, groupGeomObj, parameters,
+                       name = "POUTRE"):
+    """
+    Alias for class :class:`GeneralBeam`.
+    """
+    return GeneralBeam(studyId, groupName, groupGeomObj, parameters, name)
+
+def VisuPoutreCercle(studyId, groupName, groupGeomObj, parameters,
+                     name = "POUTRE"):
+    """
+    Alias for class :class:`CircularBeam`.
+    """
+    return CircularBeam(studyId, groupName, groupGeomObj, parameters, name)
+  
+def VisuPoutreRectangle(studyId, groupName, groupGeomObj, parameters,
+                        name = "POUTRE"):
+    """
+    Alias for class :class:`RectangularBeam`.
+    """
+    return RectangularBeam(studyId, groupName, groupGeomObj, parameters, name)
+  
+def VisuBarreGenerale(studyId, groupName, groupGeomObj, parameters,
+                      name = "BARRE"):
+    """
+    Alias for class :class:`GeneralBeam`.
+    """
+    return GeneralBeam(studyId, groupName, groupGeomObj, parameters, name)
+      
+def VisuBarreRectangle(studyId, groupName, groupGeomObj, parameters,
+                       name = "BARRE"):
+    """
+    Alias for class :class:`RectangularBeam`.
+    """
+    return RectangularBeam(studyId, groupName, groupGeomObj, parameters, name)
+
+def VisuBarreCercle(studyId, groupName, groupGeomObj, parameters,
+                    name = "BARRE"):
+    """
+    Alias for class :class:`CircularBeam`.
+    """
+    return CircularBeam(studyId, groupName, groupGeomObj, parameters, name)
+
+def VisuCable(studyId, groupName, groupGeomObj, parameters, name = "CABLE"):
+    """
+    Alias for class :class:`CircularBeam`.
+    """
+    return CircularBeam(studyId, groupName, groupGeomObj, parameters, name)
+
+def VisuCoque(studyId, groupName, groupGeomObj, parameters, name = "COQUE"):
+    """
+    Alias for class :class:`ThickShell`.
+    """
+    return ThickShell(studyId, groupName, groupGeomObj, parameters, name)
+  
+def VisuGrille(studyId, groupName, groupGeomObj, parameters, name = "GRILLE"):
+    """
+    Alias for class :class:`Grid`.
+    """
+    return Grid(studyId, groupName, groupGeomObj, parameters, name)
index 9098f1207239aae3f56002c5b340cf43e4e1c19a..e11291430b326a9d8187c42e8c4a92d8661ca9ed 100644 (file)
@@ -437,6 +437,14 @@ def TestAll (geompy, math):
   nameS      = geompy.SubShapeName(SubFaceS, Box)
   id_SubFace = geompy.addToStudyInFather(Box, SubFaceS, nameS)
 
+  # GetExistingSubObjects
+  SubObjsAll = geompy.GetExistingSubObjects(Box, True)
+  print "For now, Box has the following created sub-objects:", SubObjsAll
+
+  # GetGroups
+  SubGrpsAll = geompy.GetGroups(Box)
+  print "For now, Box has the following created groups:", SubGrpsAll
+
   # SubShapeAll
   SubEdgeList = geompy.SubShapeAll(SubFace, geompy.ShapeType["EDGE"])
   i=0
index ca37dd30b7fbb009509e8fd9c1fcbb026a303f9d..a1607cd43bd5193a1b63fca3197b12556330da33 100644 (file)
@@ -500,6 +500,17 @@ def TestOtherOperations (geompy, math):
   geompy.addToStudyInFather(blocksComp, pb0_top_1, "point from blocksComp (-50,  50,  50)")
   geompy.addToStudyInFather(blocksComp, pb0_bot_1, "point from blocksComp (-50, -50, -50)")
 
+  # GetVertexNearPoint(theShape, thePoint)
+  pb0_top_2_near = geompy.MakeVertex(40, 40, 40)
+  pb0_top_2      = geompy.GetVertexNearPoint(blocksComp, pb0_top_2_near)
+
+  geompy.addToStudyInFather(blocksComp, pb0_top_2, "point from blocksComp near (40,  40,  40)")
+
+  # GetEdge(theShape, thePoint1, thePoint2)
+  edge_top_y50 = geompy.GetEdge(blocksComp, pb0_top_1, pb0_top_2)
+
+  geompy.addToStudyInFather(blocksComp, edge_top_y50, "edge from blocksComp by two points")
+
   # GetEdgeNearPoint(theShape, thePoint)
   pmidle = geompy.MakeVertex(50, 0, 50)
   edge1 = geompy.GetEdgeNearPoint(blocksComp, pmidle)
@@ -511,6 +522,11 @@ def TestOtherOperations (geompy, math):
 
   geompy.addToStudyInFather(blocksComp, b0_image, "b0 image")
 
+  # GetShapesNearPoint(theShape, thePoint, theShapeType, theTolerance)
+  b0_faces_plus = geompy.GetShapesNearPoint(blocksComp, pb0_top_2_near, geompy.ShapeType["FACE"], 0.01)
+
+  geompy.addToStudyInFather(blocksComp, b0_faces_plus, "faces near point (40,  40,  40)")
+
   # GetShapesOnPlane
   faces_on_pln = geompy.GetShapesOnPlane(blocksComp, geompy.ShapeType["FACE"],
                                          v_0pp, geompy.GEOM.ST_ONIN)
index 67657dce1657117c1d5d7f76cb077dc0f15898a0..954896f5eeccd6f505eeaf368fbf66a0fc3bc4cd 100644 (file)
@@ -448,7 +448,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @return New GEOM_Object, containing the created point.
         #
         #  @ref tui_creation_point "Example"
-        def MakeVertex(self,theX, theY, theZ):
+        def MakeVertex(self, theX, theY, theZ):
             # Example: see GEOM_TestAll.py
             theX,theY,theZ,Parameters = ParseParameters(theX, theY, theZ)
             anObj = self.BasicOp.MakePointXYZ(theX, theY, theZ)
@@ -1358,13 +1358,13 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @param theTol3D a 3d tolerance to be reached
         #  @param theNbIter a number of iteration of approximation algorithm
         #  @param theMethod Kind of method to perform filling operation:
-        #                   0 - Default - standard behaviour
-        #                   1 - Use edges orientation - orientation of edges are
-        #                       used: if edge is reversed curve from this edge
-        #                       is reversed before using in filling algorithm.
-        #                   2 - Auto-correct orientation - change orientation
-        #                       of curves using minimization of sum of distances
-        #                       between ends points of edges.
+        #                   GEOM.FOM_Default - Default - standard behaviour
+        #                   /GEOM.FOM_UseOri - Use edges orientation - orientation of edges is
+        #                       used: if the edge is reversed, the curve from this edge
+        #                       is reversed before using it in the filling algorithm.
+        #                   /GEOM.FOM_AutoCorrect - Auto-correct orientation - changes the orientation
+        #                       of the curves using minimization of sum of distances
+        #                       between the end points of the edges.
         #  @param isApprox if True, BSpline curves are generated in the process
         #                  of surface construction. By default it is False, that means
         #                  the surface is created using Besier curves. The usage of
@@ -2052,6 +2052,32 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         ## @addtogroup l4_decompose
         ## @{
 
+        ## Get all sub-shapes and groups of \a theShape,
+        #  that were created already by any other methods.
+        #  @param theShape Any shape.
+        #  @param theGroupsOnly If this parameter is TRUE, only groups will be
+        #                       returned, else all found sub-shapes and groups.
+        #  @return List of existing sub-objects of \a theShape.
+        #
+        #  @ref swig_all_decompose "Example"
+        def GetExistingSubObjects(self, theShape, theGroupsOnly = False):
+            # Example: see GEOM_TestAll.py
+            ListObj = self.ShapesOp.GetExistingSubObjects(theShape, theGroupsOnly)
+            RaiseIfFailed("GetExistingSubObjects", self.ShapesOp)
+            return ListObj
+
+        ## Get all groups of \a theShape,
+        #  that were created already by any other methods.
+        #  @param theShape Any shape.
+        #  @return List of existing groups of \a theShape.
+        #
+        #  @ref swig_all_decompose "Example"
+        def GetGroups(self, theShape):
+            # Example: see GEOM_TestAll.py
+            ListObj = self.ShapesOp.GetExistingSubObjects(theShape, True)
+            RaiseIfFailed("GetExistingSubObjects", self.ShapesOp)
+            return ListObj
+
         ## Explode a shape on subshapes of a given type.
         #  @param aShape Shape to be exploded.
         #  @param aType Type of sub-shapes to be retrieved.
@@ -2266,11 +2292,22 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @return New GEOM_Object, containing processed shape.
         #
         #  @ref swig_todo "Example"
-        def ChangeOrientationShellCopy(self,theObject):
+        def ChangeOrientationShellCopy(self, theObject):
             anObj = self.HealOp.ChangeOrientationCopy(theObject)
             RaiseIfFailed("ChangeOrientationCopy", self.HealOp)
             return anObj
 
+        ## Try to limit tolerance of the given object by value \a theTolerance.
+        #  @param theObject Shape to be processed.
+        #  @param theTolerance Required tolerance value.
+        #  @return New GEOM_Object, containing processed shape.
+        #
+        #  @ref tui_limit_tolerance "Example"
+        def LimitTolerance(self, theObject, theTolerance = 1e-07):
+            anObj = self.HealOp.LimitTolerance(theObject, theTolerance)
+            RaiseIfFailed("LimitTolerance", self.HealOp)
+            return anObj
+
         ## Get a list of wires (wrapped in GEOM_Object-s),
         #  that constitute a free boundary of the given shape.
         #  @param theObject Shape to get free boundary of.
@@ -2280,7 +2317,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  theOpenWires: Open wires on the free boundary of the given shape.
         #
         #  @ref tui_measurement_tools_page "Example"
-        def GetFreeBoundary(self,theObject):
+        def GetFreeBoundary(self, theObject):
             # Example: see GEOM_TestHealing.py
             anObj = self.HealOp.GetFreeBoundary(theObject)
             RaiseIfFailed("GetFreeBoundary", self.HealOp)
@@ -3620,19 +3657,31 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @return New GEOM_Object, containing the found vertex.
         #
         #  @ref swig_GetPoint "Example"
-        def GetPoint(self,theShape, theX, theY, theZ, theEpsilon):
+        def GetPoint(self, theShape, theX, theY, theZ, theEpsilon):
             # Example: see GEOM_TestOthers.py
             anObj = self.BlocksOp.GetPoint(theShape, theX, theY, theZ, theEpsilon)
             RaiseIfFailed("GetPoint", self.BlocksOp)
             return anObj
 
+        ## Find a vertex of the given shape, which has minimal distance to the given point.
+        #  @param theShape Any shape.
+        #  @param thePoint Point, close to the desired vertex.
+        #  @return New GEOM_Object, containing the found vertex.
+        #
+        #  @ref swig_GetVertexNearPoint "Example"
+        def GetVertexNearPoint(self, theShape, thePoint):
+            # Example: see GEOM_TestOthers.py
+            anObj = self.BlocksOp.GetVertexNearPoint(theShape, thePoint)
+            RaiseIfFailed("GetVertexNearPoint", self.BlocksOp)
+            return anObj
+
         ## Get an edge, found in the given shape by two given vertices.
         #  @param theShape Block or a compound of blocks.
         #  @param thePoint1,thePoint2 Points, close to the ends of the desired edge.
         #  @return New GEOM_Object, containing the found edge.
         #
-        #  @ref swig_todo "Example"
-        def GetEdge(self,theShape, thePoint1, thePoint2):
+        #  @ref swig_GetEdge "Example"
+        def GetEdge(self, theShape, thePoint1, thePoint2):
             # Example: see GEOM_Spanner.py
             anObj = self.BlocksOp.GetEdge(theShape, thePoint1, thePoint2)
             RaiseIfFailed("GetEdge", self.BlocksOp)
@@ -3644,7 +3693,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @return New GEOM_Object, containing the found edge.
         #
         #  @ref swig_GetEdgeNearPoint "Example"
-        def GetEdgeNearPoint(self,theShape, thePoint):
+        def GetEdgeNearPoint(self, theShape, thePoint):
             # Example: see GEOM_TestOthers.py
             anObj = self.BlocksOp.GetEdgeNearPoint(theShape, thePoint)
             RaiseIfFailed("GetEdgeNearPoint", self.BlocksOp)
@@ -3692,7 +3741,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         #  @return New GEOM_Object, containing the found face.
         #
         #  @ref swig_GetFaceNearPoint "Example"
-        def GetFaceNearPoint(self,theShape, thePoint):
+        def GetFaceNearPoint(self, theShape, thePoint):
             # Example: see GEOM_Spanner.py
             anObj = self.BlocksOp.GetFaceNearPoint(theShape, thePoint)
             RaiseIfFailed("GetFaceNearPoint", self.BlocksOp)
@@ -3710,6 +3759,23 @@ class geompyDC(GEOM._objref_GEOM_Gen):
             RaiseIfFailed("GetFaceByNormale", self.BlocksOp)
             return anObj
 
+        ## Find all subshapes of type \a theShapeType of the given shape,
+        #  which have minimal distance to the given point.
+        #  @param theShape Any shape.
+        #  @param thePoint Point, close to the desired shape.
+        #  @param theShapeType Defines what kind of subshapes is searched.
+        #  @param theTolerance The tolerance for distances comparison. All shapes
+        #                      with distances to the given point in interval
+        #                      [minimal_distance, minimal_distance + theTolerance] will be gathered.
+        #  @return New GEOM_Object, containing a group of all found shapes.
+        #
+        #  @ref swig_GetShapesNearPoint "Example"
+        def GetShapesNearPoint(self, theShape, thePoint, theShapeType, theTolerance = 1e-07):
+            # Example: see GEOM_TestOthers.py
+            anObj = self.BlocksOp.GetShapesNearPoint(theShape, thePoint, theShapeType, theTolerance)
+            RaiseIfFailed("GetShapesNearPoint", self.BlocksOp)
+            return anObj
+
         # end of l3_blocks_op
         ## @}
 
index 6ff6b6a0e586f08b91493793a68ba2e13b4ea206..3aa2195c8ee36ac720c6560f1008cc5779e20501 100644 (file)
@@ -473,7 +473,7 @@ void GroupGUI_GroupDlg::SelectionIntoArgument()
     }
   }
   else { // an attempt to synchronize list box selection with 3d viewer
-    if (myBusy) {
+    if ( myBusy || myMainObj->_is_nil() ) {
       return;
     }
 
@@ -617,7 +617,8 @@ int GroupGUI_GroupDlg::getSelectedSubshapes (TColStd_IndexedMapOfInteger& theMap
   theMapIndex.Clear();
 
   SalomeApp_Application* app = myGeomGUI->getApp();
-  if (!app) return 0;
+  if ( !app || myMainObj->_is_nil() )
+    return 0;
 
   LightApp_SelectionMgr* aSelMgr = app->selectionMgr();
   SALOME_ListIO aSelList;
@@ -787,6 +788,7 @@ void GroupGUI_GroupDlg::activateSelection()
       myIsShapeType) // check if shape type is already choosen by user
   {
     GEOM_Displayer* aDisplayer = getDisplayer();
+    int prevDisplayMode = aDisplayer->SetDisplayMode(0);
 
     SUIT_ViewWindow* aViewWindow = 0;
     SUIT_Study* activeStudy = SUIT_Session::session()->activeApplication()->activeStudy();
@@ -831,6 +833,7 @@ void GroupGUI_GroupDlg::activateSelection()
       }
     }
     aDisplayer->UpdateViewer();
+    aDisplayer->SetDisplayMode(prevDisplayMode);
   }
 
   globalSelection(GEOM_ALLSHAPES);
index 2c4eb04a9aec9ba2ed2b96cb6a38550cca7fe1b0..a9ee6b7c65e498243401c297771bb0b0f0f4bc29 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+//  File:        IGESImport.cxx
+//  Created:     Wed May 19 14:36:35 2004
+//  Author:      Pavel TELKOV
 
-// File:        IGESImport.cxx
-// Created:     Wed May 19 14:36:35 2004
-// Author:      Pavel TELKOV
-//              <ptv@mutex.nnov.opencascade.com>
-//
 #include "utilities.h"
 
 #include <Basics_Utils.hxx>
 #include <IFSelect_ReturnStatus.hxx>
 #include <IGESControl_Reader.hxx>
 #include <IGESData_IGESModel.hxx>
+#include <IGESData_IGESEntity.hxx>
 
-#include <TCollection_HAsciiString.hxx>
-#include <TopoDS_Shape.hxx>
+#include <Interface_Static.hxx>
+#include <Interface_InterfaceModel.hxx>
+#include <XSControl_TransferReader.hxx>
+#include <XSControl_WorkSession.hxx>
+#include <Transfer_TransientProcess.hxx>
+#include <Transfer_Binder.hxx>
+#include <TransferBRep.hxx>
+
+#include <TNaming_Builder.hxx>
+#include <TDF_TagSource.hxx>
+#include <TDataStd_Name.hxx>
 #include <TDF_Label.hxx>
 
+#include <TCollection_HAsciiString.hxx>
+#include <TopoDS_Shape.hxx>
 #include <TopoDS_Vertex.hxx>
 #include <BRep_Builder.hxx>
 #include <gp_Pnt.hxx>
-#include <Interface_Static.hxx>
 
 #ifdef WNT
  #if defined IGESIMPORT_EXPORTS || defined IGESImport_EXPORTS
@@ -72,7 +81,7 @@ IGESIMPORT_EXPORT
   TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
                        const TCollection_AsciiString& theFormatName,
                        TCollection_AsciiString&       theError,
-                       const TDF_Label&)
+                       const TDF_Label&               theShapeLabel)
   {
     // Set "C" numeric locale to save numbers correctly
     Kernel_Utils::Localizer loc;
@@ -85,19 +94,19 @@ IGESIMPORT_EXPORT
 
       if (status == IFSelect_RetDone) {
 
-        if( theFormatName == "IGES_UNIT" ) {
-          Handle(IGESData_IGESModel) aModel = 
+        if (theFormatName == "IGES_UNIT") {
+          Handle(IGESData_IGESModel) aModel =
             Handle(IGESData_IGESModel)::DownCast(aReader.Model());
           gp_Pnt P(1.0,0.0,0.0);
-          if(!aModel.IsNull()) {
-            Handle(TCollection_HAsciiString) aUnitName = 
+          if (!aModel.IsNull()) {
+            Handle(TCollection_HAsciiString) aUnitName =
               aModel->GlobalSection().UnitName();
             //cout<<"aUnitName = "<<aUnitName->ToCString()<<endl;
             //cout<<"aUnitFlag = "<<aModel->GlobalSection().UnitFlag()<<endl;
-            if( aUnitName->String()=="MM" ) {
+            if (aUnitName->String()=="MM") {
               P = gp_Pnt(0.001,0.0,0.0);
             }
-            else if( aUnitName->String()=="CM" ) {
+            else if (aUnitName->String()=="CM") {
               P = gp_Pnt(0.01,0.0,0.0);
             }
           }
@@ -107,12 +116,12 @@ IGESIMPORT_EXPORT
           aResShape = V;
           return aResShape;
         }
-        if( theFormatName == "IGES_SCALE" ) {
+        if (theFormatName == "IGES_SCALE") {
           //cout<<"need re-scale a model"<<endl;
           // set UnitFlag to 'meter'
-          Handle(IGESData_IGESModel) aModel = 
+          Handle(IGESData_IGESModel) aModel =
             Handle(IGESData_IGESModel)::DownCast(aReader.Model());
-          if(!aModel.IsNull()) {
+          if (!aModel.IsNull()) {
             IGESData_GlobalSection aGS = aModel->GlobalSection();
             aGS.SetUnitFlag(6);
             aModel->SetGlobalSection(aGS);
@@ -129,6 +138,38 @@ IGESIMPORT_EXPORT
         MESSAGE("ImportIGES : count of shapes produced = " << aReader.NbShapes());
         aResShape = aReader.OneShape();
 
+        // BEGIN: Store names of sub-shapes from file
+        Handle(Interface_InterfaceModel) Model = aReader.WS()->Model();
+        Handle(XSControl_TransferReader) TR = aReader.WS()->TransferReader();
+        if (!TR.IsNull()) {
+          Handle(Transfer_TransientProcess) TP = /*TransientProcess();*/TR->TransientProcess();
+          Standard_Integer nb = Model->NbEntities();
+          for (Standard_Integer i = 1; i <= nb; i++) {
+            Handle(IGESData_IGESEntity) ent = Handle(IGESData_IGESEntity)::DownCast(Model->Value(i));
+            if (ent.IsNull() || ! ent->HasName()) continue;
+
+            // find target shape
+            Handle(Transfer_Binder) binder = TP->Find(ent);
+            if (binder.IsNull()) continue;
+            TopoDS_Shape S = TransferBRep::ShapeResult(binder);
+            if (S.IsNull()) continue;
+
+            // create label and set shape
+            TDF_Label L;
+            TDF_TagSource aTag;
+            L = aTag.NewChild(theShapeLabel);
+            TNaming_Builder tnBuild (L);
+            tnBuild.Generated(S);
+
+            // set a name
+            TCollection_AsciiString string = ent->NameValue()->String();
+            string.LeftAdjust();
+            string.RightAdjust();
+            TCollection_ExtendedString str (string);
+            TDataStd_Name::Set(L, str);
+          }
+        }
+        // END: Store names
       } else {
 //        switch (status) {
 //        case IFSelect_RetVoid:
index 3f3b3815d8f725e077672e6854f0618af8d0dd98..7613b4c16108caca37ebcb780072fc8871822cf6 100644 (file)
 #
 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
-
 #  File   : Makefile.in
 #  Author : Pavel TELKOV
 #  Modified by : Alexander BORODIN (OCN) - autotools usage
 #  Module : GEOM
 #  $Header$
-#
+
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 # Libraries targets
@@ -37,7 +36,7 @@ libIGESImport_la_CPPFLAGS =   \
        $(CAS_CPPFLAGS)         \
        $(KERNEL_CXXFLAGS)
 
-libIGESImport_la_LDFLAGS  =    \
-       $(STDLIB)               \
-       $(CAS_LDPATH) -lTKIGES  \
+libIGESImport_la_LDFLAGS  =            \
+       $(STDLIB)                       \
+       $(CAS_LDPATH) -lTKIGES -lTKCAF -lTKLCAF \
        $(KERNEL_LDFLAGS) -lSALOMELocalTrace -lSALOMEBasics
index 446af680cbd624d4019cfc453acb56d81001ba31..968fbdd33ea9c85208ffaf10b75e1b0e7a6d0573 100644 (file)
@@ -24,7 +24,7 @@
 SUBDIRS = ARCHIMEDE NMTDS NMTTools GEOMAlgo SKETCHER OCC2VTK GEOM      \
           BREPExport BREPImport IGESExport IGESImport STEPExport       \
           STEPImport STLExport VTKExport ShHealOper GEOMImpl GEOM_I    \
-          GEOMClient GEOM_I_Superv GEOM_SWIG
+          GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY
 
 if GEOM_ENABLE_GUI
   SUBDIRS += OBJECT DlgRef GEOMFiltersSelection GEOMGUI GEOMBase GEOMToolsGUI  \
@@ -40,4 +40,4 @@ DIST_SUBDIRS = ARCHIMEDE NMTDS NMTTools GEOMAlgo SKETCHER OCC2VTK GEOM BREPExpor
                GEOMToolsGUI DisplayGUI BasicGUI PrimitiveGUI GenerationGUI     \
                EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI    \
                RepairGUI MeasureGUI GroupGUI BlocksGUI AdvancedGUI             \
-               GEOM_SWIG_WITHIHM
+               GEOM_SWIG_WITHIHM GEOM_PY
index d495ab36b990d89d738654645dd83a4f88f3a16a..e555d2d2f0ea57119ec07de7dd664287f94da3c2 100644 (file)
@@ -118,5 +118,5 @@ libMeasureGUI_la_CPPFLAGS =         \
 
 libMeasureGUI_la_LDFLAGS  =            \
        $(CAS_LDFLAGS) -lTKGeomBase \
-       ../GEOMBase/libGEOMBase.la
+       ../GEOMBase/libGEOMBase.la ../DlgRef/libDlgRef.la
 
index e59a4498e61c630829c18010b85272cd80d6b010..b49a522841e6547944a700d5a027ed863df7822c 100644 (file)
@@ -196,7 +196,9 @@ void MeasureGUI_AngleDlg::processObject()
 
   double anAngle = 0.;
   if (getParameters(anAngle)) {
-    myGrp->LineEdit3->setText(DlgRef::PrintDoubleValue(anAngle));
+    SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+    int aPrecision = resMgr->integerValue( "Geometry", "angle_precision", 6 );
+    myGrp->LineEdit3->setText(DlgRef::PrintDoubleValue(anAngle, aPrecision));
     redisplayPreview();
   }
   else {
index 5794fae1f545965707609cdaac12b40bd4d35cf8..50151730768205a81c36006a5dd467daa8ac9202 100644 (file)
@@ -30,6 +30,7 @@
 #include "GeometryGUI.h"
 
 #include <GEOMBase.h>
+#include <DlgRef.h>
 
 #include <GEOM_Function.hxx>
 #include <GEOM_Object.hxx>
@@ -143,14 +144,17 @@ void MeasureGUI_BndBoxDlg::processObject()
     myGrp->LineEdit32->setText( "" );
   }
   else {
-    myGrp->LineEdit11->setText( tr( "%1" ).arg( aXMin, 12, 'f', 6 ) );
-    myGrp->LineEdit12->setText( tr( "%1" ).arg( aXMax, 12, 'f', 6 ) );
+    SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+    int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 );
 
-    myGrp->LineEdit21->setText( tr( "%1" ).arg( aYMin, 12, 'f', 6 ) );
-    myGrp->LineEdit22->setText( tr( "%1" ).arg( aYMax, 12, 'f', 6 ) );
+    myGrp->LineEdit11->setText( DlgRef::PrintDoubleValue( aXMin, aPrecision ) );
+    myGrp->LineEdit12->setText( DlgRef::PrintDoubleValue( aXMax, aPrecision ) );
 
-    myGrp->LineEdit31->setText( tr( "%1" ).arg( aZMin, 12, 'f', 6 ) );
-    myGrp->LineEdit32->setText( tr( "%1" ).arg( aZMax, 12, 'f', 6 ) );            
+    myGrp->LineEdit21->setText( DlgRef::PrintDoubleValue( aYMin, aPrecision ) );
+    myGrp->LineEdit22->setText( DlgRef::PrintDoubleValue( aYMax, aPrecision ) );
+
+    myGrp->LineEdit31->setText( DlgRef::PrintDoubleValue( aZMin, aPrecision ) );
+    myGrp->LineEdit32->setText( DlgRef::PrintDoubleValue( aZMax, aPrecision ) );
   }
 }
 
index 451743a533419136e8e6142d12ccf247a1da3a0d..b4a909c68166db0360d3025be501fd6c7868a506 100644 (file)
@@ -244,9 +244,12 @@ void MeasureGUI_CenterMassDlg::processObject()
     getParameters( x, y, z );
     
     myGrp->LineEdit1->setText( GEOMBase::GetName( myObj ) );
-    myGrp->LineEdit2->setText( DlgRef::PrintDoubleValue( x ) );
-    myGrp->LineEdit3->setText( DlgRef::PrintDoubleValue( y ) );
-    myGrp->LineEdit4->setText( DlgRef::PrintDoubleValue( z ) );
+
+    SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+    int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 );
+    myGrp->LineEdit2->setText( DlgRef::PrintDoubleValue( x, aPrecision ) );
+    myGrp->LineEdit3->setText( DlgRef::PrintDoubleValue( y, aPrecision ) );
+    myGrp->LineEdit4->setText( DlgRef::PrintDoubleValue( z, aPrecision ) );
 
     displayPreview();
   }
index 3be5f624a6cb648ab155b6ae2d30502874bfc9fa..baf8a589733c09e5baf2c6f24d33ea030ee221f0 100644 (file)
@@ -180,12 +180,15 @@ void MeasureGUI_DistanceDlg::processObject()
   gp_Pnt aPnt1, aPnt2;
   double aDist = 0.;
   if (getParameters(aDist, aPnt1, aPnt2)) {
-    myGrp->LineEdit3->setText(DlgRef::PrintDoubleValue(aDist));
+    SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+    int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 );
+
+    myGrp->LineEdit3->setText(DlgRef::PrintDoubleValue(aDist, aPrecision));
 
     gp_XYZ aVec = aPnt2.XYZ() - aPnt1.XYZ();
-    myGrp->LineEdit4->setText(DlgRef::PrintDoubleValue(aVec.X()));
-    myGrp->LineEdit5->setText(DlgRef::PrintDoubleValue(aVec.Y()));
-    myGrp->LineEdit6->setText(DlgRef::PrintDoubleValue(aVec.Z()));
+    myGrp->LineEdit4->setText(DlgRef::PrintDoubleValue(aVec.X(), aPrecision));
+    myGrp->LineEdit5->setText(DlgRef::PrintDoubleValue(aVec.Y(), aPrecision));
+    myGrp->LineEdit6->setText(DlgRef::PrintDoubleValue(aVec.Z(), aPrecision));
 
     redisplayPreview();
   }
index 9d2c323c43210dca43893ff1bb4638fc4ed5e9da..f6beab88aed351e9bb608125164b5d3eed000f38 100644 (file)
@@ -28,6 +28,7 @@
 #include "MeasureGUI_Widgets.h"
 
 #include <GEOMBase.h>
+#include <DlgRef.h>
 
 #include <gp_XYZ.hxx>
 
@@ -142,21 +143,21 @@ void MeasureGUI_InertiaDlg::processObject()
     myGrp->LineEdit43->setText( "" );
   }
   else {
-    myGrp->LineEdit11->setText( QString( "%1" ).arg( aMat( 1, 1 ), 12, 'e', 4 ) );
-    myGrp->LineEdit12->setText( QString( "%1" ).arg( aMat( 1, 2 ), 12, 'e', 4 ) );
-    myGrp->LineEdit13->setText( QString( "%1" ).arg( aMat( 1, 3 ), 12, 'e', 4 ) );
+    myGrp->LineEdit11->setText( DlgRef::PrintDoubleValue( aMat( 1, 1 ), -6 ) );
+    myGrp->LineEdit12->setText( DlgRef::PrintDoubleValue( aMat( 1, 2 ), -6 ) );
+    myGrp->LineEdit13->setText( DlgRef::PrintDoubleValue( aMat( 1, 3 ), -6 ) );
     
-    myGrp->LineEdit21->setText( QString( "%1" ).arg( aMat( 2, 1 ), 12, 'e', 4 ) );
-    myGrp->LineEdit22->setText( QString( "%1" ).arg( aMat( 2, 2 ), 12, 'e', 4 ) );
-    myGrp->LineEdit23->setText( QString( "%1" ).arg( aMat( 2, 3 ), 12, 'e', 4 ) );
+    myGrp->LineEdit21->setText( DlgRef::PrintDoubleValue( aMat( 2, 1 ), -6 ) );
+    myGrp->LineEdit22->setText( DlgRef::PrintDoubleValue( aMat( 2, 2 ), -6 ) );
+    myGrp->LineEdit23->setText( DlgRef::PrintDoubleValue( aMat( 2, 3 ), -6 ) );
     
-    myGrp->LineEdit31->setText( QString( "%1" ).arg( aMat( 3, 1 ), 12, 'e', 4 ) );
-    myGrp->LineEdit32->setText( QString( "%1" ).arg( aMat( 3, 2 ), 12, 'e', 4 ) );
-    myGrp->LineEdit33->setText( QString( "%1" ).arg( aMat( 3, 3 ), 12, 'e', 4 ) );
+    myGrp->LineEdit31->setText( DlgRef::PrintDoubleValue( aMat( 3, 1 ), -6 ) );
+    myGrp->LineEdit32->setText( DlgRef::PrintDoubleValue( aMat( 3, 2 ), -6 ) );
+    myGrp->LineEdit33->setText( DlgRef::PrintDoubleValue( aMat( 3, 3 ), -6 ) );
     
-    myGrp->LineEdit41->setText( QString( "%1" ).arg( anIXYZ.X(), 12, 'e', 4 ) );
-    myGrp->LineEdit42->setText( QString( "%1" ).arg( anIXYZ.Y(), 12, 'e', 4 ) );
-    myGrp->LineEdit43->setText( QString( "%1" ).arg( anIXYZ.Z(), 12, 'e', 4 ) );
+    myGrp->LineEdit41->setText( DlgRef::PrintDoubleValue( anIXYZ.X(), -6 ) );
+    myGrp->LineEdit42->setText( DlgRef::PrintDoubleValue( anIXYZ.Y(), -6 ) );
+    myGrp->LineEdit43->setText( DlgRef::PrintDoubleValue( anIXYZ.Z(), -6 ) );
   }
 }
 
index b9a04fd2a99144d14017e9176935fdde6b33f9f0..f3a6d0d46cc9350b8e778e51fc38c2922657ee58 100644 (file)
@@ -26,6 +26,7 @@
 //
 #include "MeasureGUI_MaxToleranceDlg.h"
 #include "MeasureGUI_Widgets.h"
+#include "DlgRef.h"
 
 #include <SUIT_Session.h>
 #include <SUIT_ResourceMgr.h>
@@ -131,14 +132,17 @@ void MeasureGUI_MaxToleranceDlg::processObject()
   double invalidMin = RealLast();
   double invalidMax = -RealLast();
 
-  myGrp->LineEdit11->setText( aMinFaceToler != invalidMin ? QString( "%1" ).arg( aMinFaceToler, 5, 'e', 8 ) : QString("") );
-  myGrp->LineEdit12->setText( aMaxFaceToler != invalidMax ? QString( "%1" ).arg( aMaxFaceToler, 5, 'e', 8 ) : QString("") );
+  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+  int aPrecision = resMgr->integerValue( "Geometry", "len_tol_precision", -9);
 
-  myGrp->LineEdit21->setText( aMinEdgeToler != invalidMin ? QString( "%1" ).arg( aMinEdgeToler, 5, 'e', 8 ) : QString("") );
-  myGrp->LineEdit22->setText( aMaxEdgeToler != invalidMax ? QString( "%1" ).arg( aMaxEdgeToler, 5, 'e', 8 ) : QString("") );
+  myGrp->LineEdit11->setText( aMinFaceToler != invalidMin ? DlgRef::PrintDoubleValue( aMinFaceToler, aPrecision ) : QString("") );
+  myGrp->LineEdit12->setText( aMaxFaceToler != invalidMax ? DlgRef::PrintDoubleValue( aMaxFaceToler, aPrecision ) : QString("") );
 
-  myGrp->LineEdit31->setText( aMinVertexToler != invalidMin ? QString( "%1" ).arg( aMinVertexToler, 5, 'e', 8 ) : QString("") );
-  myGrp->LineEdit32->setText( aMaxVertexToler != invalidMax ? QString( "%1" ).arg( aMaxVertexToler, 5, 'e', 8 ) : QString("") );
+  myGrp->LineEdit21->setText( aMinEdgeToler != invalidMin ? DlgRef::PrintDoubleValue( aMinEdgeToler, aPrecision ) : QString("") );
+  myGrp->LineEdit22->setText( aMaxEdgeToler != invalidMax ? DlgRef::PrintDoubleValue( aMaxEdgeToler, aPrecision ) : QString("") );
+
+  myGrp->LineEdit31->setText( aMinVertexToler != invalidMin ? DlgRef::PrintDoubleValue( aMinVertexToler, aPrecision ) : QString("") );
+  myGrp->LineEdit32->setText( aMaxVertexToler != invalidMax ? DlgRef::PrintDoubleValue( aMaxVertexToler, aPrecision ) : QString("") );
 }
 
 //=================================================================================
index c7ea535f04af1dda8c907dfa8e05f3b779b1c2aa..c7064a96b0d1b88312b07b5baa3efcb8b40d21ed 100644 (file)
@@ -172,9 +172,11 @@ void MeasureGUI_PointDlg::SelectionIntoArgument()
     if ( !aPoint.IsNull() ) {
       gp_Pnt aPnt = BRep_Tool::Pnt( aPoint );
       myGrp->LineEdit1->setText( aName );
-      myGrp->LineEdit2->setText( DlgRef::PrintDoubleValue( aPnt.X() ) );
-      myGrp->LineEdit3->setText( DlgRef::PrintDoubleValue( aPnt.Y() ) );
-      myGrp->LineEdit4->setText( DlgRef::PrintDoubleValue( aPnt.Z() ) );
+      SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+      int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 );
+      myGrp->LineEdit2->setText( DlgRef::PrintDoubleValue( aPnt.X(), aPrecision ) );
+      myGrp->LineEdit3->setText( DlgRef::PrintDoubleValue( aPnt.Y(), aPrecision ) );
+      myGrp->LineEdit4->setText( DlgRef::PrintDoubleValue( aPnt.Z(), aPrecision ) );
     }
   }
   catch( ... )
index 861658e28a5eb187e82d80343051cb06eb122630..9621487ed258d851f111f026a57c8593e2a6915b 100644 (file)
@@ -139,9 +139,11 @@ void MeasureGUI_PropertiesDlg::processObject()
     myGrp->LineEdit4->setText( "" );
   }
   else {
-    myGrp->LineEdit2->setText( DlgRef::PrintDoubleValue( aLength ) );
-    myGrp->LineEdit3->setText( DlgRef::PrintDoubleValue( anArea ) );
-    myGrp->LineEdit4->setText( DlgRef::PrintDoubleValue( aVolume ) );
+    SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+    int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 );
+    myGrp->LineEdit2->setText( DlgRef::PrintDoubleValue( aLength, aPrecision ) );
+    myGrp->LineEdit3->setText( DlgRef::PrintDoubleValue( anArea,  aPrecision ) );
+    myGrp->LineEdit4->setText( DlgRef::PrintDoubleValue( aVolume, aPrecision ) );
   }
 }
 
index 04f91fb9eae26cc2ac708a027ae435c8b9c2e1b0..b0d9695d60ef53d82712a92a2ed98b67aa020e70 100644 (file)
@@ -232,6 +232,9 @@ QString MeasureGUI_WhatisDlg::getKindOfShape( QString& theParameters )
   QString aKindStr("");
   theParameters = "";
 
+  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
+  int aLenPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 );
+
   if ( myObj->_is_nil() )
     return aKindStr;
 
@@ -253,7 +256,7 @@ QString MeasureGUI_WhatisDlg::getKindOfShape( QString& theParameters )
   if ( !anOper->IsDone() )
     return aKindStr;
 
-#define PRINT_DOUBLE(val) QString(" %1").arg( DlgRef::PrintDoubleValue( val ) )
+#define PRINT_DOUBLE(val, tol) DlgRef::PrintDoubleValue( val, tol )
   switch ( aKind )
   {
   case GEOM::GEOM_IKindOfShape::COMPOUND:
@@ -284,84 +287,84 @@ QString MeasureGUI_WhatisDlg::getKindOfShape( QString& theParameters )
   case GEOM::GEOM_IKindOfShape::SPHERE:
     aKindStr = tr( "GEOM_SPHERE" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )   +
-      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[3] );
+      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[3], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::CYLINDER:
     aKindStr = tr( "GEOM_CYLINDER" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_AXIS" )         +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )   +
-      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_HEIGHT" )       + PRINT_DOUBLE( aDbls[7] );
+      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_HEIGHT" )       + PRINT_DOUBLE( aDbls[7], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::BOX:
     aKindStr = tr( "GEOM_BOX" );
     theParameters = tr( "GEOM_CENTER") +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )   +
-      "\n" +        "Ax :"                    + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        "Ay :"                    + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        "Az :"                    + PRINT_DOUBLE( aDbls[5] );
+      "\n" +        "Ax :"                    + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        "Ay :"                    + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        "Az :"                    + PRINT_DOUBLE( aDbls[5], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::ROTATED_BOX:
     aKindStr = tr( "GEOM_BOX" );
     theParameters = tr( "GEOM_CENTER" )         +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\nZ Axis:"                               +
-      "\n" +        "Zx :"                      + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        "Zy :"                      + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        "Zz :"                      + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        "Zx :"                      + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        "Zy :"                      + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        "Zz :"                      + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\nX Axis:"                               +
-      "\n" +        tr( "GEOM_X_I" ).arg( "x" ) + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( "y" ) + PRINT_DOUBLE( aDbls[7] ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( "z" ) + PRINT_DOUBLE( aDbls[8] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( "x" ) + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( "y" ) + PRINT_DOUBLE( aDbls[7], aLenPrecision ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( "z" ) + PRINT_DOUBLE( aDbls[8], aLenPrecision ) +
       "\nDimensions along local axes:"          +
-      "\n" +        "Ax :"                      + PRINT_DOUBLE( aDbls[9] ) +
-      "\n" +        "Ay :"                      + PRINT_DOUBLE( aDbls[10] ) +
-      "\n" +        "Az :"                      + PRINT_DOUBLE( aDbls[11] );
+      "\n" +        "Ax :"                      + PRINT_DOUBLE( aDbls[9],  aLenPrecision ) +
+      "\n" +        "Ay :"                      + PRINT_DOUBLE( aDbls[10], aLenPrecision ) +
+      "\n" +        "Az :"                      + PRINT_DOUBLE( aDbls[11], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::TORUS:
     aKindStr = tr( "GEOM_TORUS" );
     theParameters = tr( "GEOM_CENTER" )            +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_AXIS" )              +
-      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )        +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7] );
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::CONE:
     aKindStr = tr( "GEOM_CONE" );
     theParameters = tr( "GEOM_CENTER" )            +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_AXIS" )              +
-      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )        +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7] ) +
-      "\n" +        tr( "GEOM_HEIGHT" )            + PRINT_DOUBLE( aDbls[8] );
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7], aLenPrecision ) +
+      "\n" +        tr( "GEOM_HEIGHT" )            + PRINT_DOUBLE( aDbls[8], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::POLYHEDRON:
     aKindStr = tr( "GEOM_POLYHEDRON" );
@@ -373,114 +376,114 @@ QString MeasureGUI_WhatisDlg::getKindOfShape( QString& theParameters )
   case GEOM::GEOM_IKindOfShape::SPHERE2D:
     aKindStr = tr( "GEOM_SURFSPHERE" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )   +
-      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[3] );
+      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[3], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::CYLINDER2D:
     aKindStr = tr( "GEOM_SURFCYLINDER" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_AXIS" )         +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )   +
-      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_HEIGHT" )       + PRINT_DOUBLE( aDbls[7] );
+      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_HEIGHT" )       + PRINT_DOUBLE( aDbls[7], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::TORUS2D:
     aKindStr = tr( "GEOM_SURFTORUS" );
     theParameters = tr( "GEOM_CENTER" )            +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_AXIS" )              +
-      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )        +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7] );
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::CONE2D:
     aKindStr = tr( "GEOM_SURFCONE" );
     theParameters = tr( "GEOM_CENTER" )            +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )      + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_AXIS" )              +
-      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )                + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )                + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )                + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )        +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7] ) +
-      "\n" +        tr( "GEOM_HEIGHT" )            + PRINT_DOUBLE( aDbls[8] );
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 1 ) + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_RADIUS_I" ).arg( 2 ) + PRINT_DOUBLE( aDbls[7], aLenPrecision ) +
+      "\n" +        tr( "GEOM_HEIGHT" )            + PRINT_DOUBLE( aDbls[8], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::DISK_CIRCLE:
     aKindStr = tr( "GEOM_DISK_CIRCLE" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )       +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )   +
-      "\n" +        tr( "GEOM_RADIUS" )      + PRINT_DOUBLE( aDbls[6] );
+      "\n" +        tr( "GEOM_RADIUS" )      + PRINT_DOUBLE( aDbls[6], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::DISK_ELLIPSE:
     aKindStr = tr( "GEOM_DISK_ELLIPSE" );
     theParameters = tr( "GEOM_CENTER" )         +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )         +
-      "\n" +        tr( "GEOM_DX" )             + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )             + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )             + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )             + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )             + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )             + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )     +
-      "\n" +        tr( "GEOM_RADIUS_MAJOR" )   + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_RADIUS_MINOR" )   + PRINT_DOUBLE( aDbls[7] );
+      "\n" +        tr( "GEOM_RADIUS_MAJOR" )   + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_RADIUS_MINOR" )   + PRINT_DOUBLE( aDbls[7], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::POLYGON:
     aKindStr = tr( "GEOM_POLYGON" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )       +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] );
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::PLANE:
     aKindStr = tr( "GEOM_PLANE" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )       +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] );
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::PLANAR:
     aKindStr = tr( "GEOM_PLANAR_FACE" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )       +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] );
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::FACE:
     aKindStr = tr( "GEOM_FACE" );
@@ -489,94 +492,94 @@ QString MeasureGUI_WhatisDlg::getKindOfShape( QString& theParameters )
   case GEOM::GEOM_IKindOfShape::CIRCLE:
     aKindStr = tr( "GEOM_CIRCLE" );
     theParameters = tr( "GEOM_CENTER" )       +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )       +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )   +
-      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[6] );
+      "\n" +        tr( "GEOM_RADIUS" )       + PRINT_DOUBLE( aDbls[6], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::ARC_CIRCLE:
     aKindStr = tr( "GEOM_ARC" );
     theParameters = tr( "GEOM_CENTER" )           +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )           +
-      "\n" +        tr( "GEOM_DX" )               + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )               + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )               + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )               + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )               + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )               + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )       +
-      "\n" +        tr( "GEOM_RADIUS" )           + PRINT_DOUBLE( aDbls[6] ) +
+      "\n" +        tr( "GEOM_RADIUS" )           + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
       "\n" +        tr( "GEOM_POINT_I" ).arg( 1 ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[7] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[8] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[9] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[7], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[8], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[9], aLenPrecision ) +
       "\n" +        tr( "GEOM_POINT_I" ).arg( 2 ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[10] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[11] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[12] );
+      "\n" +        tr( "GEOM_X_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[10], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[11], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[12], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::ELLIPSE:
     aKindStr = tr( "GEOM_ELLIPSE" );
     theParameters = tr( "GEOM_CENTER" )         +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )   + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )         +
-      "\n" +        tr( "GEOM_DX" )             + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )             + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )             + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )             + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )             + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )             + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )     +
-      "\n" +        tr( "GEOM_RADIUS_MAJOR" )   + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_RADIUS_MINOR" )   + PRINT_DOUBLE( aDbls[7] );
+      "\n" +        tr( "GEOM_RADIUS_MAJOR" )   + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_RADIUS_MINOR" )   + PRINT_DOUBLE( aDbls[7], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::ARC_ELLIPSE:
     aKindStr = tr( "GEOM_ARC_ELLIPSE" );
     theParameters = tr( "GEOM_CENTER" )           +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 )     + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_NORMAL" )           +
-      "\n" +        tr( "GEOM_DX" )               + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )               + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )               + PRINT_DOUBLE( aDbls[5] ) +
+      "\n" +        tr( "GEOM_DX" )               + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )               + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )               + PRINT_DOUBLE( aDbls[5], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIMENSIONS" )       +
-      "\n" +        tr( "GEOM_RADIUS_MAJOR" )     + PRINT_DOUBLE( aDbls[6] ) +
-      "\n" +        tr( "GEOM_RADIUS_MINOR" )     + PRINT_DOUBLE( aDbls[7] ) +
+      "\n" +        tr( "GEOM_RADIUS_MAJOR" )     + PRINT_DOUBLE( aDbls[6], aLenPrecision ) +
+      "\n" +        tr( "GEOM_RADIUS_MINOR" )     + PRINT_DOUBLE( aDbls[7], aLenPrecision ) +
       "\n" +        tr( "GEOM_POINT_I" ).arg( 1 ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[8] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[9] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[10] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[8], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[9], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[10], aLenPrecision ) +
       "\n" +        tr( "GEOM_POINT_I" ).arg( 2 ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[11] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[12] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[13] );
+      "\n" +        tr( "GEOM_X_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[11], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[12], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[13], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::LINE:
     aKindStr = tr( "GEOM_LINE" );
     theParameters = tr( "GEOM_POSITION" )     +
-      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 0 ) + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_DIRECTION" )    +
-      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5] );
+      "\n" +        tr( "GEOM_DX" )           + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DY" )           + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_DZ" )           + PRINT_DOUBLE( aDbls[5], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::SEGMENT:
     aKindStr = tr( "GEOM_SEGMENT" );
     theParameters = tr( "GEOM_POINT_I" ).arg( 1 ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[2] ) +
+      "\n" +        tr( "GEOM_X_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 1 )     + PRINT_DOUBLE( aDbls[2], aLenPrecision ) +
       "\n" +        tr( "GEOM_POINT_I" ).arg( 2 ) +
-      "\n" +        tr( "GEOM_X_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[3] ) +
-      "\n" +        tr( "GEOM_Y_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[4] ) +
-      "\n" +        tr( "GEOM_Z_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[5] );
+      "\n" +        tr( "GEOM_X_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[3], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[4], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z_I" ).arg( 2 )     + PRINT_DOUBLE( aDbls[5], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::EDGE:
     aKindStr = tr( "GEOM_EDGE" );
@@ -584,9 +587,9 @@ QString MeasureGUI_WhatisDlg::getKindOfShape( QString& theParameters )
   case GEOM::GEOM_IKindOfShape::VERTEX:
     aKindStr = tr( "GEOM_VERTEX" );
     theParameters = tr( "GEOM_COORDINATES" ) +
-      "\n" +        tr( "GEOM_X" )           + PRINT_DOUBLE( aDbls[0] ) +
-      "\n" +        tr( "GEOM_Y" )           + PRINT_DOUBLE( aDbls[1] ) +
-      "\n" +        tr( "GEOM_Z" )           + PRINT_DOUBLE( aDbls[2] );
+      "\n" +        tr( "GEOM_X" )           + PRINT_DOUBLE( aDbls[0], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Y" )           + PRINT_DOUBLE( aDbls[1], aLenPrecision ) +
+      "\n" +        tr( "GEOM_Z" )           + PRINT_DOUBLE( aDbls[2], aLenPrecision );
     break;
   case GEOM::GEOM_IKindOfShape::ADVANCED:
     {
index c59c1505699b4134630dbceddb345e67fac5484e..7f8a4fcbe9c0cc9422546fae4aefff65ee976143 100644 (file)
@@ -38,6 +38,7 @@ salomeinclude_HEADERS =                               \
        RepairGUI_FreeFacesDlg.h                \
        RepairGUI_ChangeOrientationDlg.h        \
        RepairGUI_GlueDlg.h                     \
+       RepairGUI_LimitToleranceDlg.h           \
        RepairGUI_RemoveExtraEdgesDlg.h
 
 # Libraries targets
@@ -56,6 +57,7 @@ dist_libRepairGUI_la_SOURCES =                        \
        RepairGUI_FreeFacesDlg.h                \
        RepairGUI_ChangeOrientationDlg.h        \
        RepairGUI_GlueDlg.h                     \
+       RepairGUI_LimitToleranceDlg.h           \
        RepairGUI_RemoveExtraEdgesDlg.h         \
                                                \
        RepairGUI.cxx                           \
@@ -70,6 +72,7 @@ dist_libRepairGUI_la_SOURCES =                        \
        RepairGUI_FreeFacesDlg.cxx              \
        RepairGUI_ChangeOrientationDlg.cxx      \
        RepairGUI_GlueDlg.cxx                   \
+       RepairGUI_LimitToleranceDlg.cxx         \
        RepairGUI_RemoveExtraEdgesDlg.cxx
 
 MOC_FILES =                                    \
@@ -84,6 +87,7 @@ MOC_FILES =                                   \
        RepairGUI_FreeFacesDlg_moc.cxx          \
        RepairGUI_ChangeOrientationDlg_moc.cxx  \
        RepairGUI_GlueDlg_moc.cxx               \
+       RepairGUI_LimitToleranceDlg_moc.cxx     \
        RepairGUI_RemoveExtraEdgesDlg_moc.cxx
 
 nodist_libRepairGUI_la_SOURCES =               \
index 652cdb63a2eeea82943202d7c028b382d3e79d7b..ebfc75fb4326cbb0819cf16de5f01108e7f86623 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+//  GEOM GEOMGUI : GUI for Geometry component
+//  File   : RepairGUI.cxx
+//  Author : Damien COQUERET, Open CASCADE S.A.S.
 
-// GEOM GEOMGUI : GUI for Geometry component
-// File   : RepairGUI.cxx
-// Author : Damien COQUERET, Open CASCADE S.A.S.
-//
 #include "RepairGUI.h"
 
 #include <GeometryGUI.h>
@@ -43,8 +42,9 @@
 #include "RepairGUI_FreeBoundDlg.h"     // Method FREE BOUNDARIES
 #include "RepairGUI_FreeFacesDlg.h"     // Method FREE FACES
 #include "RepairGUI_GlueDlg.h"          // Method GLUE FACES
+#include "RepairGUI_LimitToleranceDlg.h"    // Method LIMIT TOLERANCE
 #include "RepairGUI_ChangeOrientationDlg.h" // Method CHANGE ORIENTATION
-#include "RepairGUI_RemoveExtraEdgesDlg.h" // Method REMOVE EXTRA EDGES
+#include "RepairGUI_RemoveExtraEdgesDlg.h"  // Method REMOVE EXTRA EDGES
 
 //=======================================================================
 // function : RepairGUI()
@@ -66,7 +66,7 @@ RepairGUI::~RepairGUI()
 
 //=======================================================================
 // function : OnGUIEvent()
-// purpose  : 
+// purpose  :
 //=======================================================================
 bool RepairGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
 {
@@ -77,18 +77,19 @@ bool RepairGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
 
   QDialog* aDlg = NULL;
   switch ( theCommandID ) {
-  case GEOMOp::OpSewing:           aDlg = new RepairGUI_SewingDlg            ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpGlueFaces:        aDlg = new RepairGUI_GlueDlg              ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpSuppressFaces:    aDlg = new RepairGUI_SuppressFacesDlg     ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpSuppressHoles:    aDlg = new RepairGUI_RemoveHolesDlg       ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpShapeProcess:     aDlg = new RepairGUI_ShapeProcessDlg      ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpCloseContour:     aDlg = new RepairGUI_CloseContourDlg      ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpRemoveIntWires:   aDlg = new RepairGUI_RemoveIntWiresDlg    ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpAddPointOnEdge:   aDlg = new RepairGUI_DivideEdgeDlg        ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpFreeBoundaries:   aDlg = new RepairGUI_FreeBoundDlg         ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpFreeFaces:        aDlg = new RepairGUI_FreeFacesDlg         ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpOrientation:      aDlg = new RepairGUI_ChangeOrientationDlg ( getGeometryGUI(), parent ); break;
-  case GEOMOp::OpRemoveExtraEdges: aDlg = new RepairGUI_RemoveExtraEdgesDlg  ( getGeometryGUI(), parent ); break;  
+  case GEOMOp::OpSewing:           aDlg = new RepairGUI_SewingDlg            (getGeometryGUI(), parent); break;
+  case GEOMOp::OpGlueFaces:        aDlg = new RepairGUI_GlueDlg              (getGeometryGUI(), parent); break;
+  case GEOMOp::OpLimitTolerance:   aDlg = new RepairGUI_LimitToleranceDlg    (getGeometryGUI(), parent); break;
+  case GEOMOp::OpSuppressFaces:    aDlg = new RepairGUI_SuppressFacesDlg     (getGeometryGUI(), parent); break;
+  case GEOMOp::OpSuppressHoles:    aDlg = new RepairGUI_RemoveHolesDlg       (getGeometryGUI(), parent); break;
+  case GEOMOp::OpShapeProcess:     aDlg = new RepairGUI_ShapeProcessDlg      (getGeometryGUI(), parent); break;
+  case GEOMOp::OpCloseContour:     aDlg = new RepairGUI_CloseContourDlg      (getGeometryGUI(), parent); break;
+  case GEOMOp::OpRemoveIntWires:   aDlg = new RepairGUI_RemoveIntWiresDlg    (getGeometryGUI(), parent); break;
+  case GEOMOp::OpAddPointOnEdge:   aDlg = new RepairGUI_DivideEdgeDlg        (getGeometryGUI(), parent); break;
+  case GEOMOp::OpFreeBoundaries:   aDlg = new RepairGUI_FreeBoundDlg         (getGeometryGUI(), parent); break;
+  case GEOMOp::OpFreeFaces:        aDlg = new RepairGUI_FreeFacesDlg         (getGeometryGUI(), parent); break;
+  case GEOMOp::OpOrientation:      aDlg = new RepairGUI_ChangeOrientationDlg (getGeometryGUI(), parent); break;
+  case GEOMOp::OpRemoveExtraEdges: aDlg = new RepairGUI_RemoveExtraEdgesDlg  (getGeometryGUI(), parent); break;
     default:
       app->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) );
       break;
diff --git a/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx b/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx
new file mode 100644 (file)
index 0000000..19cfe7a
--- /dev/null
@@ -0,0 +1,441 @@
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  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.
+//
+//  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
+//
+//  GEOM RepairGUI : GUI for Geometry component
+//  File   : RepairGUI_LimitToleranceDlg.cxx
+
+#include "RepairGUI_LimitToleranceDlg.h"
+
+#include <DlgRef.h>
+#include <GeometryGUI.h>
+#include <GEOMBase.h>
+#include <SalomeApp_DoubleSpinBox.h>
+
+#include <SalomeApp_Application.h>
+#include <LightApp_SelectionMgr.h>
+#include <SalomeApp_Study.h>
+#include <SalomeApp_Tools.h>
+#include <SUIT_Session.h>
+#include <SUIT_Desktop.h>
+#include <SUIT_MessageBox.h>
+#include <SUIT_OverrideCursor.h>
+#include <SUIT_ResourceMgr.h>
+#include <SUIT_ViewWindow.h>
+#include <SUIT_ViewManager.h>
+#include <OCCViewer_ViewModel.h>
+#include <SALOME_ListIteratorOfListIO.hxx>
+
+#include <GEOMImpl_Types.hxx>
+
+#include <TCollection_AsciiString.hxx>
+
+#define DEFAULT_TOLERANCE_VALUE 1e-07
+
+//=================================================================================
+// class    : RepairGUI_LimitToleranceDlg()
+// purpose  : Constructs a RepairGUI_LimitToleranceDlg  which is a child of 'parent', with the
+//            name 'name' and widget flags set to 'f'.
+//            The dialog will by default be modeless, unless you set 'modal' to
+//            TRUE to construct a modal dialog.
+//=================================================================================
+RepairGUI_LimitToleranceDlg::RepairGUI_LimitToleranceDlg(GeometryGUI* theGeometryGUI,
+                                                         QWidget* parent, bool modal)
+  : GEOMBase_Skeleton(theGeometryGUI, parent, modal)
+{
+  QPixmap image0 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_LIMIT_TOLERANCE")));
+  QPixmap image1 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
+
+  setWindowTitle(tr("GEOM_LIMIT_TOLERANCE_TITLE"));
+
+  /***************************************************************/
+  mainFrame()->GroupConstructors->setTitle(tr("GEOM_LIMIT_TOLERANCE_TITLE"));
+  mainFrame()->RadioButton1->setIcon(image0);
+  mainFrame()->RadioButton2->setAttribute(Qt::WA_DeleteOnClose);
+  mainFrame()->RadioButton3->setAttribute(Qt::WA_DeleteOnClose);
+  mainFrame()->RadioButton2->close();
+  mainFrame()->RadioButton3->close();
+
+  GroupPoints = new DlgRef_1SelExt(centralWidget());
+  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
+  GroupPoints->TextLabel1->setText(tr("GEOM_SELECTED_SHAPE"));
+  GroupPoints->PushButton1->setIcon(image1);
+  GroupPoints->LineEdit1->setReadOnly(true);
+
+  QLabel* aTolLab = new QLabel(tr("GEOM_TOLERANCE"), GroupPoints->Box);
+  myTolEdt = new SalomeApp_DoubleSpinBox(GroupPoints->Box);
+  initSpinBox(myTolEdt, 0., 100., DEFAULT_TOLERANCE_VALUE, "len_tol_precision");
+  myTolEdt->setValue(DEFAULT_TOLERANCE_VALUE);
+
+  QGridLayout* boxLayout = new QGridLayout(GroupPoints->Box);
+  boxLayout->setMargin(0); boxLayout->setSpacing(6);
+  boxLayout->addWidget(aTolLab,  0, 0);
+  boxLayout->addWidget(myTolEdt, 0, 2);
+
+  QVBoxLayout* layout = new QVBoxLayout(centralWidget());
+  layout->setMargin(0); layout->setSpacing(6);
+  layout->addWidget(GroupPoints);
+
+  setHelpFileName("limit_tolerance_operation_page.html");
+
+  Init();
+}
+
+
+//=================================================================================
+// function : ~RepairGUI_LimitToleranceDlg()
+// purpose  : Destroys the object and frees any allocated resources
+//=================================================================================
+RepairGUI_LimitToleranceDlg::~RepairGUI_LimitToleranceDlg()
+{
+}
+
+
+//=================================================================================
+// function : Init()
+// purpose  :
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::Init()
+{
+  /* init variables */
+  myEditCurrentArgument = GroupPoints->LineEdit1;
+
+  myObject = GEOM::GEOM_Object::_nil();
+
+  //myGeomGUI->SetState(0);
+  //globalSelection(GEOM_COMPOUND);
+
+  mainFrame()->GroupBoxPublish->show();
+
+  /* signals and slots connections */
+  connect(buttonOk(),    SIGNAL(clicked()), this, SLOT(ClickOnOk()));
+  connect(buttonApply(), SIGNAL(clicked()), this, SLOT(ClickOnApply()));
+
+  connect(GroupPoints->PushButton1,  SIGNAL(clicked()),       this, SLOT(SetEditCurrentArgument()));
+  connect(GroupPoints->LineEdit1,    SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
+
+  connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
+          this, SLOT(SelectionIntoArgument()));
+
+  initName(tr("LIMIT_TOLERANCE_NEW_OBJ_NAME"));
+
+  ConstructorsClicked(0);
+
+  activateSelection();
+  updateButtonState();
+}
+
+
+//=================================================================================
+// function : ConstructorsClicked()
+// purpose  : Radio button management
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::ConstructorsClicked(int constructorId)
+{
+  disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
+
+  GroupPoints->show();
+  GroupPoints->LineEdit1->setText("");
+  myEditCurrentArgument = GroupPoints->LineEdit1;
+  myEditCurrentArgument->setFocus();
+
+  connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
+           this, SLOT(SelectionIntoArgument()));
+
+  qApp->processEvents();
+  updateGeometry();
+  resize(minimumSizeHint());
+
+  updateButtonState();
+  activateSelection();
+  SelectionIntoArgument();
+}
+
+
+//=================================================================================
+// function : ClickOnOk()
+// purpose  : Same than click on apply but close this dialog.
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::ClickOnOk()
+{
+  if (ClickOnApply())
+    ClickOnCancel();
+}
+
+//=================================================================================
+// function : ClickOnApply()
+// purpose  :
+//=================================================================================
+bool RepairGUI_LimitToleranceDlg::ClickOnApply()
+{
+  if (!onAcceptLocal())
+    return false;
+
+  initName();
+
+  ConstructorsClicked(0);
+
+  return true;
+}
+
+//=================================================================================
+// function : SelectionIntoArgument()
+// purpose  : Called when selection
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::SelectionIntoArgument()
+{
+  myEditCurrentArgument->setText("");
+  myObject = GEOM::GEOM_Object::_nil();
+
+  LightApp_SelectionMgr* aSelMgr = myGeomGUI->getApp()->selectionMgr();
+  SALOME_ListIO aSelList;
+  aSelMgr->selectedObjects(aSelList);
+
+  if (aSelList.Extent() == 1) {
+    Handle(SALOME_InteractiveObject) anIO = aSelList.First();
+    Standard_Boolean aRes;
+    myObject = GEOMBase::ConvertIOinGEOMObject(anIO, aRes);
+    if (aRes)
+      myEditCurrentArgument->setText(GEOMBase::GetName(myObject));
+  }
+  updateButtonState();
+}
+
+//=================================================================================
+// function : SetEditCurrentArgument()
+// purpose  :
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::SetEditCurrentArgument()
+{
+  const QObject* send = sender();
+  if (send == GroupPoints->PushButton1)  {
+    myEditCurrentArgument->setFocus();
+    SelectionIntoArgument();
+  }
+}
+
+//=================================================================================
+// function : LineEditReturnPressed()
+// purpose  :
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::LineEditReturnPressed()
+{
+  const QObject* send = sender();
+  if (send == GroupPoints->LineEdit1) {
+    myEditCurrentArgument = GroupPoints->LineEdit1;
+    GEOMBase_Skeleton::LineEditReturnPressed();
+  }
+}
+
+//=================================================================================
+// function : ActivateThisDialog()
+// purpose  :
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::ActivateThisDialog()
+{
+  GEOMBase_Skeleton::ActivateThisDialog();
+  connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
+           this, SLOT(SelectionIntoArgument()));
+  activateSelection();
+}
+
+//=================================================================================
+// function : enterEvent()
+// purpose  : Mouse enter onto the dialog to activate it
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::enterEvent(QEvent*)
+{
+  if (!mainFrame()->GroupConstructors->isEnabled())
+    ActivateThisDialog();
+}
+
+//=================================================================================
+// function : createOperation
+// purpose  :
+//=================================================================================
+GEOM::GEOM_IOperations_ptr RepairGUI_LimitToleranceDlg::createOperation()
+{
+  return getGeomEngine()->GetIHealingOperations(getStudyId());
+}
+
+//=================================================================================
+// function : isValid
+// purpose  :
+//=================================================================================
+bool RepairGUI_LimitToleranceDlg::isValid(QString& msg)
+{
+  double v = myTolEdt->value();
+  bool ok = myTolEdt->isValid(msg, true);
+  return !myObject->_is_nil() && (v > 0.) && ok;
+}
+
+//=================================================================================
+// function : execute
+// purpose  :
+//=================================================================================
+bool RepairGUI_LimitToleranceDlg::execute(ObjectList& objects)
+{
+  bool aResult = false;
+  objects.clear();
+
+  GEOM::GEOM_IHealingOperations_var anOper = GEOM::GEOM_IHealingOperations::_narrow(getOperation());
+  GEOM::GEOM_Object_var anObj = anOper->LimitTolerance(myObject, myTolEdt->value());
+  aResult = !anObj->_is_nil();
+  if (aResult) {
+    QStringList aParameters;
+    aParameters << myTolEdt->text();
+    anObj->SetParameters(aParameters.join(":").toLatin1().constData());
+    objects.push_back(anObj._retn());
+  }
+
+  return aResult;
+}
+
+//================================================================
+// Function : onAccept
+// Purpose  : This method should be called from dialog's slots onOk() and onApply()
+//            It perfroms user input validation, then it
+//            performs a proper operation and manages transactions, etc.
+//================================================================
+bool RepairGUI_LimitToleranceDlg::onAcceptLocal()
+{
+  if (!getStudy() || !(getStudy()->studyDS()))
+    return false;
+
+  _PTR(Study) aStudy = getStudy()->studyDS();
+
+  bool aLocked = aStudy->GetProperties()->IsLocked();
+  if (aLocked) {
+    MESSAGE("GEOMBase_Helper::onAccept - ActiveStudy is locked");
+    SUIT_MessageBox::warning(this, tr("WRN_WARNING"), tr("WRN_STUDY_LOCKED"), tr("BUT_OK"));
+    return false;
+  }
+
+  QString msg;
+  if (!isValid(msg)) {
+    showError(msg);
+    return false;
+  }
+
+  try {
+    if (openCommand()) {
+      SUIT_OverrideCursor wc;
+
+      myGeomGUI->getApp()->putInfo("");
+      ObjectList objects;
+
+      if (!execute(objects)) {
+        wc.suspend();
+        abortCommand();
+        showError();
+      }
+      else {
+        const int nbObjs = objects.size();
+        for (ObjectList::iterator it = objects.begin(); it != objects.end(); ++it) {
+          QString aName = getNewObjectName();
+          if (nbObjs > 1) {
+            if (aName.isEmpty())
+              aName = getPrefix(*it);
+            aName = GEOMBase::GetDefaultName(aName);
+          }
+          else {
+            // PAL6521: use a prefix, if some dialog box doesn't reimplement getNewObjectName()
+            if (aName.isEmpty())
+              aName = GEOMBase::GetDefaultName(getPrefix(*it));
+          }
+          addInStudy(*it, aName.toLatin1().data());
+          display(*it, false);
+        }
+
+        if (nbObjs) {
+          commitCommand();
+          updateObjBrowser();
+          myGeomGUI->getApp()->putInfo(QObject::tr("GEOM_PRP_DONE"));
+        }
+        else {
+          abortCommand();
+        }
+
+        // JFA 28.12.2004 BEGIN // To enable warnings
+        GEOM::GEOM_IHealingOperations_var anOper = GEOM::GEOM_IHealingOperations::_narrow(getOperation());
+        if (!CORBA::is_nil(anOper) && !anOper->IsDone()) {
+          wc.suspend();
+          QString msgw = QObject::tr(anOper->GetErrorCode());
+          SUIT_MessageBox::warning(this, tr("WRN_WARNING"), msgw, tr("BUT_OK"));
+        }
+        // JFA 28.12.2004 END
+      }
+    }
+  }
+  catch(const SALOME::SALOME_Exception& e) {
+    SalomeApp_Tools::QtCatchCorbaException(e);
+    abortCommand();
+  }
+
+  updateViewer();
+  activateSelection();
+  updateButtonState();
+
+  return true;
+}
+
+//=================================================================================
+// function : activateSelection
+// purpose  : Activate selection
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::activateSelection()
+{
+  disconnect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
+             this, SLOT(SelectionIntoArgument()));
+
+  globalSelection(GEOM_ALLSHAPES);
+  if (myObject->_is_nil())
+    SelectionIntoArgument();
+
+  connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
+          this, SLOT(SelectionIntoArgument()));
+  updateViewer();
+}
+
+//=================================================================================
+// function : updateButtonState
+// purpose  : Update button state
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::updateButtonState()
+{
+  bool hasMainObj = !myObject->_is_nil();
+  buttonOk()->setEnabled(hasMainObj);
+  buttonApply()->setEnabled(hasMainObj);
+}
+
+//=================================================================================
+// function : restoreSubShapes
+// purpose  :
+//=================================================================================
+void RepairGUI_LimitToleranceDlg::restoreSubShapes(SALOMEDS::Study_ptr   theStudy,
+                                                   SALOMEDS::SObject_ptr theSObject)
+{
+  if (mainFrame()->CheckBoxRestoreSS->isChecked()) {
+    // empty list of arguments means that all arguments should be restored
+    getGeomEngine()->RestoreSubShapesSO(theStudy, theSObject, GEOM::ListOfGO(),
+                                        GEOM::FSM_GetInPlace, /*theInheritFirstArg=*/true,
+                                        mainFrame()->CheckBoxAddPrefix->isChecked());
+  }
+}
diff --git a/src/RepairGUI/RepairGUI_LimitToleranceDlg.h b/src/RepairGUI/RepairGUI_LimitToleranceDlg.h
new file mode 100644 (file)
index 0000000..bba1dbf
--- /dev/null
@@ -0,0 +1,83 @@
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  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.
+//
+//  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
+//
+//  GEOM GEOMGUI : GUI for Geometry component
+//  File   : RepairGUI_LimitToleranceDlg.h
+
+#ifndef REPAIRGUI_LIMITTOLERANCEDLG_H
+#define REPAIRGUI_LIMITTOLERANCEDLG_H
+
+#include <GEOMBase_Skeleton.h>
+
+class DlgRef_1SelExt;
+class SalomeApp_DoubleSpinBox;
+class QPushButton;
+class QCheckBox;
+
+//=================================================================================
+// class    : RepairGUI_LimitToleranceDlg
+// purpose  :
+//=================================================================================
+class RepairGUI_LimitToleranceDlg : public GEOMBase_Skeleton
+{
+  Q_OBJECT
+
+public:
+  RepairGUI_LimitToleranceDlg (GeometryGUI*, QWidget* = 0, bool = false);
+  ~RepairGUI_LimitToleranceDlg();
+
+protected:
+  // redefined from GEOMBase_Helper
+  virtual GEOM::GEOM_IOperations_ptr createOperation();
+  virtual bool                       isValid (QString&);
+  virtual bool                       execute (ObjectList&);
+  virtual void                       restoreSubShapes (SALOMEDS::Study_ptr, SALOMEDS::SObject_ptr);
+
+private:
+  void                               Init();
+  void                               enterEvent (QEvent*);
+  void                               initSelection();
+
+  bool                               onAcceptLocal();
+
+  void                               activateSelection();
+  void                               updateButtonState();
+
+private:
+  GEOM::GEOM_Object_var              myObject;
+
+  DlgRef_1SelExt*                    GroupPoints;
+  SalomeApp_DoubleSpinBox*           myTolEdt;
+
+private slots:
+  void                               ClickOnOk();
+  bool                               ClickOnApply();
+
+  void                               ActivateThisDialog();
+
+  void                               LineEditReturnPressed();
+  void                               SelectionIntoArgument();
+  void                               SetEditCurrentArgument();
+
+  void                               ConstructorsClicked( int );
+};
+
+#endif // REPAIRGUI_LIMITTOLERANCEDLG_H
index 51afbd167b736c2dff6c66e770cefdce89e0872b..90c9a3d9c155d3768f4b9875dbe9c7653d924733 100644 (file)
@@ -252,6 +252,7 @@ void RepairGUI_RemoveExtraEdgesDlg::enterEvent(QEvent* e)
 void RepairGUI_RemoveExtraEdgesDlg::activateSelection()
 {
   TColStd_MapOfInteger aTypes;
+  aTypes.Add( GEOM_SHELL );
   aTypes.Add( GEOM_SOLID );
   aTypes.Add( GEOM_COMPOUND );
   globalSelection( aTypes );
index 6a912182e6b1b0b1e087a2a2c94ff0d16908d800..06b1224ba299893a1c3e7d0df92c8e081d39d0dd 100644 (file)
@@ -43,4 +43,4 @@ libSTEPImport_la_CPPFLAGS =   \
 libSTEPImport_la_LDFLAGS  =                    \
        $(KERNEL_LDFLAGS) -lSALOMELocalTrace -lSALOMEBasics \
        $(STDLIB)                               \
-       $(CAS_LDPATH) -lTKSTEP
+       $(CAS_LDPATH) -lTKSTEP -lTKCAF -lTKLCAF -lTKSTEPBase
index e6819dcb2e0a2c5600b2fdf22adee4603ef6a7b5..0ba7854298f0b8acd5fcb5f649b6394255784b1a 100644 (file)
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+//  File:        STEPImport.cxx
+//  Created:     Wed May 19 14:41:10 2004
+//  Author:      Pavel TELKOV
 
-// File:        STEPImport.cxx
-// Created:     Wed May 19 14:41:10 2004
-// Author:      Pavel TELKOV
-//              <ptv@mutex.nnov.opencascade.com>
-//
 #include "utilities.h"
 
 #include <Basics_Utils.hxx>
 #include <IFSelect_ReturnStatus.hxx>
 
 #include <STEPControl_Reader.hxx>
+#include <StepBasic_ProductDefinition.hxx>
+#include <StepBasic_ProductDefinitionFormation.hxx>
+#include <StepBasic_Product.hxx>
+#include <Interface_InterfaceModel.hxx>
+#include <XSControl_TransferReader.hxx>
+#include <XSControl_WorkSession.hxx>
+
+#include <Transfer_Binder.hxx>
+#include <TNaming_Builder.hxx>
+#include <TDataStd_Name.hxx>
+#include <Transfer_TransientProcess.hxx>
+#include <TransferBRep.hxx>
 
 #include <TCollection_AsciiString.hxx>
 #include <TopoDS_Compound.hxx>
 #include <TopoDS_Shape.hxx>
 #include <TDF_Label.hxx>
+#include <TDF_Tool.hxx>
 #include <Interface_Static.hxx>
 
+#include <TopTools_IndexedMapOfShape.hxx>
+#include <TopExp.hxx>
+#include <TopoDS_Iterator.hxx>
+#include <BRepTools.hxx>
+
 #include <Standard_Failure.hxx>
 #include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
 
 
 extern "C"
 {
-STEPIMPORT_EXPORT
+  STEPIMPORT_EXPORT
   TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
                        const TCollection_AsciiString& /*theFormatName*/,
                        TCollection_AsciiString&       theError,
-                       const TDF_Label&)
+                       const TDF_Label&               theShapeLabel)
   {
     MESSAGE("Import STEP model from file " << theFileName.ToCString());
     // Set "C" numeric locale to save numbers correctly
@@ -87,7 +103,7 @@ STEPIMPORT_EXPORT
     //VRV: OCC 4.0 migration
     TopoDS_Compound compound;
     BRep_Builder B;
-    B.MakeCompound( compound );
+    B.MakeCompound(compound);
     try {
 #if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
       OCC_CATCH_SIGNALS;
@@ -95,13 +111,13 @@ STEPIMPORT_EXPORT
       IFSelect_ReturnStatus status = aReader.ReadFile(theFileName.ToCString());
 
       if (status == IFSelect_RetDone) {
-        Standard_Boolean failsonly = Standard_False ;
-        aReader.PrintCheckLoad (failsonly, IFSelect_ItemsByEntity);
+        Standard_Boolean failsonly = Standard_False;
+        aReader.PrintCheckLoad(failsonly, IFSelect_ItemsByEntity);
         /* Root transfers */
         Standard_Integer nbr = aReader.NbRootsForTransfer();
-        aReader.PrintCheckTransfer (failsonly, IFSelect_ItemsByEntity);
+        aReader.PrintCheckTransfer(failsonly, IFSelect_ItemsByEntity);
 
-        for ( Standard_Integer n=1; n <= nbr; n++) {
+        for (Standard_Integer n = 1; n <= nbr; n++) {
           Standard_Boolean ok = aReader.TransferRoot(n);
           /* Collecting resulting entities */
           Standard_Integer nbs = aReader.NbShapes();
@@ -116,22 +132,76 @@ STEPIMPORT_EXPORT
             break;
           }
 
-          for ( Standard_Integer i=1; i<=nbs; i++ ) {
+          for (Standard_Integer i = 1; i <= nbs; i++) {
             TopoDS_Shape aShape = aReader.Shape(i);
-            if ( aShape.IsNull() ) {
+            if (aShape.IsNull()) {
               // THROW_SALOME_CORBA_EXCEPTION("Null shape in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM) ;
               //return aResShape;
               continue;
             }
             else {
-              B.Add( compound, aShape ) ;
+              B.Add(compound, aShape);
             }
           }
         }
-        if ( aResShape.IsNull() )
+        if (aResShape.IsNull())
           aResShape = compound;
 
-      } else {
+        // BEGIN: Store names of sub-shapes from file
+        TopTools_IndexedMapOfShape anIndices;
+        TopExp::MapShapes(aResShape, anIndices);
+
+        Handle(Interface_InterfaceModel) Model = aReader.WS()->Model();
+        Handle(XSControl_TransferReader) TR = aReader.WS()->TransferReader();
+        if (!TR.IsNull()) {
+          Handle(Transfer_TransientProcess) TP = TR->TransientProcess();
+          Handle(Standard_Type) tPD  = STANDARD_TYPE(StepBasic_ProductDefinition);
+
+          Standard_Integer nb = Model->NbEntities();
+          for (Standard_Integer ie = 1; ie <= nb; ie++) {
+            Handle(Standard_Transient) enti = Model->Value(ie);
+            if (enti->DynamicType() != tPD) continue;
+
+            Handle(StepBasic_ProductDefinition) PD =
+              Handle(StepBasic_ProductDefinition)::DownCast(enti);
+            if (PD.IsNull()) continue;
+
+            Handle(StepBasic_Product) Prod = PD->Formation()->OfProduct();
+            if (Prod->Name()->UsefullLength() <= 0) continue;
+
+            Handle(TCollection_HAsciiString) aName = Prod->Name();
+            TCollection_ExtendedString aNameExt (aName->ToCString());
+
+            // find target shape
+            Handle(Transfer_Binder) binder = TP->Find(enti);
+            if (binder.IsNull()) continue;
+            TopoDS_Shape S = TransferBRep::ShapeResult(binder);
+            if (S.IsNull()) continue;
+
+            // as PRODUCT can be included in the main shape
+            // several times, we look here for all iclusions.
+            Standard_Integer isub, nbSubs = anIndices.Extent();
+            for (isub = 1; isub <= nbSubs; isub++)
+            {
+              TopoDS_Shape aSub = anIndices.FindKey(isub);
+              if (aSub.IsPartner(S)) {
+                // create label and set shape
+                TDF_Label L;
+                TDF_TagSource aTag;
+                L = aTag.NewChild(theShapeLabel);
+                TNaming_Builder tnBuild (L);
+                //tnBuild.Generated(S);
+                tnBuild.Generated(aSub);
+
+                // set a name
+                TDataStd_Name::Set(L, aNameExt);
+              }
+            }
+          }
+        }
+        // END: Store names
+      }
+      else {
 //        switch (status) {
 //        case IFSelect_RetVoid:
 //          theError = "Nothing created or No data to process";