Commit Graph

268 Commits

Author SHA1 Message Date
rnv
78be86e48b Move EnumToLong method from SMESHBuilder class into global module namespace. 2017-05-26 18:40:42 +03:00
Gilles DAVID
42c7028440 Swig flag for python 3 + various fixes 2017-05-10 08:13:13 +02:00
Gilles DAVID
96367c288d Patch omniORBpy EnumItem class
If the comparison ordering methods are not defined (as for instance in
the latest version 4.2.1-2), they are then dynamically added.
2017-05-09 16:56:42 +02:00
Gilles DAVID
f782dacab1 Fix TypeError: unorderable types: EnumItem() < EnumItem() 2017-05-04 18:34:49 +02:00
eap
3dcb8f1e04 IPAL054122: Bad quality prismatic mesh
Fix applying the boundary error in StdMeshers_Sweeper by using
StdMeshers_Delaunay
2017-04-25 13:41:21 +03:00
eap
f6b5d2f920 54122: Bad quality prismatic mesh
Extract class Delaunay from class Morph

+ Print warning when creating an algorithm with unexpected arguments
  (expected ones are algo type and geometry) -- smeshBuilder.py
2017-04-20 14:16:23 +03:00
eap
9ecacf41d1 IPAL54104: Wrong prismatic mesh
Fix sub-shape association of FACEs with a seam in a propagation case

+ Remember a state of "Show IDs" check-box in Mesh Info / Element info
2017-04-18 14:07:52 +03:00
eap
096485adbe IPAL52499: Prismatic mesh is not computed on a prismatic shape 2017-04-17 15:42:28 +03:00
Gilles DAVID
1fe8f96116 [PY3] more Swig fix + integer division 2017-03-29 16:58:59 +02:00
Gilles DAVID
5637345b9a [PY3] use python3 idioms, fix relative imports, fix plugins 2017-03-29 15:54:42 +02:00
Nicolas Geimer
0003e6b4fc Merge tag 'V8_3_0a2' into ngr/python3_dev
Version 8.3.0 alpha 2
2017-03-20 18:20:10 +01:00
Nicolas Geimer
1286bbe881 [PY3] Fix some MRO issues 2017-03-20 18:02:52 +01:00
Nicolas Geimer
5260bd00bd [PY3] 2to3 results 2017-03-20 13:41:53 +01:00
Nicolas Geimer
84cf6c4911 [PY3] Removing TAB issues
Via this command :
find . -name "*.py" | xargs grep -Prl "\t" | xargs python  /local00/home/J42254/Projets/SALOME/Installations/prerequisites/src/Python-352-tcl8513-tk8513/Tools/scripts/reindent.py
2017-03-20 13:22:47 +01:00
eap
9dd045b97c 23258: [CEA 1804] Do not merge the middle nodes of quadratic elements
Add AvoidMakingHoles argument in MergeNodes()

+ Save mesh name in STL file
+ Fix binary STL export after change of sizeof(Standard_Boolean)
+ Add Import menu to mesh component popup
2017-03-14 15:43:27 +03:00
eap
e74c29b786 Patch modules/smesh.git for Doxygen typos/grammar + misc. typos
http://www.salome-platform.org/forum/forum_10/652417125
2017-03-02 19:51:35 +03:00
eap
913aaa14de Fix crash of SALOME_TESTS/Grids/smesh/bugs_13/N9
(SMDS_VolumeTool.cxx)

Add "Show IDs" check box to Mesh Information dlg

Avoid warning in Choose Entity dialog when no entities are selected,
disable [OK] button instead
2017-02-10 21:20:38 +03:00
eap
e613ea2b8d IPAL53702: Quadrangle mapping does not use some boundary nodes
IPAL53864: Viscous Layers 2D fails and is uneven at some points
    Fix failure but non-uniform thickness remains
