Commit Graph

1350 Commits

Author SHA1 Message Date
mpa
1176e29a2c 0022571: [CEA 1152] if selection disabled, impossible to select a mesh in "Merge nodes" in manual mode 2014-04-25 10:52:26 +04:00
eap
b1f58b701e Regression of SALOME_TESTS/Grids/smesh/imps_09/K2 2014-04-24 20:06:54 +04:00
eap
70e4ab70fb IPLA 52416: TC7.4.0: "Remove" button in "Union of triangles" dialog is active if no objects are selected to remove 2014-04-24 18:23:09 +04:00
akl
ffd41e46b2 0022565: [CEA 1145] Missing WT_NoteBook in python:
by default, "Note Book" dockable window is enable only in the GEOM and SMESH modules now.
2014-04-24 18:01:46 +04:00
eap
136e10ec81 22572: [CEA 1148] Radial Quadrangle does not create quadratics cells 2014-04-24 17:35:15 +04:00
Renaud Nédélec
26d8315709 Merge branch 'rnc/zcracks_doc_integration' 2014-04-24 10:34:21 +02:00
eap
c7a08e2f42 Regression of SALOME_TESTS/Grids/smesh/2D_mesh_QuadranglePreference_01/B0 2014-04-23 21:20:59 +04:00
Renaud Nédélec
5ad6e6fe45 updated screenshot for padder 2014-04-23 14:25:25 +02:00
Renaud Nédélec
4fa86c8dbe Merge remote-tracking branch 'origin/master' 2014-04-23 13:58:28 +02:00
eap
1071ba77da 22568: [CEA 1151] ConvertToQuadratic does not work if a face was not assigned with elements
Case: both nodes of a segment are on non-connected VERTEXes
2014-04-23 15:21:09 +04:00
Renaud Nédélec
8aa40d2810 Update of padder doc 2014-04-23 11:24:04 +02:00
eap
3f0822bd99 Regression SALOME_TESTS/Grids/smesh/viscous_layers_00/A1 2014-04-22 19:46:18 +04:00
eap
95d9cf9632 IPAL 12085: It is impossible to set "Threshold value" in the "Selection filter library" by selection.
52413: TC7.4.0:Selection filters Library
2014-04-22 19:40:07 +04:00
eap
b5871e675d IPAL 21532: Preview on groups of faces and volumes on any mesh is missing
Fix for a case of multiple element selection => group creation
2014-04-22 18:27:56 +04:00
eap
71bd4d3344 SALOME_TESTS/Grids/smesh/bugs_07/H5
Use 5 < angles < 85 degrees to find out a correct orientation
2014-04-21 13:17:46 +04:00
eap
cf9ef32c50 SALOME_TESTS/Grids/smesh/bugs_07/H5
Do not use angles < 5 degrees to find out a correct orientation
2014-04-17 21:05:20 +04:00
eap
faaf2eee1d SALOME_TESTS/Grids/smesh/bugs_03/D9
In updateDegenUV(), set same nb of segments on a degenerated EDGE
    NOT only at standard transition, to avoid failure because of
    "Inverted elements generated" reported for zero-area triangles.
