Salome HOME
modules/smesh.git
7 years agoDebug of CMake build procedure
mpa [Thu, 27 Feb 2014 12:43:22 +0000 (16:43 +0400)]
Debug of CMake build procedure

7 years ago22360]: EDF SMESH: Body Fitting algorithm: incorporate edges
eap [Thu, 27 Feb 2014 07:53:03 +0000 (11:53 +0400)]
22360]: EDF SMESH: Body Fitting algorithm: incorporate edges

Fix a case with vertex falling on a facet and not used at facet construction

7 years ago22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
eap [Wed, 26 Feb 2014 09:50:42 +0000 (13:50 +0400)]
22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses

Improve code readability

7 years ago22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
eap [Wed, 26 Feb 2014 08:58:05 +0000 (12:58 +0400)]
22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses

Fix warnings

7 years ago22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
eap [Wed, 26 Feb 2014 08:57:20 +0000 (12:57 +0400)]
22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses

Bug: 3D tab disabled on an imported mesh

7 years agoBugs in CopyMesh()
eap [Wed, 26 Feb 2014 08:55:21 +0000 (12:55 +0400)]
Bugs in CopyMesh()

1) Assure the mesh is loaded before copying
2) Fix wrong copying polyhedra

7 years ago22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
eap [Tue, 25 Feb 2014 14:54:34 +0000 (18:54 +0400)]
22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses

1) Some optimization
2) Implement StdMeshers_Prism_3D::IsApplicable()

7 years ago22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
eap [Tue, 25 Feb 2014 14:50:48 +0000 (18:50 +0400)]
22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses

+  /*!
+   * \brief Auto pointer
+   */
+  template <typename TOBJ> struct Deleter

7 years agoAdditional fix for the "0021793: [CEA 625] Clipping : from coordinates
mgn [Mon, 24 Feb 2014 11:36:54 +0000 (15:36 +0400)]
Additional fix for the "0021793: [CEA 625] Clipping : from coordinates
or from bounding box"

7 years ago0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
imn [Fri, 21 Feb 2014 08:25:11 +0000 (12:25 +0400)]
0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
0022365: EDF SMESH: Create Mesh dialog box improvement: hide algorithms depending on a mesh type

7 years agoUpdate copyrights 2014.
akl [Thu, 20 Feb 2014 12:25:37 +0000 (16:25 +0400)]
Update copyrights 2014.

7 years agoIn Create Mesh dlg, add "objects" to a number of selected GEOM objects
eap [Thu, 20 Feb 2014 10:05:45 +0000 (14:05 +0400)]
In Create Mesh dlg, add "objects" to a number of selected GEOM objects

7 years agoExcess quote
eap [Thu, 20 Feb 2014 09:38:40 +0000 (13:38 +0400)]
Excess quote

7 years ago0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
eap [Thu, 20 Feb 2014 08:58:43 +0000 (12:58 +0400)]
0022360: EDF SMESH: Body Fitting algorithm: incorporate edges

  Treat tangent transition at the 1st link node

7 years agoMake meshes with different names if several GEOM objects selected
eap [Thu, 20 Feb 2014 08:55:58 +0000 (12:55 +0400)]
Make meshes with different names if several GEOM objects selected

7 years agoFix strange string like "1 , 1 , 1 " instead of nb of selected geom objects at mesh...
eap [Wed, 19 Feb 2014 13:15:16 +0000 (17:15 +0400)]
Fix strange string like "1 , 1 , 1 " instead of nb of selected geom objects at mesh creation

7 years agoFix problems with the OpenGL clipping planes.
rnv [Wed, 19 Feb 2014 12:43:32 +0000 (16:43 +0400)]
Fix problems with the OpenGL clipping planes.

7 years agoFix error description passed via exception
eap [Tue, 18 Feb 2014 09:56:25 +0000 (13:56 +0400)]
Fix error description passed via exception

7 years agodo not catch CORBA exceptions thrown by SMESH_Mesh_i
eap [Mon, 17 Feb 2014 13:10:11 +0000 (17:10 +0400)]
do not catch CORBA exceptions thrown by SMESH_Mesh_i