2017-01-24 19:31:19 +03:00
eap
b2eb2c3cef IPAL53870: Dump study script creates an excess sub-mesh
+ Allow Quadratic Mesh hypothesis on sub-meshes for http://www.salome-platform.org/forum/forum_14/325180606/861648983
+ Remove unfeasible controls from Mesh Element Info
2016-12-27 18:55:29 +03:00
eap
b6e8c17211 IPAL53863: MG-CADSurf + Viscous Layers 2D on a cylindrical face ==> crash 2016-12-26 16:27:08 +03:00
eap
cf7328b78f IMP23369: [CEA 1513] compute a mesh using an already existing mesh with MG-CADSurf
Enable computing a mesh w/o geom with 2 algos
2016-12-16 19:17:51 +03:00
eap
831b40eb01 23395: EDF 13855 - Crash SALOME when creating a mesh
+ sort objects in Clipping plane dlg
2016-12-13 20:30:15 +03:00
eap
979d9c81fc Fix regressions 2016-11-25 17:24:41 +03:00
eap
55a627cc62 23394: EDF - non regression test fails - problem of projection of a quadrangle face on a cylinder 2016-11-21 19:30:24 +03:00
eap
1c1bbf6798 23315: [CEA 1929] Too much memory used to display a mesh in shading and wireframe
Deactivate ID mapping in all DeviceActor's except the pickable one.
   The ID mapping needed to show IDs in the Viewer is computed when needed
   via VTKViewer_ExtractUnstructuredGrid::BuildOut2InMap()

+ IPAL53796: Clipping related bugs
2016-11-11 15:14:46 +03:00
vsr
e18c7bf133 0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateObjBrowser(1) 2016-10-06 11:20:14 +03:00
eap
ac96f997ef IPAL53561: Extrusion 3D algo is not applicable to a prism with a seam on top/bottom 2016-09-07 14:43:02 +03:00
eap
83b0c984cc 53539: 0D Element
1) Extract SMESHUtils/SMESH_ControlPnt.* from Hexotic
2) Minor doc changes
3) fix  53539: 0D Element (SMDS_MeshCell.hxx, SMESHGUI_AddMeshElementDlg.cxx)
4) Regressions
- bugs_06/G9 ( SMESH_DumpPython.cxx, SMESH_PythonDump.hxx )
- bugs_13/N8 ( StdMeshers_Regular_1D.cxx )
2016-08-24 17:04:22 +03:00
eap
7c69e00bac IMP 23201: Harmonisation of "0D Element" and "0D Elements on Element Nodes" 2016-08-11 20:13:30 +03:00
eap
5c5e1f2368 23303: [EDF 12024] Filter for nodes connectivity 2016-08-11 16:44:16 +03:00
eap
b3cb4c5a57 IMP 23300: [EDF 12865] Independent calculation of sub-meshes 2016-08-01 22:15:36 +03:00
eap
5504d02a22 23305: [EDF 10301] Extrusion with scaling 2016-08-01 15:42:08 +03:00
eap
466da2436e Fix test SALOME_TESTS/Grids/smesh/2D_mesh_QuadranglePreference_01/B6
Case of a ring with sub-meshes on both wires
2016-06-16 16:23:35 +03:00
eap
08a7d4d04e 23282: EDF 13035 - Problem with submeshes priority
fix SMESH_Mesh::SortByMeshOrder()
2016-05-27 17:20:45 +03:00
vsr
7eda9ca931 Copyright update: 2016 2016-03-18 20:10:28 +03:00
eap
a1a6d5ddc1 53103: Mesh visualization performance problem
Optimize visualization and mesh loading.

+ fix docs
2016-03-11 16:32:07 +03:00
eap
5b62e4db7c 53099: 3D Extrusion algo refuses to work on an extruded solid with internal faces 2016-03-04 20:54:10 +03:00
eap
43f41f0c11 23250: [CEA 1766] 3D tab is empty when editing mesh
+ minor changes in docs

+ fix other problems with Mesh Dialog:
1) at mesh edition, old hypothesis remain assigned after playing with
   Mesh Type and Hypo Sets (change is in isSelectedHyp())