2014-04-17 20:46:23 +04:00
eap
5c5fea746a 22564: EDF SMESH: Regression, FindNodeClosestTo does not return the right node on Salome_master/OCCT_6_7_1_beta
Refix 22511: EDF 2845 SMESH : error with UseExistingFaces
2014-04-17 17:45:55 +04:00
eap
45a71c4467 22245: [CEA] Method to get the minimal link length
Add Mesh.GetMinMax()
2014-04-17 15:56:40 +04:00
eap
17c25b0d25 22563: EDF SMESH: Regression with Projection_2D on Salome_master/OCCT_6_7_1_beta
Be more tolerant when looking for existing nodes on EDGE
2014-04-17 14:12:21 +04:00
eap
9c53b386de 22536: EDF 2876 SMESH : Problem with BodyFitting
fix for a case of cylinder on a box
2014-04-17 14:04:29 +04:00
ana
e66a037179 Win32 compatibility 2014-04-16 18:00:06 +04:00
eap
0de979b494 22313: EDF 2538 SMESH: Face with layers with ViscousLayer3D Hypothesis
Avoid diagonal inversion of trias of different FACEs
2014-04-16 15:26:37 +04:00
eap
9014427e5f 22316: EDF 2719 SMESH: Split hexas into prisms
Fix front-back method
2014-04-16 14:39:44 +04:00
Renaud Nédélec
9f501ed1df Merge branch 'master' of https://git.salome-platform.org/git/modules/smesh into rnc/zcracks_doc_integration 2014-04-16 11:27:07 +02:00
eap
479bf562b6 22539: [CEA 1126] Quadrangle mapping produces a non conform mesh
Add warning on a bad quality quad
2014-04-15 13:11:33 +04:00
Renaud Nédélec
f89ad61c33 ZCRACKS: Small modifications in the doc 2014-04-10 18:13:15 +02:00
Renaud Nédélec
a0175654b0 ZCRACKS: Added missing documentation 2014-04-10 17:27:19 +02:00
akl
057ae95be6 0022480: EDF 2773 SMESH: Automatic update in SMESH 2014-04-08 13:20:55 +04:00
eap
99baeb9583 22526: SMESH 2864 - Projection and Extrusion
fix dump
2014-04-07 17:24:24 +04:00
eap
64b2fcfed1 22526: SMESH 2864 - Projection and Extrusion
1) Set warning mesh icon if the mesh is computed with hyp errors.
2) When edit mesh, get name of geometry from the study directly (not SO -> GEOM_Object -> SO -> name ).
3) Prevent an exception when projecting faces with many holes.
2014-04-07 15:45:23 +04:00
eap
86a1fe792f 22536: EDF 2876 SMESH : Problem with BodyFitting
fix regression on doc/salome/examples/cartesian_algo.py
2014-04-07 12:54:17 +04:00
eap
878b3315d9 22536: EDF 2876 SMESH : Problem with BodyFitting
care of handedness of primitive shapes
2014-04-04 15:57:08 +04:00
eap
cc45ac3c82 22542: [CEA 1129]Convert to biquadradic creates a node ouside an element if mesh has no CAD
Fix quadratic->biquadratic w/o geometry
2014-04-03 21:01:55 +04:00
eap
54a7f4b412 22539: [CEA 1126] Quadrangle mapping on produces a non conform mesh
fix for a case of few (1-2) nb of side divisions
2014-04-03 19:39:48 +04:00
vsr
5d68554076 Merge branch V7_3_1_BR 2014-04-03 15:36:10 +04:00
mpa
b314c31c85 Correction of mistakes: 0022537: EDF 2877 SMESH : wrong information about the numbre of nodes with polyhedra 2014-04-02 14:32:44 +04:00
eap
cb88fa5e41 22541: [CEA 1127] Going quadratic with nodes on the geometry produces overlaping mesh
fix for a quad-dominant mesh
2014-04-02 14:27:50 +04:00
mpa
78400bad9c Merge branch 'origin/master' 2014-04-02 12:45:43 +04:00
mpa
22ea5ccafb Correction of mistakes: 0022537: EDF 2877 SMESH : wrong information about the numbre of nodes with polyhedra 2014-04-02 12:45:03 +04:00
Renaud Nédélec
209c9bd9c3 Merge branch 'master' into rbe/fix-boost-smart-pointers 2014-04-02 10:26:24 +02:00
mpa
dcc24a9c43 Correction of mistakes: 0022479: EDF 2823 SMESH: Add "multiplier" coefficient for balls 2014-04-02 10:09:25 +04:00
eap
32db05b07f Performance regression on SALOME_TESTS/Grids/smesh/bugs_16/S9 2014-04-01 20:48:00 +04:00
mpa
712a8ce960 0022537: EDF 2877 SMESH : wrong information about the numbre of nodes with polyhedra 2014-04-01 16:54:27 +04:00
rnv
9acd4347a6 Compilation on Windows platform. 2014-04-01 13:28:48 +04:00
Renaud Nédélec
683b9e264c Merge branch 'master' of https://git.salome-platform.org/git/modules/smesh 2014-03-31 15:23:24 +02:00
eap
7f0def7f18 22513: [CEA 1084] _objref_SMESH_Mesh instance has no attribute 'GetMEDMesh'
Document parameters of smeshBuilder.Mesh()
2014-03-31 17:14:34 +04:00
Renaud Nédélec
cdc42c9dc6 added a comment 2014-03-31 11:22:47 +02:00
Renaud Nédélec
fa6a0c1c31 zcrack plugin disabled if eficas isn't installed 2014-03-31 11:22:10 +02:00
Renaud Nédélec
985e3a3629 integration of a plugin for EDF
Conflicts:
	src/Tools/smesh_plugins.py