7 years agofix AddFrom() for an undefined filter as argument
eap [Mon, 17 Feb 2014 13:08:46 +0000 (17:08 +0400)]
fix AddFrom() for an undefined filter as argument

7 years agoMesh generation is more important that import/export.
eap [Mon, 17 Feb 2014 10:14:31 +0000 (14:14 +0400)]
Mesh generation is more important that import/export.

So tell about IO operations later.

7 years agoForum: Quadrangle meshing of surface with 3 edges
eap [Mon, 17 Feb 2014 09:55:35 +0000 (13:55 +0400)]
Forum: Quadrangle meshing of surface with 3 edges

There can be degenerated EDGEs in non-closed and non-periodic FACEs

7 years ago0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
eap [Fri, 14 Feb 2014 15:31:40 +0000 (19:31 +0400)]
0022360: EDF SMESH: Body Fitting algorithm: incorporate edges

7 years ago0022488: EDF 2781 SMESH: Faces of an internal submesh can't be selected with the...
eap [Fri, 14 Feb 2014 12:10:27 +0000 (16:10 +0400)]
0022488: EDF 2781 SMESH: Faces of an internal submesh can't be selected with the viscous layer

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Fri, 14 Feb 2014 12:09:40 +0000 (16:09 +0400)]
22359: Body Fitting algorithm: grid orientation

7 years agoIMPs 00022364, 0022363, 0022362
eap [Fri, 14 Feb 2014 12:08:39 +0000 (16:08 +0400)]
IMPs 00022364, 0022363, 0022362

7 years ago0022367: EDF SMESH: Notification on concurrent algorithms/hypotheses
eap [Fri, 14 Feb 2014 12:05:31 +0000 (16:05 +0400)]
0022367: EDF SMESH: Notification on concurrent algorithms/hypotheses

7 years ago0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices
eap [Fri, 14 Feb 2014 12:03:53 +0000 (16:03 +0400)]
0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices

      Create GUI

7 years ago0022364, 0022363: EDF SMESH: Create Mesh dialog box improvement
eap [Fri, 14 Feb 2014 12:03:10 +0000 (16:03 +0400)]
0022364, 0022363: EDF SMESH: Create Mesh dialog box improvement

7 years ago0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices
eap [Fri, 14 Feb 2014 11:53:14 +0000 (15:53 +0400)]
0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices

  Create GUI

7 years ago0022481: EDF 2559 SMESH: Is GetGroups list sorted?
ctn [Wed, 5 Feb 2014 12:03:58 +0000 (12:03 +0000)]
0022481: EDF 2559 SMESH: Is GetGroups list sorted?
 => update of the doc

7 years agoUpdate French translation file
gdd [Wed, 5 Feb 2014 11:03:39 +0000 (11:03 +0000)]
Update French translation file

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Wed, 5 Feb 2014 09:14:42 +0000 (09:14 +0000)]
22359: Body Fitting algorithm: grid orientation

 Make axes w/o geometry larger than the trihedron

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Wed, 5 Feb 2014 09:13:00 +0000 (09:13 +0000)]
22359: Body Fitting algorithm: grid orientation

Fix a crash in the release mode

+  // Creation of this class disables vtkMatplotlibMathTextUtilities
+  struct MPLMathText_Disabler : protected vtkMatplotlibMathTextUtilities

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Wed, 5 Feb 2014 08:20:55 +0000 (08:20 +0000)]
22359: Body Fitting algorithm: grid orientation

Fix the destructor

7 years ago22465: [CEA] sometimes isinstance(m, Mesh) returns False for Mesh objects // PPGP pb
eap [Wed, 5 Feb 2014 08:08:10 +0000 (08:08 +0000)]
22465: [CEA] sometimes isinstance(m, Mesh) returns False for Mesh objects // PPGP pb