2) When a 3D algo is unset due to change of Mesh Type, its hypotheses remain
   assigned and a new hyp can be created
2016-03-03 15:42:23 +03:00
eap
e074bae4b7 Avoid MED file reading failure caused by low memory
Failure reason: system(...) command exits with "Cannot allocate memory"
2016-01-29 15:47:48 +03:00
vsr
03335084a6 Add missing import SMESH 2015-12-02 12:42:04 +03:00
eap
7d08ac8481 Fix regression of non-regression tests
- Coplanar faces filter (SMESH_Controls.cxx)
- Convert to quadratic (SMESH_MesherHelper.cxx)
- Missing Compute item in mesh pop-up in presence of a sub-mesh on compound only (no other algos) (SSMESHGUI_ComputeDlg.cxx)
- set checkAll=False in call of SMESH_Gen::IsApplicable() (smeshBuilder.py)
2015-12-01 14:32:09 +03:00
eap
512d3547bc 23179: EDF 11603 - Problem with extrusion when path is not well oriented
HYDRO module: Feature #523: river, channel, embankment meshing
2015-10-09 17:47:17 +03:00
eap
02ac54c6f3 IMP 23078: [CEA 1498] Sewing of meshes without having to set the nodes ids 2015-09-18 17:10:34 +03:00
eap
07589de92e IPAL52867: Crash at attempt to create group by 'Color of Group' filter 2015-09-10 20:50:31 +03:00
eap
1dd2f82c6d IPAL52781: Orientation of a wall face created by revolution is wrong
IPAL52850: ConvertToQuadratic creates invalid triangles
Regression of imps_09/K0
2015-08-28 20:03:25 +03:00
eap
27c5228fcf 23142: EDF 11419 SMESH: Details about extrusion methods
Debug of [HYDRO module - Feature #523] river, channel, embankment meshing

+ Wrong meshing progress if an algo calls SMESH_Gen::Compute()
2015-08-25 20:15:49 +03:00
eap
87c954b31c 52846: It is impossible to select edge in OB as reversed edge for hypothesis
52826: Radial Quadrangle algorithm meshes a quad face from which a circle was cut from but it must fail
52227: Group is not shown during edition
52780: Wrong mesh after STL re-import of a polygonal element
52825: Sew Borders does not care of segment adjacent to split faces, thus segments become non-conformal
52824: Sew Free Borders sews borders as conformal thus producing very skewed quads instead of polygons
2015-08-19 17:32:58 +03:00
eap
21ea791049 Fix 17 regressions 2015-08-14 13:31:06 +03:00
eap
d5daad2f62 22635: EDF 8345 - Creation of group based on groups
Fix for a dump script generated by 7.5.1
2015-08-06 17:13:42 +03:00
eap
7084b4f979 Fix regressions caused by improvements 2015-08-05 20:59:31 +03:00
eap
2e144ad6b9 22599: EDF 8159 SMESH: Bad groups created by extrusion
Update docs
2015-08-03 16:08:55 +03:00
rnv
938ed6ac35 Add methods to select mesh elements from python. 2015-07-22 18:13:50 +03:00
eap
24fe0efaab IPAL52827: Very few filtering criteria available in filter dialog called from Remove Elements dialog
IPAL52831: Veeery long awaiting for Mesh Information dialog appearance
IPAL52822: Find Elements By Point does not find coincident nodes
IPAL52821: Find Elements By Point dialog: no types available for search if there are only nodes in the mesh
IPAL52823: mesh.GetSubMeshElementsId( subShape ) works wrong if subShape is retrieved indirectly
2015-07-16 20:52:26 +03:00
eap
0460bb60e0 Fix regressions caused by improvements 2015-07-15 17:05:14 +03:00
eap
256994070c Fix regressions caused by improvements
2D_mesh_QuadranglePreference_00/A2
3D_mesh_NETGEN_02/C7
2D_mesh_MaxElementArea_00/A0
2015-07-13 20:52:43 +03:00
eap
ad4fc4d4c9 23076: [CEA 1499] Get in python all sub-shapes in error after Compute 2015-07-10 22:34:27 +03:00
eap
de00066f64 23081: [CEA 1496] Control merge nodes behaviour: set fixed nodes 2015-07-10 19:39:03 +03:00
eap
38f832b912 23072: [CEA 1500] Split biquadratic elements into linear elements 2015-07-09 12:41:53 +03:00
eap
ff644361c8 23111: [CEA 1541] copy.deepcopy does not work on an objet of type Mesh 2015-07-06 16:41:46 +03:00
eap
b22e182dd1 23080: [CEA 1497] Do not merge a middle node in quadratic with the extreme nodes of a segment 2015-07-01 14:59:24 +03:00
eap
fe7d1d5767 23070: [CEA 1502] Create the 2D mesh from the 1D mesh with one mesh face for each geom face 2015-06-30 15:14:46 +03:00
eap
23d90107ac 0023064: [CEA 1471] Create and support quadratic polygons in SMESH 2015-06-24 12:17:07 +03:00
eap
6dcb33ab2f [HYDRO module - Feature #523] river, channel, embankment meshing 2015-06-15 21:31:23 +03:00
eap
d547f440f8 IMP 22635: EDF 8345 - Creation of group based on groups
Bug: MAJORITY mode works wrong with triangles

IMP 22877: EDF 10054 SMESH: Add a new filter "BelongToSmeshGroup" for Create Groupe
    Bug: Invalid Python dump
2015-04-14 17:18:18 +03:00
eap
5ac2bd91a8 22877: EDF 10054 SMESH: Add a new filter "BelongToSmeshGroup" for Create Group 2015-04-14 15:39:28 +03:00
eap
d06e689ac7 23024: [CEA 1447] Regression imp_1346_CAS2.py 2015-03-19 18:26:38 +03:00
eap
80caa820d0 23023: [CEA 1445] missing ExtrusionAlongPathObject function
+class meshEditor(SMESH._objref_SMESH_MeshEditor):
2015-03-19 17:08:42 +03:00
eap
09705577d1 22792: EDF 8159 SMESH: Multi-dimensional extrusion/extrusion along a path/revolution
Fix regressions
2015-03-18 19:07:40 +03:00
eap
6fd64f7678 22903: BLSURFPLUGIN: SetSizeMap is not taken into account when we add AddPreCadFacesPeriodicity parameter
+ def FunctorValue(self, funcType, elemId, isElem=True):

+ fix Python dump for IMP 22792: Multi-dimensional extrusion/extrusion along a path/revolution
2015-03-17 20:40:17 +03:00
eap
6c4a9f32ed IMP 22792: EDF 8159 SMESH: Multi-dimensional extrusion/extrusion along a path/revolution
+ Pre-open MED file to speed-up reading/writing (following 22349)
+ Clock-cursor in Display Entity dlg
+ In Filter dlg, do not perform filtering if it's not needed
+ In Group dlg, store a user-given name of a new group
+ Clock-cursor after hypothesis modif as mesh clearing can be long
+ Treat selected object right at opening of Measure dlgs
+ Allow removal of elements in a not shown mesh
+ Make filter work on a not shown mesh
+ Don't leave orphan nodes at RemoveGroupWithContents
+ Avoid crash when exporting a group + fields
2015-03-17 15:06:56 +03:00
eap
bb40f7c1d3 IMP 22635: EDF 8345 - Creation of group based on groups
+ allow concatenating sub-meshes and groups
+ fix bugs in PythonDump
2015-03-03 15:03:38 +03:00
eap
066f625a46 52618: Import_1D2D fails to import from a mesh group onto a group of geom faces
+ fix StdMeshers_ViscousLayers.cxx for
http://www.salome-platform.org/forum/forum_14/777944993
2015-02-27 20:38:00 +03:00
eap
fd1943809d 22874: [CEA 1425] Performance SMESH Module
some optimization of Publish...() + doc imp
2015-02-25 20:07:02 +03:00
vsr
1b1945a31c 0022878: [CEA 1424] performances of Compute method from the Mesh class in smeshBuilder.py 2015-02-20 10:08:10 +03:00
eap
0ff64bf022 Fix a regression - make SMESH_Nut.py script independent of sub-shapes numbering 2015-02-18 16:19:30 +03:00
eap
59912620be 22834: [CEA 1347] Viscous layers: be able to choose the extrusion method (imp_1347_viscous_layers.py)
+ fix some regressions
2015-02-17 16:23:19 +03:00
akl
251f8c052d Copyrights update 2015. 2015-02-13 12:38:36 +04:00
eap
38136d541c 22860: EDF 9944 SMESH: Regression when scaling a mesh 2015-02-11 16:52:57 +03:00
eap
146533380d 22834: [CEA 1347] Viscous layers: be able to choose the extrusion method 2015-02-10 14:14:01 +03:00
vsr
02685fae6f If study is loaded from HDF file, init_smesh() has to load data to the engine calling LoadWith() function of StudyBuilder 2015-02-06 16:54:08 +03:00
eap
b13aae09cf 22833: [CEA 1346] to extrude a group of faces following the normal of each face
+ Optimize Belong to geom filter
+ Avoid SIGSEGV after re-computing a mesh if showing numbers was ON before
2015-01-23 18:49:49 +03:00
eap
a00f90ebab 22812: EDF 9218 SMESH: An empty group is created when using the duplicate nodes and/or elements 2014-12-08 20:18:59 +03:00
eap
3ba242025d 52548: Set filter on standalone group of edges does't work
2) Allow passing a geom group as faces arg of ViscousLayers()
3) Prevent crash of Adaptive hyp when only degenerated EDGEs leave not meshed
2014-10-23 12:21:14 +04:00
eap
5b6af39e27 52540: TC7.5.0: Renumbering Elements and Nodes does not work 2014-10-22 17:21:15 +04:00
eap
ee4749bf4c 52539: TC7.5.0: Smoothing - impossible to select fixed nodes 2014-10-22 16:15:00 +04:00
eap
214d7e4bdc 22691: [CEA 1279] Regression on test attached with issue 22229 2014-09-15 15:22:28 +04:00
eap
52f164fb65 Fix a regression: Errors of hypothesis definition are not shown in GUI 2014-08-27 19:16:07 +04:00
eap
05a38ac54e Fix regressions
1D_mesh_LocalLength_00/A4
bugs_03/D5,D6
bugs_05/F8
bugs_19/X1
2014-08-26 15:58:38 +04:00
eap
2246612bb5 Fix regressions
3D_mesh_Extrusion_00/A6
3D_mesh_Polyhedrons_00/A2,A3
groups_07/H1
imps_06/G0
imps_07/H2,H4,H5,H7
imps_08/I5
2014-08-22 21:16:01 +04:00
eap
ae32dcd34f 22483: EDF 2772 SMESH: Define several 3D viscous layer hypotheses on the same Geometry 2014-08-21 15:15:12 +04:00
eap
811a7a4c17 022484: EDF 2304 SMESH: Reorient a group of faces regarding to a volume 2014-08-11 17:30:26 +04:00
rnv
a6c877f633 Remove last wrong commits. 2014-07-16 17:43:58 +04:00
imn
80fe1ddefc Add “Grading” parameter to Adaptive 1D hypothesis 2014-07-16 16:43:20 +04:00
eap
0d17fa17ac Fix Mirror*() to correctly work with a mirror given as a GEOM object 2014-06-26 16:15:06 +04:00
vsr
d027cf5b2b Remove NETGEN explicit usage from AutomaticTetrahedralization() 2014-06-24 16:58:45 +04:00
eap
5f3d1965f6 Improve GetMinMax() 2014-05-30 20:24:08 +04:00
vsr
d5683712be Add a warning message that smesh.py module works correctly only in 1st study 2014-05-14 14:53:24 +04:00
eap
538a5a27ed Update notebook.myStudy 2014-04-29 15:38:50 +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
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