2014-03-31 11:20:10 +02:00
rnv
df5faa3c63 Compilation on Windows platform. 2014-03-28 15:41:31 +04:00
imn
3e7b8f4975 Fixing of bug concerning the resizing dialogue after choice another tabs 2014-03-28 13:48:56 +04:00
imn
5c6d39bbb8 0022482: EDF 2822 SMESH: Redesign of move node dialog box 2014-03-27 20:10:33 +04:00
imn
4c65637b3b Fixing of bug concerning the mesh info dialog after compute with quadratic elements 2014-03-27 19:27:55 +04:00
Renaud Barate
78eecd21fc Fix usage of Boost smart pointers for compatibility with Boost >= 1.53 2014-03-25 16:19:08 +01:00
mpa
8608b2b5ca 0022479: EDF 2823 SMESH: Add "multiplier" coefficient for balls 2014-03-24 11:29:24 +04:00
imn
1821a9c35f 0022523: [CEA 1096] Add a colomn "biquadratic" in "Mesh Information" 2014-03-21 20:58:45 +04:00
eap
17de6ce8ed 22511: EDF 2845 SMESH : error with UseExistingFaces
Fix regression of SALOME_TESTS/Grids/smesh/bugs_19/X7
2014-03-21 18:42:23 +04:00
eap
99c67a994b 22525: EDF 2863 SMESH : problem between BLSurf with viscous layer and projection
Always check zero UV
2014-03-21 16:27:14 +04:00
eap
e09cefb492 22308: EDF 2572 SMESH: Can't import a file with a non ascii character in the path
Replace OSD_Path, which does not support non-ascii coding, by SMESH_File
2014-03-21 14:53:47 +04:00
eap
f90e1ea49e 22516: [CEA 1075] Quadrangle mapping produces a bad mesh without raising error
For a case of a FACE with only concave corners.
2014-03-20 14:43:30 +04:00
eap
b56d0083b9 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
new version
2014-03-19 22:06:53 +04:00
eap
9ab3722c1b 22487: EDF 2778 SMESH: Add a GUI for the flat elements generation 2014-03-19 18:29:49 +04:00
eap
0ea528b07f 22516: [CEA 1075] Quadrangle mapping produces a bad mesh without raising error
Check that no inverted elements generated
2014-03-18 16:38:47 +04:00
eap
d9c7926dd6 22517: [CEA 1079] Filter Multi-connections can not be created with the graphical interface 2014-03-17 18:34:00 +04:00
Maintenance team (INV)
fda36beb99 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Fix compilation problem
2014-03-17 09:54:10 +04:00
imn
e061c0b256 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Small fix
2014-03-14 19:07:24 +04:00
eap
38ef3e316c Regression SALOME_TESTS/Grids/smesh/3D_mesh_NETGEN_02/C7
Box with composite sides is acceptable
2014-03-14 14:26:49 +04:00
eap
076deefb2b Regression of SALOME_TESTS/Grids/smesh/2D_mesh_QuadranglePreference_00/A8 2014-03-14 14:05:05 +04:00
mpa
943d6263fe Merge branch 'origin/V7_main' 2014-03-14 09:39:18 +04:00
mpa
d7d0fd87e0 0021746: EDF 2135 GEOM: Unification of Python documentations 2014-03-14 09:37:50 +04:00
eap
375935ef89 Fix a regression introduced by IMP 22316: EDF 2719 SMESH: Split hexas into prisms 2014-03-13 22:17:11 +04:00
eap
d58cd4792a 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed
Fix an introduced bug
2014-03-13 21:57:29 +04:00
eap
7cf31f46c4 ILMAB: export GEOM fields to MED file
Write INT fields as FLOAT ones
2014-03-13 19:40:00 +04:00
eap
7853f15768 22511: EDF 2845 SMESH : error with UseExistingFaces 2014-03-13 19:21:35 +04:00
eap
143f1ac50c 22491: EDF 2249 SMESH: Integration of a small python library for quadrangle meshing
Fix 1) license 2) bugs 3) obsolete import
2014-03-13 17:43:57 +04:00
eap
8fff0ccade 022491: EDF 2249 SMESH: Integration of a small python library for quadrangle meshing
Initial version
2014-03-13 17:03:29 +04:00
eap
460317455e 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed
Treat a more difficult case: the main shape is modified and a group contents changed
2014-03-12 15:15:57 +04:00
eap
e8af590068 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
pass toCheckAll=true to IsApplicable() only if a shape is geom group
2014-03-12 15:12:59 +04:00
mpa
88c84e8922 Fixing of bugs concerning the clipping planes functionality 2014-03-12 10:11:57 +04:00
eap
395112afac 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
1) Some fixes
  2) pass toCheckAll=true to IsApplicable() only if a shape is geom group
