From 59c66d2ea4f80e89d29105f83743ab86c8dab454 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 5 Dec 2011 10:29:45 +0000 Subject: [PATCH] Merge from V6_4_BR 05/12/2011 --- configure.ac | 2 +- doc/docutils/conf.py.in | 2 +- doc/salome/gui/GEOM/input/creating_face.doc | 4 +- doc/salome/gui/GEOM/input/tui_test_all.doc | 12 +- .../gui/GEOM/input/viewing_geom_obj.doc | 2 +- src/BuildGUI/BuildGUI_FaceDlg.cxx | 24 +- src/EntityGUI/EntityGUI_SketcherDlg.cxx | 2 +- src/EntityGUI/EntityGUI_SubShapeDlg.cxx | 43 +- src/GEOMAlgo/GEOMAlgo_Tools3D.cdl | 13 + src/GEOMAlgo/GEOMAlgo_Tools3D.cxx | 174 ++++- src/GEOMAlgo/GEOMAlgo_Tools3D.hxx | 6 + src/GEOMAlgo/GEOMAlgo_Tools3D.jxx | 3 + src/GEOMGUI/GEOM_msg_en.ts | 12 +- src/GEOMGUI/GEOM_msg_fr.ts | 12 +- src/GEOMGUI/GeometryGUI.cxx | 3 + .../BRepBuilderAPI_GTransform_21423.cxx | 111 +++ .../BRepBuilderAPI_GTransform_21423.hxx | 137 ++++ .../BRepBuilderAPI_ModifyShape_21423.cxx | 144 ++++ .../BRepBuilderAPI_ModifyShape_21423.hxx | 129 ++++ .../BRepBuilderAPI_NurbsConvert_21423.cxx | 58 ++ .../BRepBuilderAPI_NurbsConvert_21423.hxx | 95 +++ src/GEOMImpl/BRepTools_Modifier_21423.cxx | 539 ++++++++++++++ src/GEOMImpl/BRepTools_Modifier_21423.hxx | 118 ++++ ...epTools_NurbsConvertModification_21423.cxx | 662 ++++++++++++++++++ ...epTools_NurbsConvertModification_21423.hxx | 141 ++++ src/GEOMImpl/GEOMImpl_Block6Explorer.cxx | 29 +- src/GEOMImpl/GEOMImpl_Block6Explorer.hxx | 10 +- src/GEOMImpl/GEOMImpl_IShapesOperations.cxx | 23 +- src/GEOMImpl/GEOMImpl_ScaleDriver.cxx | 7 +- src/GEOMImpl/GEOMImpl_ShapeDriver.cxx | 30 +- ...epTools_NurbsConvertModification_21423.hxx | 27 + src/GEOMImpl/Makefile.am | 11 + src/GEOM_I/GEOM_IShapesOperations_i.cc | 8 +- src/GEOM_PY/structelem/parts.py | 3 +- src/GEOM_SWIG/geompyDC.py | 10 +- src/GroupGUI/GroupGUI_GroupDlg.cxx | 37 +- .../OperationGUI_PartitionDlg.cxx | 110 +-- src/ShHealOper/Makefile.am | 2 +- 38 files changed, 2612 insertions(+), 143 deletions(-) create mode 100755 src/GEOMImpl/BRepBuilderAPI_GTransform_21423.cxx create mode 100644 src/GEOMImpl/BRepBuilderAPI_GTransform_21423.hxx create mode 100755 src/GEOMImpl/BRepBuilderAPI_ModifyShape_21423.cxx create mode 100644 src/GEOMImpl/BRepBuilderAPI_ModifyShape_21423.hxx create mode 100755 src/GEOMImpl/BRepBuilderAPI_NurbsConvert_21423.cxx create mode 100644 src/GEOMImpl/BRepBuilderAPI_NurbsConvert_21423.hxx create mode 100644 src/GEOMImpl/BRepTools_Modifier_21423.cxx create mode 100644 src/GEOMImpl/BRepTools_Modifier_21423.hxx create mode 100644 src/GEOMImpl/BRepTools_NurbsConvertModification_21423.cxx create mode 100644 src/GEOMImpl/BRepTools_NurbsConvertModification_21423.hxx create mode 100644 src/GEOMImpl/Handle_BRepTools_NurbsConvertModification_21423.hxx diff --git a/configure.ac b/configure.ac index c24cf9e48..729d02fa1 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ # Modified by : Alexander BORODIN (OCN) - autotools usage # Created from configure.in.base # -AC_INIT([Salome2 Project GEOM module], [6.3.1], [webmaster.salome@opencascade.com], [SalomeGEOM]) +AC_INIT([Salome2 Project GEOM module], [6.4.0], [webmaster.salome@opencascade.com], [SalomeGEOM]) AC_CONFIG_AUX_DIR(adm_local/unix/config_files) AC_CANONICAL_HOST AC_CANONICAL_TARGET diff --git a/doc/docutils/conf.py.in b/doc/docutils/conf.py.in index da8e3e23c..ab0f94d07 100644 --- a/doc/docutils/conf.py.in +++ b/doc/docutils/conf.py.in @@ -184,7 +184,7 @@ latex_documents = [ # 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' +latex_logo = '@srcdir@/../salome/tui/images/head.png' # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. diff --git a/doc/salome/gui/GEOM/input/creating_face.doc b/doc/salome/gui/GEOM/input/creating_face.doc index 11cd76498..1bfd520dd 100644 --- a/doc/salome/gui/GEOM/input/creating_face.doc +++ b/doc/salome/gui/GEOM/input/creating_face.doc @@ -17,6 +17,8 @@ placement of the wires. If some resulting wires remain open, they will be added in the resulting compound "as is". \n Check Try to create a planar face to create a planar face or nothing if it is impossible. +\note Please note, that the resulting face can have a huge tolerance, if the initial wire has a big deviation from the plane. If the final tolerance exceeds 1e-06, a warning will be shown, but the face will be created and published in the study in a normal way. Using such faces can lead to failures or unpredictable results in most operations. + \n The \b Result will be a \b GEOM_Object (FACE). \n TUI Command: geompy.MakeFaceWires([list of Shapes], isPlanarWanted) @@ -33,6 +35,6 @@ face or nothing if it is impossible. \image html facesn3.png "Examples of faces" Our TUI Scripts provide you with useful examples of creation of -\ref tui_creation_squareface "Primitives". +\ref tui_creation_face "Advanced Geometric Objects". */ diff --git a/doc/salome/gui/GEOM/input/tui_test_all.doc b/doc/salome/gui/GEOM/input/tui_test_all.doc index 9f7c30552..de0b46250 100644 --- a/doc/salome/gui/GEOM/input/tui_test_all.doc +++ b/doc/salome/gui/GEOM/input/tui_test_all.doc @@ -13,21 +13,15 @@ \anchor swig_MakeMarker \until cs3 -\until MakePlaneThreePnt +\until MakePlaneLCS \anchor swig_MakeArc -\until MakeArcCenter +\until MakeArcOfEllipse \anchor swig_MakeCircle \until Circle2 -\until MakeVertexOnCurve - -\until MakeVertexOnCurveByCoord - -\until MakeVertexOnSurface - -\until MakeVertexOnSurfaceByCoord +\until MakeVertexOnCurveByLength \anchor swig_MakeVertexOnLinesIntersection \until p_on_l1l2 diff --git a/doc/salome/gui/GEOM/input/viewing_geom_obj.doc b/doc/salome/gui/GEOM/input/viewing_geom_obj.doc index ba06d2397..4a43a25df 100644 --- a/doc/salome/gui/GEOM/input/viewing_geom_obj.doc +++ b/doc/salome/gui/GEOM/input/viewing_geom_obj.doc @@ -72,7 +72,7 @@ under certain conditions: \image html ob_popup_menu.png