class MeshMeta(type):
    def __instancecheck__(cls, inst):
        """Implement isinstance(inst, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {type(inst), inst.__class__})

    def __subclasscheck__(cls, sub):
        """Implement issubclass(sub, cls)."""
        return type.__subclasscheck__(cls, sub) or (cls.__name__ == sub.__name__ and cls.__module__ == sub.__module__)

...

class Mesh:
    __metaclass__ = MeshMeta

...

7 years ago22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing
eap [Tue, 4 Feb 2014 15:51:49 +0000 (15:51 +0000)]
22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Tue, 4 Feb 2014 13:27:03 +0000 (13:27 +0000)]
22359: Body Fitting algorithm: grid orientation

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Tue, 4 Feb 2014 13:06:41 +0000 (13:06 +0000)]
22359: Body Fitting algorithm: grid orientation

+  ${GEOM_INCLUDE_DIRS}

+  ${GEOM_GEOMUtils}

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Tue, 4 Feb 2014 13:06:14 +0000 (13:06 +0000)]
22359: Body Fitting algorithm: grid orientation

Add labels to arrows

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Tue, 4 Feb 2014 13:05:33 +0000 (13:05 +0000)]
22359: Body Fitting algorithm: grid orientation

Move global methods needed for NCollection_DataMap< TopoDS_Shape, * >
to class SMESHDS_Hasher in order not to clash with the same global definitions

-  typedef NCollection_DataMap< TopoDS_Shape, THypList > ShapeToHypothesis;
+  typedef NCollection_DataMap< TopoDS_Shape, THypList, SMESHDS_Hasher > ShapeToHypothesis;

7 years ago22359: Body Fitting algorithm: grid orientation
eap [Tue, 4 Feb 2014 13:02:26 +0000 (13:02 +0000)]
22359: Body Fitting algorithm: grid orientation
22358: Body Fitting algorithm: origin point of grid defined by spacing

7 years ago22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
eap [Fri, 31 Jan 2014 13:43:11 +0000 (13:43 +0000)]
22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D

1) enable recursive calls from StdMeshers_ViscousLayers2D::Compute( aMesh, F );
2) fix computeQuadDominant() for a case of triangles on 2 sides
3) do not use triaVertex for a quadrangle FACE

7 years ago22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
eap [Fri, 31 Jan 2014 13:40:41 +0000 (13:40 +0000)]
22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D

  Use _noShrinkVert

7 years agoAdditional fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection...
rnv [Fri, 24 Jan 2014 11:16:50 +0000 (11:16 +0000)]
Additional fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled" issue.

7 years agoFix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object...
rnv [Fri, 24 Jan 2014 08:37:57 +0000 (08:37 +0000)]
Fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled"

7 years ago22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
eap [Thu, 23 Jan 2014 12:46:37 +0000 (12:46 +0000)]
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices

  fix for a case of http://www.salome-platform.org/forum/forum_10/863809970#478269857

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Tue, 21 Jan 2014 16:37:16 +0000 (16:37 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

  Make Python API be equal to IDL API

7 years agoFix the first item of the 0022387: EDF GUI: New behaviour of store position of window...
rnv [Tue, 21 Jan 2014 12:37:34 +0000 (12:37 +0000)]
Fix the first item of the 0022387: EDF GUI: New behaviour of store position of windows is not always suitable" issue:
1) Bad initial position of windows in some modules with the option "store position of windows" unchecked.

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Tue, 21 Jan 2014 09:24:53 +0000 (09:24 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

 disable dialog if a mesh includes no hexahedra

7 years ago22244: [CEA] Method to compute the normal to a mesh face
eap [Mon, 20 Jan 2014 17:42:20 +0000 (17:42 +0000)]
22244: [CEA] Method to compute the normal to a mesh face

-    double_array GetFaceNormal(in long faceId);
+    double_array GetFaceNormal(in long faceId, in boolean normalized);

7 years ago22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
eap [Mon, 20 Jan 2014 16:39:00 +0000 (16:39 +0000)]
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices

 fix recursive case of computeQuadPref()

7 years agofix indentation
eap [Mon, 20 Jan 2014 10:45:36 +0000 (10:45 +0000)]
fix indentation

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Mon, 20 Jan 2014 10:35:19 +0000 (10:35 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

+  double GetDistance( const SMDS_MeshElement* elem, const gp_Pnt& point );
+  double GetDistance( const SMDS_MeshEdge* edge, const gp_Pnt& point );
+  double GetDistance( const SMDS_MeshVolume* volume, const gp_Pnt& point );

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Mon, 20 Jan 2014 10:34:46 +0000 (10:34 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

+  void                 SetArrowShapeAndNb( int    nbArrows,
+                                           double headLength,
+                                           double headRadius,
+                                           double start=0.);
+  void                 SetArrows( const gp_Ax1* axes,
+                                  double        length);

+  vtkUnstructuredGrid* GetGrid() const;

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Mon, 20 Jan 2014 10:34:21 +0000 (10:34 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

 namespace SMESH
 {
   enum SMESHGUI_FilterType {
     QuadFilter              =  5,
     TriaFilter              =  6,
+    FirstGeometryTypeFilter,
+    FirstEntityTypeFilter   = FirstGeometryTypeFilter + SMDSGeom_NONE,
+    LastFilter              = FirstEntityTypeFilter   + SMDSEntity_Last
   };
 };

+class SMESHGUI_VolumeShapeFilter : public SMESHGUI_Filter
+{

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Mon, 20 Jan 2014 10:32:49 +0000 (10:32 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

+  static int GetOppFaceIndexOfHex( int faceIndex );

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Mon, 20 Jan 2014 10:32:30 +0000 (10:32 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

+  virtual SMDSAbs_GeometryType GetGeomType()  const { return SMDSGeom_POLYGON; }

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Mon, 20 Jan 2014 10:32:14 +0000 (10:32 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

+    GeometryType GetElementShape( in long id )
+      raises (SALOME::SALOME_Exception);

7 years ago22316: EDF 2719 SMESH: Split hexas into prisms
eap [Mon, 20 Jan 2014 10:31:23 +0000 (10:31 +0000)]
22316: EDF 2719 SMESH: Split hexas into prisms

7 years ago22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
eap [Wed, 15 Jan 2014 10:27:00 +0000 (10:27 +0000)]
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices

 fix for recursive call of computeQuadPref()

7 years agoMerge from BR_imps_2013 14/01/2014
vsr [Wed, 15 Jan 2014 09:41:17 +0000 (09:41 +0000)]
Merge from BR_imps_2013 14/01/2014

7 years ago22455: Error "No mesh elements assigned to a face" is raised instead of a simple...
eap [Fri, 10 Jan 2014 08:01:57 +0000 (08:01 +0000)]
22455: Error "No mesh elements assigned to a face" is raised instead of a simple warning

1) Fix finding a shape in a study
2) Append study entry to a name of published failed sub-shape

7 years ago22455: Error "No mesh elements assigned to a face" is raised instead of a simple...
eap [Thu, 9 Jan 2014 15:08:07 +0000 (15:08 +0000)]
22455: Error "No mesh elements assigned to a face" is raised instead of a simple warning

Append study entry to a failed sub-shape name,
else it's hard to find a sub-shape in the study

7 years agoMerge from V7_3_BR (09/01/2014)
vsr [Thu, 9 Jan 2014 14:20:44 +0000 (14:20 +0000)]
Merge from V7_3_BR (09/01/2014)

7 years agoMerge from V7_3_BR branch 18/12/2013
vsr [Wed, 18 Dec 2013 15:08:18 +0000 (15:08 +0000)]
Merge from V7_3_BR branch 18/12/2013

7 years agoSmall fix for windows
fahed [Thu, 28 Nov 2013 08:41:47 +0000 (08:41 +0000)]
Small fix for windows

7 years agoCMake: V7_3_0a1
mpa [Wed, 27 Nov 2013 11:00:50 +0000 (11:00 +0000)]
CMake:
- add files to remove using command "make clean"

7 years ago22419: EDF SMESH Regression: 3D Extrusion fails
eap [Wed, 27 Nov 2013 10:00:34 +0000 (10:00 +0000)]
22419: EDF SMESH Regression: 3D Extrusion fails

   FaceQuadStruct::Ptr CheckNbEdges(SMESH_Mesh&         aMesh,
                                    const TopoDS_Shape& aShape,
+                                   const bool          considerMesh=false);

7 years agoIntegrated in V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create...
imn [Wed, 27 Nov 2013 07:30:42 +0000 (07:30 +0000)]
Integrated in V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI

7 years agomore orthography
eap [Tue, 26 Nov 2013 13:41:02 +0000 (13:41 +0000)]
more orthography

7 years agoFix indentation
eap [Tue, 26 Nov 2013 13:37:39 +0000 (13:37 +0000)]
Fix indentation

7 years agoMore safety
eap [Tue, 26 Nov 2013 13:33:52 +0000 (13:33 +0000)]
More safety

-        if ( l_d->first->IsDeletable() )
+        if ( l_d->first != listener && l_d->first->IsDeletable() )

7 years ago22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
eap [Tue, 26 Nov 2013 13:30:21 +0000 (13:30 +0000)]
22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices

+   * \brief Create a side from an UVPtStructVec
+   */
+  StdMeshers_FaceSide(UVPtStructVec& theSideNodes);

7 years agoFix CheckNbEdges() for a FACE with a closed EDGE
eap [Tue, 26 Nov 2013 13:29:36 +0000 (13:29 +0000)]
Fix CheckNbEdges() for a FACE with a closed EDGE

7 years agoFix access to NULL quad
eap [Tue, 26 Nov 2013 12:26:45 +0000 (12:26 +0000)]
Fix access to NULL quad

7 years agohttp://www.salome-platform.org/forum/forum_11/173031193
eap [Tue, 26 Nov 2013 12:16:47 +0000 (12:16 +0000)]
www.salome-platform.org/forum/forum_11/173031193

Fix associating FACEs having degenerated EDGEs

7 years agoIntegrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create...
imn [Tue, 26 Nov 2013 10:15:18 +0000 (10:15 +0000)]
Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI

7 years agoIntegrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create...
imn [Tue, 26 Nov 2013 10:11:53 +0000 (10:11 +0000)]
Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI

7 years agoDo not use NETGEN as it's unavailable during 'make test'
eap [Tue, 26 Nov 2013 10:11:52 +0000 (10:11 +0000)]
Do not use NETGEN as it's unavailable during 'make test'

7 years agoFix SIGSEGV at closing a study
eap [Mon, 25 Nov 2013 10:39:28 +0000 (10:39 +0000)]
Fix SIGSEGV at closing a study

7 years ago0022414: [CEA 1010] Regressio on tests 01_composite.py
eap [Mon, 25 Nov 2013 09:14:33 +0000 (09:14 +0000)]
0022414: [CEA 1010] Regressio on tests 01_composite.py

  Fix for a vertex w/o a node

7 years ago0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py
eap [Mon, 25 Nov 2013 09:13:09 +0000 (09:13 +0000)]
0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py

+        from salome.smesh.smeshBuilder import Mesh

7 years ago[SALOME platform 2008-2014 0022314]: EDF 2594 SMESH: Preview "Union of triangles...
ctn [Fri, 22 Nov 2013 14:42:31 +0000 (14:42 +0000)]
[SALOME platform 2008-2014 0022314]: EDF 2594 SMESH: Preview "Union of triangles" result: Documentation update

7 years agosynchronize with SMESH_msg_en.ts
eap [Fri, 22 Nov 2013 13:55:23 +0000 (13:55 +0000)]
synchronize with SMESH_msg_en.ts

7 years ago- static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
eap [Fri, 22 Nov 2013 13:17:22 +0000 (13:17 +0000)]
-  static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
+  static bool IsStraight( const TopoDS_Edge & E, const bool degenResult=false );

7 years ago+ bool findUVByHalfDivision( const gp_Pnt& thePoint, const gp_XY& theUV,
eap [Fri, 22 Nov 2013 13:17:00 +0000 (13:17 +0000)]
+  bool findUVByHalfDivision( const gp_Pnt& thePoint, const gp_XY& theUV,
+                             const TFace& tface, gp_XYZ& theParams);
+  bool findUVAround( const gp_Pnt& thePoint, const gp_XY& theUV,
+                     const TFace& tface, gp_XYZ& theParams, int nbGetWorstLimit );

7 years agohttp://www.salome-platform.org/forum/forum_10/409159356
eap [Fri, 22 Nov 2013 13:16:34 +0000 (13:16 +0000)]
www.salome-platform.org/forum/forum_10/409159356

Fox testcube2a.py

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 13:14:08 +0000 (13:14 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

-  StdMeshers_FaceSide(const SMDS_MeshNode*       theNode,
-                      const gp_Pnt2d             thePnt2d,
-                      const StdMeshers_FaceSide* theSide);
+  StdMeshers_FaceSide(const StdMeshers_FaceSide*  theSide,
+                      const SMDS_MeshNode*        theNode,
+                      const gp_Pnt2d*             thePnt2d1,
+                      const gp_Pnt2d*             thePnt2d2=NULL,
+                      const Handle(Geom2d_Curve)& theC2d=NULL,
+                      const double                theUFirst=0.,
+                      const double                theULast=1.);

7 years ago[SALOME platform 2008-2014 0022314]: EDF 2594 SMESH: Preview "Union of triangles...
ctn [Fri, 22 Nov 2013 12:48:17 +0000 (12:48 +0000)]
[SALOME platform 2008-2014 0022314]: EDF 2594 SMESH: Preview "Union of triangles" result: Documentation update

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:40:36 +0000 (12:40 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

+  int GetCorners(const TopoDS_Face&          theFace,
+                 SMESH_Mesh &                theMesh,
+                 std::list<TopoDS_Edge>&     theWire,
+                 std::vector<TopoDS_Vertex>& theVertices,
+                 int &                       theNbDegenEdges);

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:37:31 +0000 (12:37 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

-  StdMeshers_FaceSide(const SMDS_MeshNode*       theNode,
-                      const gp_Pnt2d             thePnt2d,
-                      const StdMeshers_FaceSide* theSide);
+  StdMeshers_FaceSide(const StdMeshers_FaceSide*  theSide,
+                      const SMDS_MeshNode*        theNode,
+                      const gp_Pnt2d*             thePnt2d1,
+                      const gp_Pnt2d*             thePnt2d2=NULL,
+                      const Handle(Geom2d_Curve)& theC2d=NULL,
+                      const double                theUFirst=0.,
+                      const double                theULast=1.);

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:36:27 +0000 (12:36 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

do not import from smeshBuilder to avoid pb with cyclic import

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:35:35 +0000 (12:35 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

+  COMPERR_BAD_PARMETERS    = -13, //!< incorrect hypotheses parameters

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:35:17 +0000 (12:35 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

+        <source>COMPERR_BAD_PARMETERS</source>
+        <translation>Invalid input parameters</translation>

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:34:58 +0000 (12:34 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

+      CASE2TEXT( COMPERR_BAD_PARMETERS    );

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:34:45 +0000 (12:34 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

Fix "int WrapIndex(const int ind, const int nbNodes)" for ind=-4 and nbNodes=4

7 years ago22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
eap [Fri, 22 Nov 2013 12:33:25 +0000 (12:33 +0000)]
22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges

+    COMPERR_BAD_PARMETERS    // incorrect hypotheses parameters

7 years agoMinor change
vsr [Wed, 20 Nov 2013 13:46:15 +0000 (13:46 +0000)]
Minor change

7 years ago-from salome.StdMeshers import StdMeshersBuilder
eap [Wed, 20 Nov 2013 11:31:08 +0000 (11:31 +0000)]
-from salome.StdMeshers import StdMeshersBuilder
+import StdMeshers