2014-03-11 19:46:54 +04:00
eap
28140bb1c8 22507: EDF 2845 SMESH : regression with 3D extrusion algo
Fix a case of a triangular base FACE with a sole triangular element
2014-03-11 17:33:49 +04:00
eap
2808cea8b6 ILMAB: export GEOM fields to MED file
Do not show fields that can't be exported: string fields and fields on the whole shape
2014-03-11 16:48:41 +04:00
eap
ef9be98a84 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed
update map of CORBA groups
2014-03-07 16:04:33 +04:00
eap
be0348c630 022501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed 2014-03-07 14:51:17 +04:00
eap
dc749f7053 ILMAB: export GEOM fields to MED file
Re-implement addition of 0D elements w/o modification of SMESHDS_Mesh
2014-03-05 19:37:55 +04:00
eap
97787812e2 ILMAB: export GEOM fields to MED file 2014-03-05 17:42:42 +04:00
eap
59e80d2f88 022500: [CEA 1077] 'GetLibName' not found 2014-03-05 17:05:14 +04:00
eap
590f139ee4 22502: [CEA 1070] "Convert to quadratic" does not work if some edges are not set by some elements during meshing
Fix a case of a node on VERTEX not belonging to EDGE the segment of node is on
2014-03-04 16:04:11 +04:00
eap
457be09338 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Minor fixes
2014-03-03 15:00:39 +04:00
imn
e26ffcc005 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
2014-02-28 18:58:28 +04:00
eap
afed1e3409 22360]: EDF SMESH: Body Fitting algorithm: incorporate edges
Fix a case with vertex falling on a facet and not used at facet construction
2014-02-27 11:53:03 +04:00
eap
7c09ac523c 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Improve code readability
2014-02-26 13:50:42 +04:00
eap
10e32df831 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Bug: 3D tab disabled on an imported mesh
2014-02-26 12:57:20 +04:00
eap
3556420099 Bugs in CopyMesh()
1) Assure the mesh is loaded before copying
2) Fix wrong copying polyhedra
2014-02-26 12:55:21 +04:00
eap
f34590a67f 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
1) Some optimization
2) Implement StdMeshers_Prism_3D::IsApplicable()
2014-02-25 18:54:34 +04:00
eap
e8f98d7a50 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
+  /*!
+   * \brief Auto pointer
+   */
+  template <typename TOBJ> struct Deleter
2014-02-25 18:50:48 +04:00
mgn
e2cd4bc297 Additional fix for the "0021793: [CEA 625] Clipping : from coordinates
or from bounding box"
2014-02-24 15:36:54 +04:00
imn
6aea23b893 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
2014-02-21 12:25:11 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
4581091214 In Create Mesh dlg, add "objects" to a number of selected GEOM objects 2014-02-20 14:05:45 +04:00
eap
398091c671 Excess quote 2014-02-20 13:38:40 +04:00
eap
790cad1c40 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
Treat tangent transition at the 1st link node
2014-02-20 12:58:43 +04:00
eap
004510cb7d Make meshes with different names if several GEOM objects selected 2014-02-20 12:55:58 +04:00
eap
a30b3a5fbf Fix strange string like "1 , 1 , 1 " instead of nb of selected geom objects at mesh creation 2014-02-19 17:15:16 +04:00
rnv
6e68fcd497 Fix problems with the OpenGL clipping planes. 2014-02-19 16:43:32 +04:00
vsr
744bac5599 Merge from branch mpa/qwt6_porting 2014-02-18 14:38:40 +04:00
eap
fad37730ee Fix error description passed via exception 2014-02-18 13:56:25 +04:00
eap
7a732fc9d1 do not catch CORBA exceptions thrown by SMESH_Mesh_i 2014-02-17 17:10:11 +04:00
eap
bf7367a22f fix AddFrom() for an undefined filter as argument 2014-02-17 17:08:46 +04:00
eap
dcc7add229 Forum: Quadrangle meshing of surface with 3 edges
There can be degenerated EDGEs in non-closed and non-periodic FACEs
2014-02-17 13:55:35 +04:00
eap
8585067de8 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges 2014-02-14 19:31:40 +04:00
eap
5b8d7b95e3 0022488: EDF 2781 SMESH: Faces of an internal submesh can't be selected with the viscous layer 2014-02-14 16:10:27 +04:00
eap
86aa8ad014 22359: Body Fitting algorithm: grid orientation 2014-02-14 16:09:40 +04:00
eap
53fcb605c1 0022367: EDF SMESH: Notification on concurrent algorithms/hypotheses 2014-02-14 16:05:31 +04:00
eap
8b7d977779 0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices
Create GUI
2014-02-14 16:03:53 +04:00
eap
3216bba91f 0022364, 0022363: EDF SMESH: Create Mesh dialog box improvement 2014-02-14 16:03:10 +04:00
eap
d9b7053864 0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices
Create GUI
2014-02-14 15:53:14 +04:00
ctn
b212155cea 0022481: EDF 2559 SMESH: Is GetGroups list sorted?
=> update of the doc
2014-02-05 12:03:58 +00:00
gdd
74d992bdaf Update French translation file 2014-02-05 11:03:39 +00:00
eap
60a4f927ca 22359: Body Fitting algorithm: grid orientation
Make axes w/o geometry larger than the trihedron
2014-02-05 09:14:42 +00:00
eap
74a891c6f3 22359: Body Fitting algorithm: grid orientation
Fix a crash in the release mode

