Salome HOME
modules/smesh.git
10 years agoUpdate French translation file
gdd [Wed, 5 Feb 2014 11:03:39 +0000 (11:03 +0000)]
Update French translation file

10 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

10 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

10 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

10 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

...

10 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

10 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

10 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}

10 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

10 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;

10 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

10 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

10 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

10 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.

10 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"

10 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

10 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

10 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.

10 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

10 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);

10 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()

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

10 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 );

10 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;

10 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
+{

10 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 );

10 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; }

10 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);

10 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

10 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()

10 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

10 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

10 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

10 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)

10 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

10 years agoINT PAL: 0052225: Failed mesh - number of isolines does not correspond to settings V7_3_0 V7_3_0rc1
mpa [Fri, 13 Dec 2013 10:17:22 +0000 (10:17 +0000)]
INT PAL: 0052225: Failed mesh - number of isolines does not correspond to settings

10 years agoSynchronize with *_msg_en.ts
eap [Fri, 13 Dec 2013 08:48:28 +0000 (08:48 +0000)]
Synchronize with *_msg_en.ts

10 years agoUpdate documentation
vsr [Thu, 12 Dec 2013 14:35:44 +0000 (14:35 +0000)]
Update documentation

10 years ago"viscous layer 3d around foil"
eap [Thu, 12 Dec 2013 13:52:28 +0000 (13:52 +0000)]
"viscous layer 3d around foil"
http://www.salome-platform.org/forum/forum_10/77751736

 Use angular smoothing and swap diagonals during shrink()

10 years ago"viscous layer 3d around foil"
eap [Wed, 11 Dec 2013 14:52:44 +0000 (14:52 +0000)]
"viscous layer 3d around foil"
http://www.salome-platform.org/forum/forum_10/77751736

Fix InverseDiag()

10 years ago52236: TC7.3.0 Operation "Extrusion along a path" brings to wrong results if field...
eap [Fri, 6 Dec 2013 15:55:21 +0000 (15:55 +0000)]
52236: TC7.3.0 Operation "Extrusion along a path" brings to wrong results if field "Rotation Angles" is used for calculation.

Fix setting angles in MakeExtrElements()

10 years ago0052235: TC7.3.0: continious fatal errors after splitting into 24 tetrahedra
eap [Fri, 6 Dec 2013 15:26:44 +0000 (15:26 +0000)]
0052235: TC7.3.0: continious fatal errors after splitting into 24 tetrahedra

  Protect myMesh from deletion in onApply()

10 years agoShow warning only in the verbose mode.
rnv [Fri, 6 Dec 2013 06:20:09 +0000 (06:20 +0000)]
Show warning only in the verbose mode.

10 years ago52223: TC7.3.0:Automatically create groups for MED export does not V7_3_0b1
eap [Thu, 5 Dec 2013 15:47:22 +0000 (15:47 +0000)]
52223: TC7.3.0:Automatically create groups for MED export does not
save in export mesh dialog box,when we check it in preferences

10 years agoRegression SALOME_TESTS/Grids/smesh/bugs_02/C9
eap [Thu, 5 Dec 2013 11:26:24 +0000 (11:26 +0000)]
Regression SALOME_TESTS/Grids/smesh/bugs_02/C9

In updateDegenUV() set number of nodes on a degenerated side to be
same as on an opposite side ONLY IF myQuadType == QUAD_STANDARD

10 years agoJapanese translations update
rnc [Thu, 5 Dec 2013 10:38:14 +0000 (10:38 +0000)]
Japanese translations update

10 years ago22434: [CEA 1022] If selection is disabled, the contextual menu of VTK view does...
eap [Thu, 5 Dec 2013 09:32:23 +0000 (09:32 +0000)]
22434: [CEA 1022] If selection is disabled, the contextual menu of VTK view does not update on selected object

 Fix processOwner() for the case of disabled SVTK selection

10 years agoREG: SurfOpt plugin : Documentation update + small corrections
rnc [Wed, 4 Dec 2013 09:46:28 +0000 (09:46 +0000)]
REG: SurfOpt plugin : Documentation update + small corrections

10 years agoINT PAL 0052190: TC7.3.0: impossible to set proper value for clipping
mpa [Wed, 4 Dec 2013 09:43:48 +0000 (09:43 +0000)]
INT PAL 0052190: TC7.3.0: impossible to set proper value for clipping

10 years agoIPAL0052197: TC7.3.0 "Fatal error" when try to add new filter to filter library
kga [Wed, 4 Dec 2013 09:36:38 +0000 (09:36 +0000)]
IPAL0052197: TC7.3.0 "Fatal error" when try to add new filter to filter library

10 years agoSet debug library name on Win32.
akl [Wed, 4 Dec 2013 08:41:23 +0000 (08:41 +0000)]
Set debug library name on Win32.

10 years agoIPAL0052195: TC7.3.0: Application crashes after closing "Add Quadratic Edge" dialog
kga [Wed, 4 Dec 2013 05:38:25 +0000 (05:38 +0000)]
IPAL0052195: TC7.3.0: Application crashes after closing "Add Quadratic Edge" dialog