+  // Creation of this class disables vtkMatplotlibMathTextUtilities
+  struct MPLMathText_Disabler : protected vtkMatplotlibMathTextUtilities
2014-02-05 09:13:00 +00:00
eap
5c9a9bf940 22359: Body Fitting algorithm: grid orientation
Fix the destructor
2014-02-05 08:20:55 +00:00
eap
fce720f2d2 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

...
2014-02-05 08:08:10 +00:00
eap
cc9e7d5442 22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing 2014-02-04 15:51:49 +00:00
eap
b416ea5c24 22359: Body Fitting algorithm: grid orientation
+  ${GEOM_INCLUDE_DIRS}

+  ${GEOM_GEOMUtils}
2014-02-04 13:06:41 +00:00
eap
494cae9236 22359: Body Fitting algorithm: grid orientation
Add labels to arrows
2014-02-04 13:06:14 +00:00
eap
a62ca0b865 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;
2014-02-04 13:05:33 +00:00
eap
cd3ffac3fa 22359: Body Fitting algorithm: grid orientation
22358: Body Fitting algorithm: origin point of grid defined by spacing
2014-02-04 13:02:26 +00:00
eap
fee6909125 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
2014-01-31 13:43:11 +00:00
eap
ae475d83da 22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
Use _noShrinkVert
2014-01-31 13:40:41 +00:00
rnv
b737ae98e6 Additional fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled" issue. 2014-01-24 11:16:50 +00:00
rnv
6a9d0d6ae6 Fix for the "0022460: [CEA 1042] Copy Mesh: impossible mesh selection in the object browser if selection in 3D view is disabled" 2014-01-24 08:37:57 +00:00
eap
f202478154 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix for a case of http://www.salome-platform.org/forum/forum_10/863809970#478269857
2014-01-23 12:46:37 +00:00
eap
c94d606fe3 22316: EDF 2719 SMESH: Split hexas into prisms
Make Python API be equal to IDL API
2014-01-21 16:37:16 +00:00
eap
3f7c707fd9 22316: EDF 2719 SMESH: Split hexas into prisms
disable dialog if a mesh includes no hexahedra
2014-01-21 09:24:53 +00:00
eap
67dba15dfd 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);
2014-01-20 17:42:20 +00:00
eap
e12cb3f8c3 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix recursive case of computeQuadPref()
2014-01-20 16:39:00 +00:00
eap
f55c997d2e fix indentation 2014-01-20 10:45:36 +00:00
eap
d2c62e114d 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 );
2014-01-20 10:35:19 +00:00
eap
0eac807ec1 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;
2014-01-20 10:34:46 +00:00
eap
74b03c9f40 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
+{
2014-01-20 10:34:21 +00:00
eap
b9b3af112d 22316: EDF 2719 SMESH: Split hexas into prisms
+  static int GetOppFaceIndexOfHex( int faceIndex );
2014-01-20 10:32:49 +00:00
eap
80d5c05fce 22316: EDF 2719 SMESH: Split hexas into prisms
+  virtual SMDSAbs_GeometryType GetGeomType()  const { return SMDSGeom_POLYGON; }
2014-01-20 10:32:30 +00:00
eap
ffa5254282 22316: EDF 2719 SMESH: Split hexas into prisms
+    GeometryType GetElementShape( in long id )
+      raises (SALOME::SALOME_Exception);
2014-01-20 10:32:14 +00:00
eap
f500e5a8b6 22316: EDF 2719 SMESH: Split hexas into prisms 2014-01-20 10:31:23 +00:00
eap
a406fd6793 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix for recursive call of computeQuadPref()
2014-01-15 10:27:00 +00:00
vsr
f7aba4830d Merge from BR_imps_2013 14/01/2014 2014-01-15 09:41:17 +00:00
eap
b117205bfd 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
2014-01-10 08:01:57 +00:00
eap
dda95cb5b7 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
2014-01-09 15:08:07 +00:00
vsr
072a73120b Merge from V7_3_BR (09/01/2014) 2014-01-09 14:20:44 +00:00
vsr
2cd148d066 Merge from V7_3_BR branch 18/12/2013 2013-12-18 15:08:18 +00:00
mpa
49638e2cad INT PAL: 0052225: Failed mesh - number of isolines does not correspond to settings 2013-12-13 10:17:22 +00:00
eap
46d1b0f374 Synchronize with *_msg_en.ts 2013-12-13 08:48:28 +00:00
eap
dcf2d0e66c "viscous layer 3d around foil"
http://www.salome-platform.org/forum/forum_10/77751736

 Use angular smoothing and swap diagonals during shrink()
2013-12-12 13:52:28 +00:00
eap
065232801d "viscous layer 3d around foil"
http://www.salome-platform.org/forum/forum_10/77751736

Fix InverseDiag()
2013-12-11 14:52:44 +00:00
eap
21619a293e 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()
2013-12-06 15:55:21 +00:00
eap
f22869c9cf 0052235: TC7.3.0: continious fatal errors after splitting into 24 tetrahedra
Protect myMesh from deletion in onApply()
2013-12-06 15:26:44 +00:00
rnv
1f846c64e0 Show warning only in the verbose mode. 2013-12-06 06:20:09 +00:00
eap
5e342ebfd0 52223: TC7.3.0:Automatically create groups for MED export does not
save in export mesh dialog box,when we check it in preferences
2013-12-05 15:47:22 +00:00
eap
f24e7f0173 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
2013-12-05 11:26:24 +00:00
rnc
3a98cb17c9 Japanese translations update 2013-12-05 10:38:14 +00:00
eap
78bfc8db7d 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
2013-12-05 09:32:23 +00:00
rnc
370bb866cf REG: SurfOpt plugin : Documentation update + small corrections 2013-12-04 09:46:28 +00:00
mpa
1e8362453d INT PAL 0052190: TC7.3.0: impossible to set proper value for clipping 2013-12-04 09:43:48 +00:00
kga
d280b47f5f IPAL0052197: TC7.3.0 "Fatal error" when try to add new filter to filter library 2013-12-04 09:36:38 +00:00
akl
6518fc4882 Set debug library name on Win32. 2013-12-04 08:41:23 +00:00
kga
68e9313a5e IPAL0052195: TC7.3.0: Application crashes after closing "Add Quadratic Edge" dialog 2013-12-04 05:38:25 +00:00
rnc
26a602248d BUG: Yams plugin: Fixed bad default values due too previous integrations for passing to MGSurfOpt 2013-12-03 17:37:51 +00:00
rnc
f543238c60 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
2013-12-03 16:40:54 +00:00
rnc
de12df7b90 BUG: Yams plug-in: Small bug fix, validator number of decimal for chordal deviation parameter was 2 instead of 3 2013-12-03 15:39:14 +00:00
rnc
5259101c27 tooltip correction 2013-12-03 15:34:24 +00:00
rnc
271a3fb6bb 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 2013-12-03 15:05:31 +00:00
vsr
15e0993d69 Fix crash (from PPGP) when invoking popup on non-smesh (light) object 2013-12-03 10:58:50 +00:00
vsr
3fefd303ac 0022427: EDF GEOM Regression: Issue with geomBuilder 2013-12-03 05:52:36 +00:00
rnc
810093b4ee 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.
2013-12-02 16:09:16 +00:00
rnc
ea0744cc4f BUG: MGSurfOpt (Yams) plugin: Added a missing file 2013-12-02 16:06:19 +00:00
eap
50c2fb07ab 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
2013-11-29 09:14:36 +00:00
eap
ccb0d68b6f PPGP
In TSearchersDeleter fix setting/removing the event listener
2013-11-29 08:45:55 +00:00
eap
df70ba0baf 0022423: EDF SMESH Regression: Quadrangle algo fails
In GetAngle() prevent SIGFPE at singularity
2013-11-28 17:03:09 +00:00
eap
5fbe78b190 0022423: EDF SMESH Regression: Quadrangle algo fails
fix CheckNbEdges() for the case of a degenerated 5-th edge
2013-11-28 17:01:37 +00:00
eap
574db3468d Improve regularity of divisions 2013-11-28 13:31:50 +00:00
eap
6c280dad9a 22422: EDG SMESH Regression: Quadrangle/Hyptohesis Quadrangle preference fails
Do not compute both QuadPreference and Standard
2013-11-28 11:38:40 +00:00
vsr
05ee6999b7 Merge of fix from V7_main 2013-11-28 08:49:22 +00:00
fahed
8fcd118698 Small fix for windows 2013-11-28 08:41:47 +00:00
mpa
046b185660 CMake:
- add files to remove using command "make clean"
2013-11-27 11:00:50 +00:00
eap
d9d385cc06 22419: EDF SMESH Regression: 3D Extrusion fails
FaceQuadStruct::Ptr CheckNbEdges(SMESH_Mesh&         aMesh,
                                    const TopoDS_Shape& aShape,
+                                   const bool          considerMesh=false);
2013-11-27 10:00:34 +00:00
imn
c8c04435db Integrated in V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI 2013-11-27 07:30:42 +00:00
eap
cf325767f5 more orthography 2013-11-26 13:41:02 +00:00
eap
521479f0ef Fix indentation 2013-11-26 13:37:39 +00:00
eap
5cdfcba279 More safety
-        if ( l_d->first->IsDeletable() )
+        if ( l_d->first != listener && l_d->first->IsDeletable() )
2013-11-26 13:33:52 +00:00
eap
06236fdb5a 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
+   * \brief Create a side from an UVPtStructVec
+   */
+  StdMeshers_FaceSide(UVPtStructVec& theSideNodes);
2013-11-26 13:30:21 +00:00
eap
eeb8567ff9 Fix CheckNbEdges() for a FACE with a closed EDGE 2013-11-26 13:29:36 +00:00
eap
d0bcfa9ea1 Fix access to NULL quad 2013-11-26 12:26:45 +00:00
eap
5f7b45e582 http://www.salome-platform.org/forum/forum_11/173031193
Fix associating FACEs having degenerated EDGEs
2013-11-26 12:16:47 +00:00
imn
33d8a195b4 Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI 2013-11-26 10:15:18 +00:00
imn
608b1a194b Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI 2013-11-26 10:11:53 +00:00
eap
b2f41043c8 Fix SIGSEGV at closing a study 2013-11-25 10:39:28 +00:00
eap
a004160516 0022414: [CEA 1010] Regressio on tests 01_composite.py
Fix for a vertex w/o a node
2013-11-25 09:14:33 +00:00
eap
1faf00f679 0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py
+        from salome.smesh.smeshBuilder import Mesh
2013-11-25 09:13:09 +00:00
eap
850941885d synchronize with SMESH_msg_en.ts 2013-11-22 13:55:23 +00:00
eap
d5b3009987 - static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
+  static bool IsStraight( const TopoDS_Edge & E, const bool degenResult=false );
2013-11-22 13:17:22 +00:00
eap
620c78e582 + 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 );
2013-11-22 13:17:00 +00:00
eap
ffa6ef36b3 http://www.salome-platform.org/forum/forum_10/409159356
Fox testcube2a.py
2013-11-22 13:16:34 +00:00
eap
8093357296 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.);
2013-11-22 13:14:08 +00:00
eap
dacd5b29c7 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);
2013-11-22 12:40:36 +00:00
eap
73df78c0c4 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.);
2013-11-22 12:37:31 +00:00
eap
127524b9c2 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
do not import from smeshBuilder to avoid pb with cyclic import
2013-11-22 12:36:27 +00:00
eap
89eaa44e08 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
+  COMPERR_BAD_PARMETERS    = -13, //!< incorrect hypotheses parameters
2013-11-22 12:35:35 +00:00
eap
60f3b24591 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
+        <source>COMPERR_BAD_PARMETERS</source>
+        <translation>Invalid input parameters</translation>
2013-11-22 12:35:17 +00:00
eap
a007ecaef9 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
+      CASE2TEXT( COMPERR_BAD_PARMETERS    );
2013-11-22 12:34:58 +00:00
eap
0280d2e6a7 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
2013-11-22 12:34:45 +00:00
eap
ea1c9b37c7 -from salome.StdMeshers import StdMeshersBuilder
+import StdMeshers
2013-11-20 11:31:08 +00:00
kga
7e624b26fa 22314: EDF 2594 SMESH: Preview "Union of triangles" result 2013-11-20 09:12:48 +00:00
eap
4e198a53df 22412: [CEA 1005] Impossible to have a logarithmic scalar bar when values <1e-07
Enable Logarithmic check box for small values
2013-11-20 08:13:41 +00:00
mpa
e2a638a026 - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:41:57 +00:00
mpa
98eacab61c - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:29:02 +00:00
mpa
9dcd09c6f5 - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:08:40 +00:00
mpa
47bdf12d63 - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:03:24 +00:00
eap
01fd947027 avoid FPE 2013-11-19 11:54:02 +00:00
eap
e57d64d391 Regression of SALOME_TESTS/Grids/smesh/bugs_03/D6
Improve the EventListener to clean all EDGEs of a complex side if one EDGE is cleaned
2013-11-18 16:51:16 +00:00
eap
a60773c9b3 In SetParametersByDefaults(), make myMinSize and myDeflection greater 2013-11-18 16:50:05 +00:00
eap
142df328f7 Regression SALOME_TESTS/Grids/smesh/3D_mesh_HEXA3D_00/C2
Fix isConcave()
2013-11-18 14:59:23 +00:00
eap
45b939fb48 Regression SALOME_TESTS/Grids/smesh/3D_mesh_HEXA3D_00/C2
Fix GetAngle() to take Orientation() of input edges as is and not
using GetSubShapeOri() which is wrong for the seam edge
2013-11-18 14:55:27 +00:00
eap
c789cfecef fix SIGFPE on too short EDGEs 2013-11-18 13:21:17 +00:00
eap
10e12cc117 fix SIGFPE on too short EDGEs 2013-11-18 12:35:16 +00:00
eap
68cf640188 do not add a reference to useCaseBuilder twice 2013-11-18 10:53:13 +00:00
eap
fc83dc7660 synchronize myBadMeshBtn and myBadMeshToGroupBtn 2013-11-18 10:27:22 +00:00
eap
b099b4c7c3 Regression of SALOME_TESTS/Grids/smesh/imps_09/K5
Take care to remove a node from its sub-mesh
2013-11-15 17:54:28 +00:00
eap
2ec7f35ace Regression of SALOME_TESTS/Grids/smesh/imps_08/I8 2013-11-15 15:24:18 +00:00
eap
fb698074ae 22408]: [CEA 996] Impossibility to filter Face with an Area criterion 2013-11-15 15:16:54 +00:00
eap
25cf51c07e Regression of SALOME_TESTS/Grids/smesh/imps_08/I8
Attempt nb 2
2013-11-15 14:47:45 +00:00
eap
309959077f Regression of SALOME_TESTS/Grids/smesh/imps_08/I8 2013-11-15 14:44:06 +00:00
eap
d547ba4db9 more comments 2013-11-15 13:43:38 +00:00
eap
b7eee22ba4 Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7
In CheckObjectPresence(), skip print statement
2013-11-15 12:44:42 +00:00
eap
1872ac43e1 Regression of SALOME_TESTS/Grids/smesh/bugs_19/X7
Increase nb of allowed shrink loops
2013-11-15 12:19:28 +00:00
eap
c2a18a423e Regression of SALOME_TESTS/Grids/smesh/bugs_13/N9
Fix association of SHELLs
2013-11-15 11:59:48 +00:00
eap
bfcfbc1ba9 Prevent failure if a degenerated EDGE is not meshed 2013-11-15 10:20:33 +00:00
eap
862dfb92f3 2355: EDF SMESH: New 1D hypothesis "Adaptive"
More performance optimization
2013-11-15 09:48:22 +00:00
eap
813092187c 22406: EDF SMESH Regression : Items are missing in group contextual menu
Fix the previous "improvement"
2013-11-14 15:15:27 +00:00
eap
f7f460b8b0 2355: EDF SMESH: New 1D hypothesis "Adaptive"
Performance optimization
2013-11-14 14:27:06 +00:00
eap
66f244f657 Enable canceling Compute 2013-11-14 14:25:12 +00:00
eap
301a74fd98 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
Performance optimization for groups on filter:

int SMESHGUI_Selection::numberOfNodes( int ind ) const
{
...
-        return aGroupObj->Size();
+        return aGroupObj->IsEmpty(); // aGroupObj->Size();
2013-11-14 09:17:58 +00:00
eap
d51efe3933 Move BelongToGeom and LyingOnGeom classes to src/Controls/SMESH_Controls* 2013-11-14 09:15:23 +00:00
eap
b527115273 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
1) In ElementsOnShape, particularly treat a case of the box shape, to
   speed up classification
2) Move BelongToGeom and LyingOnGeom classes from SMESH_Filter_i.*xx
2013-11-14 09:14:20 +00:00
eap
a897e2d0ce 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
Set SUIT_OverrideCursor while all mesh elements are filtered
2013-11-13 14:40:40 +00:00
eap
62e1c11b6d untabify 2013-11-13 14:39:43 +00:00
eap
39fabf09c1 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
In ClearMesh(), free elements cashed in GroupOnFilter's
2013-11-13 14:39:11 +00:00
eap
530e2aa3f8 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
Cash elements in case of small meshes
2013-11-13 14:38:10 +00:00
eap
1f4550c491 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
Prepare to parallelism
2013-11-13 14:35:36 +00:00