10 years agoBUG: Yams plugin: Fixed bad default values due too previous integrations for passing...
rnc [Tue, 3 Dec 2013 17:37:51 +0000 (17:37 +0000)]
BUG: Yams plugin: Fixed bad default values due too previous integrations for passing to MGSurfOpt

10 years agoBUG: MGCleaner / MGSurfOpt : Fixed a problem with the doc displayed in a non-standard...
rnc [Tue, 3 Dec 2013 16:40:54 +0000 (16:40 +0000)]
BUG: MGCleaner / MGSurfOpt : Fixed a problem with the doc displayed in a non-standard way when clickin on help button.

A pdf file included in the general plugin documentation was opened through xdg-open instead of showing the general documentation in the browser specified in the preferences. This latest behaviour has been implemented

10 years agoBUG: Yams plug-in: Small bug fix, validator number of decimal for chordal deviation...
rnc [Tue, 3 Dec 2013 15:39:14 +0000 (15:39 +0000)]
BUG: Yams plug-in: Small bug fix, validator number of decimal for chordal deviation parameter was 2 instead of 3

10 years agotooltip correction
rnc [Tue, 3 Dec 2013 15:34:24 +0000 (15:34 +0000)]
tooltip correction

10 years agoBUG: Yams plugin: Dialog input values were not reset to default when closing and...
rnc [Tue, 3 Dec 2013 15:05:31 +0000 (15:05 +0000)]
BUG: Yams plugin: Dialog input values were not reset to default when closing and reopening it + verbose level spinbox was connected to max memory by mistake

10 years agoFix crash (from PPGP) when invoking popup on non-smesh (light) object
vsr [Tue, 3 Dec 2013 10:58:50 +0000 (10:58 +0000)]
Fix crash (from PPGP) when invoking popup on non-smesh (light) object

10 years ago0022427: EDF GEOM Regression: Issue with geomBuilder
vsr [Tue, 3 Dec 2013 05:52:36 +0000 (05:52 +0000)]
0022427: EDF GEOM Regression: Issue with geomBuilder

10 years agoUpdated MG-Cleaner doc.
rnc [Mon, 2 Dec 2013 16:09:16 +0000 (16:09 +0000)]
Updated MG-Cleaner doc.

A mechanism should be found for the next version to get directly the doc from the Meshgems install directory instead of copying it because there is a risk to have outdated documentation with the current way.

10 years agoBUG: MGSurfOpt (Yams) plugin: Added a missing file
rnc [Mon, 2 Dec 2013 16:06:19 +0000 (16:06 +0000)]
BUG: MGSurfOpt (Yams) plugin: Added a missing file

10 years ago20974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be...
eap [Fri, 29 Nov 2013 09:14:36 +0000 (09:14 +0000)]
20974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be removed

 Optimize smooth: 3 loops in 2D and 2 loops in 3D

10 years agoPPGP
eap [Fri, 29 Nov 2013 08:45:55 +0000 (08:45 +0000)]
PPGP

In TSearchersDeleter fix setting/removing the event listener

10 years ago0022423: EDF SMESH Regression: Quadrangle algo fails
eap [Thu, 28 Nov 2013 17:03:09 +0000 (17:03 +0000)]
0022423: EDF SMESH Regression: Quadrangle algo fails

In GetAngle() prevent SIGFPE at singularity

10 years ago0022423: EDF SMESH Regression: Quadrangle algo fails
eap [Thu, 28 Nov 2013 17:01:37 +0000 (17:01 +0000)]
0022423: EDF SMESH Regression: Quadrangle algo fails

fix CheckNbEdges() for the case of a degenerated 5-th edge

10 years agoIncrement version to 7.3.0
vsr [Thu, 28 Nov 2013 14:32:44 +0000 (14:32 +0000)]
Increment version to 7.3.0

10 years agoImprove regularity of divisions
eap [Thu, 28 Nov 2013 13:31:50 +0000 (13:31 +0000)]
Improve regularity of divisions

10 years ago22422: EDG SMESH Regression: Quadrangle/Hyptohesis Quadrangle preference fails
eap [Thu, 28 Nov 2013 11:38:40 +0000 (11:38 +0000)]
22422: EDG SMESH Regression: Quadrangle/Hyptohesis Quadrangle preference fails

 Do not compute both QuadPreference and Standard

10 years agoMerge of fix from V7_main
vsr [Thu, 28 Nov 2013 08:49:22 +0000 (08:49 +0000)]
Merge of fix from V7_main

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

10 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"

10 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);

10 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

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

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

10 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() )

10 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);

10 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

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

10 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

10 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

10 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

10 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'

10 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

10 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

10 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

10 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

10 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

10 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 );

10 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 );

10 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

10 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.);

10 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

10 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);

10 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.);

10 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

10 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

10 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>

10 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    );

10 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