Commit Graph

1693 Commits

Author SHA1 Message Date
prascle
0edf326ffd PR: remove commented code 2011-03-09 16:03:51 +00:00
prascle
024fa9ffbf PR: commit mistake 2011-03-09 10:01:16 +00:00
prascle
293e2534c0 PR: doubleNodesOnGroupBoundaries in progress 2011-03-09 08:42:21 +00:00
eap
044bc6d891 improve comments of MakeBoundaryMesh() 2011-03-05 13:49:54 +00:00
vsr
ac724740a9 SALOME::GenericObj : Destroy() -> UnRegister() 2011-03-04 15:42:14 +00:00
prascle
5cfaebe1bf PR: getOrderedNodesOfFace for hexahedron 2011-03-03 16:35:32 +00:00
gdd
61fbeb9fea Now the current object(s) selected in the OB is (are) set into the widget when the button is clicked. 2011-03-01 15:26:30 +00:00
eap
5613f2a33c suppress message "Algo supports no multi-parameter hypothesis" with Netgen-1D-2D-3D 2011-03-01 14:36:06 +00:00
rnv
fa15bee5e1 Fix for the issue "21203: EDF 1797 SMESH: SIGSEGV with move node on a Mesh with 0D elements" 2011-03-01 09:35:50 +00:00
jfa
b21fc186af Rename Engines::Component to Engines::EngineComponent 2011-02-28 14:55:52 +00:00
ana
b9918993a1 Fix for the bug IPAL22277: Crash on "Find elements by point" dialog box 2011-02-28 14:52:52 +00:00
eap
d13fde3e5e 0021074: EDF 1682 MESH: Bug with start and end length hypothesis
additionally fix compensateError() (for S_domain.hdf)
2011-02-25 09:07:59 +00:00
gdd
76d6063480 rnc : Made the AddStretch operation optional (previous behaviour is kept) 2011-02-24 16:21:51 +00:00
eap
01f4ed1a85 Fix bug of work with ViscousLayers hyp introduced during
"Redesign again to work with composed cube edges"
2011-02-22 14:30:49 +00:00
eap
e377bfeb20 unused variables 2011-02-22 14:28:14 +00:00
eap
b84e6567f0 Fix GetAxisStruct() by replacing ExtractShapes() by SubShapeAll() 2011-02-22 08:59:08 +00:00
rnv
242f34ddc8 Fix for the bug 21194: EDF SMESH: Cannot display a group by clicking on the "eye" of the OB 2011-02-22 07:57:36 +00:00
adam
ce4b39907d Remove warnings 2011-02-18 11:53:32 +00:00
eap
f0a9396455 ACTION 31.3 from CoTech:
EURIWARE BO: Homogenize the formulas used to calculate the Controls in SMESH to fit with
those of ParaView. The library used by ParaView for those calculations can be reused in SMESH.
2011-02-17 14:37:46 +00:00
eap
18e25f5736 excess semicolons 2011-02-17 13:54:05 +00:00
rnv
fbd01b197c Implementation of the "20830: EDF 1357 GUI : Hide/Show Icon"
(at the moment implemeted only in GEOM and SMESH modules).
2011-02-17 08:12:24 +00:00
eap
bd6b92b1da 0020974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be removed
Treat the case where a quadrilateral FACE includes the 5th degenerated EDGE

+  void UpdateDegenUV(FaceQuadStruct* quad);
+  void Smooth (FaceQuadStruct* quad);
2011-02-16 10:24:50 +00:00
eap
58ac21315b typos 2011-02-16 10:19:04 +00:00
eap
4ebc2ac980 untabify 2011-02-16 10:18:08 +00:00
vsr
9f513fd3a3 Modify GetCriterion() to take into account the case when tolerance is passed via UnaryOp parameter 2011-02-15 14:12:03 +00:00
adam
696c252ac8 cmake compatibility 2011-02-15 11:46:11 +00:00
eap
69b571614d in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET 2011-02-11 15:20:50 +00:00
eap
4903340a61 untabify 2011-02-11 15:20:04 +00:00
eap
904e9a8802 Add polyhedron type to my3DExtActor
+  aFilter->RegisterCellsWithType(VTK_POLYHEDRON);
2011-02-11 15:19:49 +00:00
eap
df50de7d46 0021153: [CEA] non regression test fails
Fix RemoveNode() and RemoveElement(): erase only elements
         belonging to this sub-mesh
2011-02-10 13:31:17 +00:00
eap
7d73daf123 0021153: [CEA] non regression test fails
Improve removeFromContainers() by taking into account that now mesh
         element knows the sub-mesh it belongs to
2011-02-10 13:30:00 +00:00
vsr
a91bb00475 0021180: EDF 1772 SMESH: Set of hypothesis in 1D
Additional change: enable tabs if no shape is selected
2011-02-10 13:09:43 +00:00
eap
b712c057d5 Modification of hypothesis parameters modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:08:32 +00:00
eap
e5ac48bcf7 Addition and removal of hypotheses modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:02:43 +00:00
ana
95fb8be9ca Fix for the bug IPAL22091: Crash by calling context menu on the SMESH presentation 2011-02-10 08:48:33 +00:00
vsr
36ec1b3d2f 0021176: EDF 1697 SMESH: Smoothing: impossible to select elements of a group 2011-02-10 08:26:27 +00:00
vsr
2fee37828a 0021180: EDF 1772 SMESH: Set of hypothesis in 1D 2011-02-09 15:25:51 +00:00
eap
3c96a71bde Regression of the test case patterns/A8
1) fix an error made during SMDS redesign
-      if (node->getshapeId() <0) {
+      if (node->getshapeId() <1) {
   2) fix an error of Clear() that not all fields are cleared
   3) create polyhedrons only if volume boundary is split by refinement
2011-02-09 13:29:33 +00:00
eap
4ebb8cfccc Regression of the test case imps/A1
In Compute2ndPart(), create a new SMESH_ElementSearcher to avoid
  search of volumes in a proxy mesh contaiting only faces
2011-02-08 12:21:46 +00:00
eap
ae0943024f 0021153]: [CEA] non regression test fails
Fix Mesh.Prism(): replace ExtractShapes() by SubShapeAll() again
2011-02-08 10:26:55 +00:00
eap
0953f1790f Regression of test case bugs/P1
Restore the lost initialization of _nbSegments
2011-02-07 15:08:52 +00:00
eap
977978e76d correct the preceeding patch 2011-02-07 14:27:59 +00:00
eap
44bcdd8f8c Regression of test case bugs/D0
call ComputePentahedralMesh() if the mesh of FACE is quadrangular
  but not structured
2011-02-07 13:52:10 +00:00
eap
ad61c4111d Test case bugs/C2
Fix buildMeshGrille() by taking into account that element ID in smesh
  can't be less that 1 since the recent redesign.
2011-02-07 13:11:11 +00:00
eap
be718d6061 Protect from a distorted block (test 3D_mesh_HEXA3D/B7 on 32bit platform) 2011-02-07 12:23:57 +00:00
eap
68f4ae0cfe 0021153: [CEA] non regression test fails
uninitialized variable
2011-02-04 09:47:29 +00:00
jfa
3bc3b5cb5a Mantis issue 0020834: the mesher of reduced type has been improved. 2011-02-04 09:16:41 +00:00
eap
6beb289c1a 0021122: EDF 1735 SMESH: Bug when saving in .hdf
when creating Mesh on geometry, add to study the not published geometry
2011-02-03 15:07:31 +00:00
eap
692ae6c6e3 0021122: EDF 1735 SMESH: Bug when saving in .hdf
In Mesh_Algorithm.Assign(), add to study the not pubished sub-shape
2011-02-03 12:28:55 +00:00
eap
07112cd8f1 0021153: [CEA] non regression test fails
fix TooCloseAdjacent() w/o shape: correct distinction of domains
2011-02-02 09:47:22 +00:00
eap
d8a28e48bb 0021153: [CEA] non regression test fails
1) at merging pyramids, move the common apex at the middle of 2 apexes
  2) at intersecting pyramids, check all four base-apex directions
2011-02-01 15:25:21 +00:00
eap
d9c073c952 0021153: [CEA] non regression test fails
fix error that pyramids sharing one common node are not checked for intersection
2011-02-01 13:48:56 +00:00
eap
71803bed9f comment unnecessary call
-      SMESH::UpdateNulData(myIObject, true);
+      //SMESH::UpdateNulData(myIObject, true);
2011-02-01 13:46:31 +00:00
eap
6b012bc7d8 fix bug of compactGrid() that the last block of nodes and elements is
not copied if there is no hole after it
2011-02-01 13:42:33 +00:00
eap
f7c8f718f9 fix FPE error at "Clear mesh data" by setting nb of nodes to zero
instead of SMDS_Mesh::chunkSize
2011-02-01 13:40:02 +00:00
eap
b6b8aa7213 fix a misspell in comment 2011-01-31 13:10:15 +00:00
eap
d419c86499 fix indentation 2011-01-31 13:07:39 +00:00
eap
861641c25a 0020973: EDF 1554 GHS3DPLUGIN: Make possible to have a mixed mesh hexa-tetra with GHS3D
enlarge box size of each branch by 1e-10 of root size
2011-01-31 13:07:07 +00:00
vsr
e30e3628ce 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
Allow multiple selection of groups as input
2011-01-31 09:26:19 +00:00
eap
17b5f093a6 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis
Fix invalid discretization of EDGEs: in GetCurve3d(), set Closed flag to WIRE wrapped into BRepAdaptor_CompCurve
2011-01-28 17:04:54 +00:00
eap
910eadfc30 fix file header (comments) 2011-01-28 17:01:19 +00:00
gdd
0cdd86443b Add missing include 2011-01-28 16:21:11 +00:00
eap
facae4f797 0021114: EDF 1736 SMESH: Problem with 3D extrusion
decrease tolerance at checking transformation
2011-01-28 13:33:22 +00:00
eap
8b075049f9 0021130: EDF 1746 SMESH: Issue with export in STL format
Import of STL file via GUI has been enabled
2011-01-28 11:19:54 +00:00
eap
ab928f3773 0021123: EDF 1734 SMESH: Bug with propagation hypothesis 2011-01-28 10:29:23 +00:00
eap
50b08dce3d untabify 2011-01-28 10:29:01 +00:00
ana
4be7efd6bd Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis 2011-01-28 08:38:53 +00:00
eap
20b841039b 0021130: EDF 1746 SMESH: Issue with export in STL format
export any kind of 2D and 3D elements to STL file becomes possible
2011-01-27 16:58:49 +00:00
eap
d0b5d6090a 0021130: EDF 1746 SMESH: Issue with export in STL format
1) write not triangular faces as many triangles
   2) write triangles for missing faces of free facets of volumes
2011-01-27 16:48:44 +00:00
eap
e3409934a4 0021130: EDF 1746 SMESH: Issue with export in STL format
move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ
2011-01-27 16:45:55 +00:00
eap
40b9d1ba43 0021130: EDF 1746 SMESH: Issue with export in STL format
1) move instantiations of templates from separate files to SMESH_TypeDefs.hxx
   2) move frequently used typedefs and small classes from SMESH_MeshEditor to to SMESH_TypeDefs.hxx
2011-01-27 16:44:48 +00:00
vsr
f44e34f568 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Update an anctor when necessary
2011-01-27 14:05:46 +00:00
eap
d976fc7810 0021144: [CEA 441] Problem with projection
+  bool projectBy2DSimilarity()
2011-01-27 13:41:43 +00:00
eap
237e3eaae1 0021144: [CEA 441] Problem with projection
care of degenerated geom EDGEs
2011-01-27 13:41:06 +00:00
eap
b337ba17f3 not initialized value 2011-01-27 13:40:10 +00:00
eap
cbe632e32e unused variable 2011-01-27 13:37:31 +00:00
vsr
20570dd75e 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Fix "bare faces" control problem
2011-01-27 10:14:07 +00:00
vsr
bdebea37d3 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Add new controls support to the SMESHGUI_Selection
2011-01-27 07:40:19 +00:00
eap
b87176dacc unused variable 2011-01-26 14:09:59 +00:00
eap
6cf8eec182 Clear data structures at Compute() finish 2011-01-26 14:09:38 +00:00
eap
0df1e71b77 For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
1) Store TopoDS_Face in FaceQuadStruct
2) Make CheckNbEdges() public
2011-01-26 14:08:42 +00:00
eap
9462051381 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Redesign again to work with composed cube edges
2011-01-26 14:06:40 +00:00
eap
812e5de47f 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Fix SplitVolumesIntoTetra() taking into account changed behavior
    of the complex SMESHDS_SubMesh
2011-01-26 13:40:27 +00:00
eap
98119844c8 0021140: EDF 1759 SMESH: Netgen1D2D fails on subshape
Fix work on edges computed with the Composed Segment discretizer
2011-01-25 14:46:58 +00:00
eap
063408f854 untabify 2011-01-25 14:45:34 +00:00
eap
bc4ff5ff6c remove useless dump of vertices of failed shape 2011-01-25 14:45:01 +00:00
vsr
f36c4b1044 0021151: [CEA] unit test fails
Use int instead long to decrease memory consumption
2011-01-25 11:38:54 +00:00
vsr
029dc689fe 0021151: [CEA] unit test fails
Index of sub-shape might be greater than 32767 (max allowed value for short type)
2011-01-25 11:23:48 +00:00
eap
266561983c +static int MYDEBUGWITHFILES = 0;//1; 2011-01-24 16:56:10 +00:00
eap
ae954579c5 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Assure stability
2011-01-24 09:17:26 +00:00
eap
80ac3613f8 valid IDs count from 1 2011-01-24 09:15:52 +00:00
gdd
b94b5d0b91 Fix a French translation 2011-01-21 16:34:19 +00:00
gdd
eaf8c3a3b1 Update of French translation files 2011-01-21 15:56:03 +00:00
rnv
1758d524e7 Additional changes for the Point 2 of the "20948: EDF 1468 SMESH: Histogram of the quality controls" issue. 2011-01-21 14:01:49 +00:00
vsr
ddc98ff4c0 0021136: EDF 1748 SMESH: SetAutoColor has no effect in a python script 2011-01-21 12:20:52 +00:00
rnv
18e0bef9d9 Implementation of the Point 2 of the 20948: EDF 1468 SMESH: Histogram of the quality controls. 2011-01-20 15:41:36 +00:00
gdd
9ae572587c Add new method DoubleNodeElemGroupsNew which allows to have the group of newly created elements. 2011-01-18 14:45:18 +00:00
gdd
44f80071d1 Add missing include 2011-01-18 13:02:45 +00:00
eap
c6a711c175 fix SetPosition() 2011-01-18 12:54:18 +00:00
eap
61149a4aee 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers_i.hxx
2011-01-18 12:21:27 +00:00
eap
5c3abea39e \ No newline at end of file0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work with StdMeshers_ViscousLayers
2011-01-18 12:20:52 +00:00
eap
b0cd839dd0 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0 );
+  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
+                                     TopAbs_ShapeEnum aSubShType = TopAbs_EDGE );

+  void                           setFilter();
2011-01-18 12:20:13 +00:00
eap
b01dba1ff2 \ No newline at end of file 2011-01-18 12:19:28 +00:00
eap
b2a261da2b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work after StdMeshers_ViscousLayers
2011-01-18 12:18:56 +00:00
eap
e5bb05c0df 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
2011-01-18 12:17:14 +00:00
eap
bb52dc60e8 monor change 2011-01-18 12:16:37 +00:00
eap
96063cdc0a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Implement Compute() with the viscous layers
2011-01-18 12:16:09 +00:00
eap
e201ae8a2a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers.hxx
2011-01-18 12:15:36 +00:00
eap
44d84c2bb8 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+    def ViscousLayers(self, thickness, numberOfLayers, stretchFactor, ignoreFaces=[]):
2011-01-18 12:15:17 +00:00
eap
daa2cf5397 untabify 2011-01-18 12:14:57 +00:00
eap
f42b1f95af 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  else if ( aHypType == "ViscousLayers")
+    aHelpFileName = "additional_hypo_page.html#viscous_layers_anchor";
2011-01-18 12:14:41 +00:00
eap
715b3d4689 unused variable 2011-01-18 12:14:25 +00:00
eap
db8973dc5c 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject) );
+  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject), bool* isMesh=0 );
2011-01-18 12:14:09 +00:00
eap
02201a772d no more memostat() 2011-01-18 12:11:56 +00:00
eap
78d0067647 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
prevent from an infinite recursion via the event listener
2011-01-18 12:11:00 +00:00
eap
4466dfe1ce 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
1) make CheckNodeUV() and CheckNodeU() optionally return XYZ of node
      projection to shape
   2) prevent ancestors iterator from returning duplicates
   3) move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
   4) for hexa 3D
   static bool LoadNodeColumns(TParam2ColumnMap & theParam2ColumnMap,
                               const TopoDS_Face& theFace,
                               const TopoDS_Edge& theBaseEdge,
                               SMESHDS_Mesh*      theMesh,
+                              SMESH_ProxyMesh*   theProxyMesh=0);
2011-01-18 12:09:32 +00:00
eap
121d45ed88 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
make SMESH_ElementSearcher work on a sub-set of elements
2011-01-18 11:03:09 +00:00
eap
c0b03d98ac 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 11:02:33 +00:00
eap
7b1bae1651 minor change 2011-01-18 11:02:03 +00:00
eap
20cf4f072b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	SMESH_ProxyMesh.hxx
2011-01-18 11:01:28 +00:00
eap
9d606e4a9b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
show arrows on EDGE's only
2011-01-18 10:58:51 +00:00
eap
4a3492c3f1 untabify 2011-01-18 10:58:29 +00:00
eap
8b21a624a6 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make some methods virtual to enable inheriting by StdMeshers_ProxyMesh::SubMesh

+virtual ~SMESHDS_SubMesh()
+void RemoveAllSubmeshes()
2011-01-18 10:57:32 +00:00
eap
f409dd5186 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 10:55:54 +00:00
eap
6a532d5567 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+ SMDS_IteratorOnIterators.hxx
2011-01-18 10:55:06 +00:00
eap
708dbb145f 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  _Self
+  operator++(int)

+  bool
+  operator==(const _Self& __x) const
2011-01-18 10:51:03 +00:00
eap
cbe181b40c untabify 2011-01-18 10:49:35 +00:00
eap
1876773996 remove extra ; 2011-01-18 10:48:28 +00:00
eap
6e58f2fb40 delete node positions at node removal 2011-01-18 10:47:49 +00:00
rnv
0c1947cfe5 Fix for the issue 21127: EDF 1290 SMESH: A user script fails in versions more than 512 2011-01-18 08:46:10 +00:00
gdd
41d66a815f Add default text and style sheet for StdMeshersGUI_ObjectReferenceParamWdg 2011-01-17 10:27:48 +00:00
rnv
96cbac2048 Fix for the 21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion. 2011-01-10 15:38:48 +00:00
akl
07808b26b0 Fix of IPAL22187: mesh is updated now after removing of orphan nodes. 2011-01-10 11:43:47 +00:00
vsr
e74edb9fb4 Code refactoring 2010-12-29 13:17:10 +00:00
jfa
301af5256a Mantis issue 0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group. 2010-12-29 10:27:23 +00:00
rnv
0b0fc19f70 Fix for the issue 0020885: EDF 607 SMESH: Measure tools
(See Additional Note 10037)
2010-12-28 16:29:23 +00:00
ouv
8e1434e86d 0021105: EDF 1179 SMESH: Efficiency of clipping plane in VTK viewer 2010-12-28 12:27:54 +00:00
inv
fc1ff1af4b Issue 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells 2010-12-24 10:59:30 +00:00
inv
2de294b09a Merge from V6_2_BR 23/12/2010 2010-12-24 08:18:34 +00:00
secher
1f7581fe43 use vtkIdType to be independant of architecture 2010-12-15 10:13:32 +00:00
prascle
2b665e09bb PR: debug imps E3 and E7 2010-12-06 16:59:16 +00:00
jfa
85f3ec887b Allow Show/Hide during other SMESH operations. Mantis issue 0021082. 2010-12-06 14:49:00 +00:00
prascle
7013eafe2d PR: debug split into tetras 2010-12-05 22:57:20 +00:00
prascle
43a4d0b5c1 PR: debug polygons and merge nodes 2010-12-05 19:22:06 +00:00
prascle
5927f96360 PR: bug in compactGrid with polyhedrons 2010-12-04 16:50:15 +00:00
prascle
0d10253e8d PR: compactGrid with polyhedrons 2010-12-04 15:44:40 +00:00
prascle
45ed5d9a93 PR: fix Transform method with orphan nodes 2010-12-01 22:56:36 +00:00
prascle
2e16ca1281 PR: correct some warnings 2010-11-30 22:35:24 +00:00
prascle
8fa039a796 merge from branch BR_SMDS_MEMIMP 29 nov 2010 2010-11-29 13:20:53 +00:00
vsr
dd21629a81 Merge from V5_1_main 26/11/2010 2010-11-26 15:48:22 +00:00
vsr
d8f644ca3d Merge from V5_1_main branch 24/11/2010 2010-11-25 12:44:43 +00:00
vsr
dd7baabfa1 0021063: [CEA 434] Compilation using gnu compiler v4.5 2010-11-11 13:02:20 +00:00
vsr
bd9123f5c8 Merge from V6_1_BR 07/09/2010 2010-09-07 14:19:57 +00:00
vsr
3a40107689 Merge from V5_1_main 10/06/2010 2010-06-10 09:43:07 +00:00
vsr
9357f5c870 Merge from V5_1_main 14/05/2010 2010-05-14 15:32:37 +00:00
eap
da57c65070 fix pb with GetName() in case of meshing imported 2D skin 2010-02-19 08:43:22 +00:00
dmv
7ca0689d93 0020701: Additional fix concerned to the GetName Method changes. 2010-02-18 11:28:58 +00:00
eap
a710674f83 020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
* Correct adding geom groups into map of ansestors
2010-02-18 08:29:00 +00:00
eap
b3a24eca49 0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
1) Try to build nodes using transformation before using block approach
2) workaround for wrong surface.Value(u,v) for UV near boundary of BSline surface
2010-02-17 14:59:19 +00:00
eap
0719fe6424 0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
+  /*!
+   * \brief Return transformations to get coordinates of nodes of each internal layer
+   *        by nodes of the bottom. Layer is a set of nodes at a certain step
+   *        from bottom to top.
+   */
+  bool GetLayersTransformation(std::vector<gp_Trsf> & trsf) const;
2010-02-17 14:56:40 +00:00
eap
db9b76d342 1)
+    ## Defines "QuadrangleParams" hypothesis
+    #  @param vertex: vertex of a trilateral geometrical face, around which triangles
+    #                 will be created while other elements will be quadrangles.
+    #                 Vertex can be either a GEOM_Object or a vertex ID within the
+    #                 shape to mesh
+    #
+    def TriangleVertex(self, vertex, UseExisting=0):

2) in FixedPoints1D(), convert geom reversed edges into IDs
2010-02-17 14:54:30 +00:00
skl
e096680dda Changes for bug 0020681. 2010-02-16 11:07:53 +00:00
eap
ae8e36cc4a fix Save() and Load() 2010-02-16 09:32:14 +00:00
vsr
97a2f52e50 0020702: [CEA] Problem with Segment function of SMESH module
0020701: EDF SMESH : GetName Method of smeshDC.py
Additional fix
2010-02-16 09:20:56 +00:00
skl
68b6c38588 Changes for bug 0020681. 2010-02-16 09:19:59 +00:00
dmv
4bb95af61f 0020702: [CEA] Problem with Segment function of SMESH module 2010-02-15 09:35:36 +00:00
eap
3d1a536674 protect IndexToShape() from Standard_OutOfRange exception 2010-02-15 07:11:44 +00:00
eap
8d6ad56522 report error reasons in case of trilateral face 2010-02-12 14:27:33 +00:00
vsr
2029d91e2f Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump 2010-02-12 08:37:10 +00:00
eap
2cd3dfdd08 fix case of 2 edges 2010-02-12 08:15:06 +00:00
maintenance team
d7d3916c31 Fix compilation problem on Debian Sarge 2010-02-12 08:03:53 +00:00
eap
4e29225bc5 precise error message 2010-02-12 07:41:39 +00:00
vsr
8321c7460e Issue 0020701: EDF SMESH : GetName Method of smeshDC.py 2010-02-12 06:07:26 +00:00
eap
84dcc4efcf 0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
* Add CheckNodeU()
* Compute parameters of created medium nodes even in force3d mode
* Leave doxygen-style comments of functions only in the header
2010-02-11 13:16:51 +00:00
dmv
9e7387ef24 0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh 2010-02-11 12:08:34 +00:00
eap
13623edbcc 0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix for internal edges
2010-02-11 08:26:40 +00:00
eap
7be9f329c4 0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix GetOrderedEdges(): workaroud for BRepTools_WireExplorer, which return no edges if they are internal
2010-02-11 08:25:06 +00:00
eap
04efa6b9dc clear auxiliary data after Compute() 2010-02-10 07:36:45 +00:00
eap
2169f74278 0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
* Redesign in order to bind two pyramids to one base quadrangle.
 * Check presence of 3D elements sharing the base quadrangle.
2010-02-09 11:17:06 +00:00
eap
2536cb0c1b Make TNodeXYZ public, which together with SMDS_StdIterator allows getting coordinates of all nodes of mesh element in a couple of lines of code:
typedef SMDS_StdIterator< SMESH_MeshEditor::TNodeXYZ, SMDS_ElemIteratorPtr > TXyzIterator;
  vector<gp_Pnt> coords( TXyzIterator( elem->nodesIterator()), TXyzIterator() );



class SMESH_EXPORT SMESH_MeshEditor
{
public:
+  //------------------------------------------
+  /*!
+   * \brief SMDS_MeshNode -> gp_XYZ convertor
+   */
+  //------------------------------------------
+  struct TNodeXYZ : public gp_XYZ
2010-02-09 11:13:23 +00:00
eap
c8050ec0d5 + // std-like iteration on nodes
+  typedef SMDS_StdIterator< const SMDS_MeshNode*, SMDS_ElemIteratorPtr > iterator;
+  iterator begin_nodes() const { return iterator( nodesIterator() ); }
+  iterator end_nodes()   const { return iterator(); }
2010-02-09 11:03:51 +00:00
eap
1088385e70 const SMDS_MeshElement* next()
{
+    if ( !more() ) return 0;
2010-02-09 11:03:15 +00:00
eap
48378761b2 Add iterator, wrapper over SMDS_Iterator, adding std-like operators *, ++ etc
+	SMDS_StdIterator.hxx
2010-02-09 11:02:53 +00:00
eap
1fd762e26c - SMDS_MeshElement * MeshElement(int ID);
+  SMDS_MeshElement * MeshElement(int ID) const;
2010-02-09 07:02:21 +00:00
eap
b90c9d785d Write nodes in the order of increasing ids
-      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
+      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator(/*idInceasingOrder=*/true);
2010-02-08 14:39:14 +00:00
eap
509187908d Add an utility to iterate on nodes in the order of increasing ids
-  SMDS_NodeIteratorPtr nodesIterator() const;
+  SMDS_NodeIteratorPtr nodesIterator(bool idInceasingOrder=false) const;
2010-02-08 14:38:03 +00:00
vsr
d06764f347 0020691: EDF SMESH : Export STL always in binary 2010-02-08 11:22:48 +00:00
maintenance team
8abff026bc import salome 2010-02-08 10:28:23 +00:00
eap
172b75f1d3 follow modif for IPAL21558 (In Group creation dialog, selection of sub-shapes in OB, viewer and dialog is not well syncronized)
-  virtual void            processOwner( const LightApp_DataOwner* );
+  virtual bool            processOwner( const LightApp_DataOwner* );
2010-02-08 07:14:33 +00:00
eap
a3b1bac8a0 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
* Rename HasDegenenaratedEdges() -> HasDegeneratedEdges()
2010-02-01 14:26:09 +00:00
eap
696fa5df7f 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
+   * \brief Check if the shape set through IsQuadraticSubMesh() or SetSubShape()
+   *        has a degenerated edges
+    * \retval bool - true if it has
+   */
+  bool HasDegenenaratedEdges() const { return !myDegenShapeIds.empty(); }
2010-02-01 14:19:06 +00:00
eap
2998fad1e1 minor change 2010-02-01 13:30:15 +00:00
eap
8d2789db83 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
avoid creating degenetrated faces
2010-02-01 13:29:23 +00:00
eap
d7c779851c fix comment 2010-02-01 13:28:11 +00:00
eap
0cadad987c 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
* Evaluate():
  ** do not read from out of vector range
  ** report error if algo->Evaluate() returns negative number
2010-02-01 11:12:17 +00:00
eap
8d99b0dffe 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
* Evaluate(): do not call algo->Evaluate() if needed submeshes failed to evaluate
2010-02-01 11:09:38 +00:00
nge
cbc21f731e Revert last modification 2010-01-27 14:22:19 +00:00
nge
a2f5fa75bd Add missing import StdMeshers 2010-01-27 13:43:29 +00:00
nge
a63ab6b7e1 import salome missing on some scripts 2010-01-27 11:08:25 +00:00
eap
8726d7811f 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
Assure that this submesh is evaluated once
2010-01-27 10:09:15 +00:00
gdd
f3ede5f066 Small correction 2010-01-23 09:00:59 +00:00
eap
4104f26589 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Algorith behavior has changed - default hyps have appeared
2010-01-22 11:38:25 +00:00
eap
fd1dc99bb5 shorten code 2010-01-22 11:37:48 +00:00
eap
188c7b742c unused variables 2010-01-22 11:36:53 +00:00
eap
9a6c1bd34d 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Learn Quadrangle() create Mesh_RadialQuadrangle1D2D algo

+QUARDANGLE = 0
+RADIAL_QUAD = 1
2010-01-22 11:36:02 +00:00
eap
035f2b519d - if ( theNbSegments )
+  if ( theNbSegments > 0 )
     myGen.SetDefaultNbSegments( int(theNbSegments) );
   else
     THROW_SALOME_CORBA_EXCEPTION( "non-positive number of segments", SALOME::BAD_PARAM );
2010-01-22 11:34:11 +00:00
eap
890d47aa59 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Fix conversion of LayerDistribution hypothesis
2010-01-22 11:33:35 +00:00
eap
c6fb8166df - <translation>Geomerty mismatches algorithm's expectation</translation>
+            <translation>Geomerty mismatches algorithm's expectation\nCheck algorithm documentation for supported geometry</translation>
2010-01-22 11:31:20 +00:00
eap
982b910458 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
+  virtual bool operator==(const SMESHDS_Hypothesis& other) const;
+  bool operator!=(const SMESHDS_Hypothesis& other) const { return !(*this==other); }
2010-01-22 11:30:28 +00:00
eap
6462277df0 shorten code 2010-01-22 11:29:51 +00:00
maintenance team
909e9e40a7 *** empty log message *** 2010-01-21 09:18:32 +00:00
ouv
084d5228ee Issue 0020657: EDF 1244 SMESH: Bad display of tetras 2010-01-20 15:24:23 +00:00
eap
0862b12810 1) + // RadialQuadrangle_1D2D ----------
2) fix _pyLayerDistributionHypo: move some code from Process() to Flush()
2010-01-20 11:03:16 +00:00
eap
9f57d8b5e9 initialize _nbSegments 2010-01-20 08:31:14 +00:00
dmv
7a8e3a50af Unstable warning in release mode, on creating radialQuadrangle1D2D meshes. 2010-01-12 15:34:12 +00:00
dmv
06f0c4f62f correct debug messages 2010-01-12 15:32:37 +00:00
eap
65197a8515 - myHelpFileName = "mesh_through_point_page.html";
+  myHelpFileName = "find_element_by_point_page.html";
2010-01-12 13:18:05 +00:00
dmv
85d94c3b51 0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise 2010-01-12 08:07:50 +00:00
dmv
d316b3a623 0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise 2010-01-11 15:14:52 +00:00
ouv
3334ebae06 Issue 0020638: EDF 1225 SMESH: Missing options in Color/Size menu 2010-01-11 13:30:06 +00:00
ouv
6c4be33671 Issue 0020514: EDF 1110 SMESH : Export many meshes in one Med File 2010-01-11 07:17:11 +00:00
ouv
238796e3d8 Additional fix for issue 0020614: EDF 1133 SMESH : Put new added elements and nodes to group 2009-12-29 11:09:37 +00:00
ouv
4863327169 Fix of issue 0020614: EDF 1133 SMESH : Put new added elements and nodes to group 2009-12-28 16:23:43 +00:00
eap
163dc9b8fd 0020028: EDF 842 SMESH : Can't export to med a mesh with same names
for one group of nodes and one group of faces

avoid duplicated group names within one type of elements only
2009-12-25 11:22:10 +00:00
skl
72982ad122 Changes for bug 18911 from Mantis. 2009-12-22 10:04:35 +00:00
dmv
313bdfc1c7 0020623: EDF 1209 SMESH: Load script/execfile add the objects in the wrong study 2009-12-21 14:26:43 +00:00
eap
0c1e7c3900 0020623: EDF 1209 SMESH: Load script/execfile add the objects in the wrong study
set current study to SMESH_Gen
2009-12-21 08:24:08 +00:00
dmv
31873e6e23 in frame of 0020622: EDF 1194 SMESH: Merge nodes or elements 2009-12-18 13:14:54 +00:00
eap
e6e7b52bbf 0020618: EDF 1208 SMESH: problems with DoubleNodeElemGroup*InRegion
1) fix finding element center in isInside()
    2) add classifying on TopoDS_FAce
2009-12-18 10:36:52 +00:00
eap
4bbc67fbbe def DoubleNodeElemGroupInRegion(self, theElems, theNodesNot, theShape):
0020617: EDF 1207 SMESH: DoubleNode*: impossible to duplicate edges in a 3D mesh

     def DoubleNodeElemGroupInRegion(self, theElems, theNodesNot, theShape):
-        return self.editor.DoubleNodeElemGroup(theElems, theNodesNot, theShape)
+        return self.editor.DoubleNodeElemGroupInRegion(theElems, theNodesNot, theShape)
2009-12-17 10:28:57 +00:00
eap
370232fd98 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
-            <translation>Find element by point</translation>
+            <translation>Find Element by Point</translation>

+        <message>
+            <source>TOP_FIND_ELEM</source>
+            <translation>Find Element by Point</translation>
+        </message>
2009-12-16 08:29:08 +00:00
eap
339e2f0051 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
fix isOut()
2009-12-16 08:27:50 +00:00
dmv
e0589e63e6 0020615: EDF 1206 SMESH: Smesh group edition and object browser highlight 2009-12-15 08:57:13 +00:00
nge
5052f7f43b Remove unwanted space in the documentation comment of DoubleNodes method which prevented the documentation to be generated correctly. 2009-12-14 16:35:09 +00:00
eap
bcb8d2c754 cosmetic changes 2009-12-14 09:26:16 +00:00
eap
e7952c1e1e 0020427: EDF 868 SMESH : Be able to define the submeshing order
fix SortByMeshOrder(), forgot to increment iterator
2009-12-14 09:23:56 +00:00
vsr
bf9d590cda Integrate patch from G.David (for vtk 5.2 and newer) 2009-12-11 16:29:49 +00:00
eap
f1bc3e4413 0020605: EDF 1190 SMESH: Display performance. 80 seconds for 52000 cells.
set IsEmbeddedMode() in costructor
2009-12-11 10:43:31 +00:00
dmv
45d6a73f64 Bug IPAL21396 Quadrangle parameters Hypothesis Construction. 2009-12-11 07:14:33 +00:00
eap
5e7f07d3da untabify 2009-12-10 14:52:59 +00:00
eap
f2c45dcff7 0020427: EDF 868 SMESH : Be able to define the submeshing order
fix SortByMeshOrder(), which replaces a submesh of lower priority
  by one of higher priority even if the last one is not in
  theListToSort
2009-12-10 09:55:48 +00:00
vsr
b03a1e6001 Merge from BR_phase16 branch (09/12/09) 2009-12-09 15:46:26 +00:00
vsr
2daa321efa Merge from V5_1_3_BR branch (07/12/09) 2009-12-08 13:11:42 +00:00
dmv
2ed875d56d IPAL21493 Incorrect behaviour of Computation, Evaluation succeed dialog boxes in consecutive operations. 2009-12-03 12:31:27 +00:00
vsr
7ee78f2e75 Move GeomSelectionTools from BLSURF module to SMESH 2009-11-23 14:46:21 +00:00
eap
37d36cd6fc 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+	SMESHGUI_FindElemByPointDlg.cxx \
2009-11-11 15:10:07 +00:00
eap
388cb7d58d 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
fix isOut()
2009-11-11 14:58:39 +00:00
dmv
f314777950 correct previous integration (Porting to Python 2.6) 2009-10-12 13:47:12 +00:00
dmv
c484895a0f IPAL21363 Compute hangs up on Hypothesis Distribution of Layers. 2009-10-12 13:16:41 +00:00
dmv
630e3674da Porting to Python 2.6 - add coding page specification for Python scripts 2009-10-12 06:16:35 +00:00
dmv
30310d58ad Porting to Python 2.6 - add coding page specification for Python scripts 2009-10-09 13:27:53 +00:00
vsr
54b0ad31e1 Issue 0020520: [CEA 358] Import - Export Sauv files in SMESH
!!! Rollback changes !!!
2009-10-08 08:54:12 +00:00
vsr
49c4dbd0bf Issue 0020520: [CEA 358] Import - Export Sauv files in SMESH 2009-10-07 13:32:10 +00:00
eap
4cd62d7138 untabify 2009-10-07 13:14:47 +00:00
dmv
d8333f0d47 0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from other group 2009-10-07 12:27:27 +00:00
vsr
f6c3a1e96c Issue 0020520: [CEA 358] Import - Export Sauv files in SMESH 2009-10-06 10:29:14 +00:00
ouv
75e6081e5e Bug IPAL21372 - 0D algorithm. Mesh visualization failed,if all of 1-3D algorithms are removed,but 0D is remained. 2009-10-05 14:39:07 +00:00
eap
6510081be2 020461: EDF 1102 GHS3DPLUGIN: Bad detection of volumes with Ghs3d mesh
SMESH_MesherHelper:

-  void SetCheckNodePosition(bool toCheck) { myCheckNodePos = toCheck; }
   /*!
+   * \brief Check and fix node UV on a face
+   *  \retval bool - false if UV is bad and could not be fixed
+   */
+  bool CheckNodeUV(const TopoDS_Face&   F,
+                   const SMDS_MeshNode* n,
+                   gp_XY&               uv,
+                   const double         tol) const;

-  bool            myCheckNodePos;
+  std::set< int > myOkNodePosShapes;
2009-10-02 16:20:31 +00:00
eap
72ca340bff untabify 2009-10-02 16:19:27 +00:00
eap
692b18b251 untabify 2009-10-02 13:09:52 +00:00
dmv
425391ca7c 0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from other group 2009-10-02 07:17:29 +00:00
eap
7af78cc3d0 untabify 2009-10-01 06:28:20 +00:00
eap
fe22993f88 untabify 2009-09-30 09:27:11 +00:00
eap
2cd5bf0e19 untabify 2009-09-30 09:03:53 +00:00
eap
4e3fa683ce - SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false,
+  SMESHGUI_Dialog( QWidget* = 0, const bool modal = false, const bool allowResize = false,
2009-09-30 08:47:12 +00:00
eap
13c23ff6b0 untabify 2009-09-30 08:44:38 +00:00
eap
5b7eddf17a untabify 2009-09-30 08:16:15 +00:00
vsr
00ee13aec2 Remove JoinObjectParameters() function 2009-09-30 08:10:20 +00:00
vsr
96313c9c5d FixedPoints hypothesis: fix problem with values close to 0.0 and 1.0 2009-09-29 16:52:15 +00:00
vsr
3fa4acc3ab Fix problem in Mesh module on closing study operation (reference to the non existent study is kept and used) 2009-09-29 14:11:58 +00:00
dmv
49644451f1 IPAL21386 "Mesh to Pass Through a Point" is broken at all. 2009-09-25 09:52:12 +00:00
nge
84312b093a - Patch for recent Debian distrib:
multiple same file is not allowed in one installation line
2009-09-17 17:11:00 +00:00
dmv
a4e0e20f3c IPAL21374 Add 0D element leads to visualization failure. 2009-09-17 13:18:43 +00:00
eap
69aebe3a10 untabify 2009-09-17 12:22:15 +00:00
vsr
b7cae6675f IPAL21367: Fix problems with the Fixed Points widget: addition of same values should be disabled 2009-09-17 11:56:45 +00:00
eap
794e4ede5b untabify 2009-09-17 07:27:34 +00:00
eap
2fbf8d55b0 untabify 2009-09-16 12:59:00 +00:00
ptv
e6a2527b22 IPAL21340 2009-09-16 07:20:43 +00:00
vsr
ba086e70a8 0020431 (Fix problem with help page) 2009-09-16 07:00:48 +00:00
skl
6de0067382 Changed for 0019296 (Evaluation). 2009-09-16 06:13:07 +00:00
vsr
7c72475a3a 0020310: EDF 997 SMESH : Tell the mesh to pass through different points
Fixed problem with help page.
2009-09-15 16:34:26 +00:00
eap
fd8513f94e untabify 2009-09-15 16:18:08 +00:00
dmv
a448c25876 IPAL21346 After Quadrangle Algorithm failed, visualisation of mesh is bad. Regress to 5.1.2 2009-09-15 15:27:58 +00:00
dmv
067947492f 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-09-15 14:16:35 +00:00
skl
3e09f90deb Changed for 0020431. 2009-09-15 13:32:29 +00:00
dmv
ab21216f10 IPAL21340 Compute leads to Unknown Exception if No available data in selection. 2009-09-15 13:25:02 +00:00
eap
a269dcbbdf 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
pb: only the 1st algo is applied

     // apply the algos that do not require descretized boundaries
     // ----------------------------------------------------------
     for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
+    {
+      sm = *subIt;
       if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
       {
2009-09-15 13:24:04 +00:00
dmv
a89c4cb333 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-09-15 13:00:06 +00:00
ptv
0f691b4cc1 0020310: EDF 997 SMESH : Tell the mesh to pass through different points
Edit sub mesh with hypothesis, but without algos.
It is necessary tocheck is there are any comparing of strings as "char* == char*" but HOW?
2009-09-15 12:42:32 +00:00
asl
cf2a8cec1c 0020378: selection is empty after "cancel" in the hypothesis edition dialog box 2009-09-15 12:20:05 +00:00
eap
8d7286fc5d untabify 2009-09-15 08:46:22 +00:00
ptv
4c604aa712 avoid FPE exception 2009-09-15 07:51:41 +00:00
adam
7a2dff55c5 Use the f2c flag when trte.f is compiled with f2c 2009-09-14 14:13:38 +00:00
adam
6e510e8582 Windows port 2009-09-14 14:02:45 +00:00
vsr
5f21fe20f5 Issue 0020474: Symbols multi-defined in SMESHimpl.dll 2009-09-14 13:21:39 +00:00
eap
44f899d82d 0020463: EDF 1099 SMESH: performance regression from V4 to V5
Remove memory leaks and optimize ParseParameters()
2009-09-14 13:05:16 +00:00
eap
ed0a000310 untabify 2009-09-14 12:00:44 +00:00
skl
489c1e114f Corrected for 0020310. 2009-09-11 12:10:55 +00:00
dmv
8ef6ac2097 0020378: EDF 1042 SMESH : Gui of SMESH hypothesis not multi-study 2009-09-11 11:37:47 +00:00
eap
53254ff3ed untabify 2009-09-10 16:11:08 +00:00
eap
0244669837 untabify 2009-09-10 15:29:29 +00:00
ptv
4ce8e26285 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 12:57:35 +00:00
eap
9c4c09606e untabify 2009-09-10 12:51:28 +00:00
ptv
a44eb77228 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 12:40:55 +00:00
eap
525249fdfb unatbify 2009-09-10 11:06:18 +00:00
eap
99e3564a09 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
+#include <limits>
2009-09-10 08:10:41 +00:00
eap
e4bbd9cf6a - CORBA::Long SMESH_MeshEditor_i::FindNodeClosestTo(CORBA::Double x,
-                                                    CORBA::Double y,
-                                                    CORBA::Double z);
+  CORBA::Long FindNodeClosestTo(CORBA::Double x,
+                                CORBA::Double y,
+                                CORBA::Double z);
2009-09-10 08:07:28 +00:00
eap
7e8c1c603d untabify 2009-09-10 07:19:24 +00:00
ptv
35c05cab65 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 06:59:27 +00:00
eap
8772f598d6 untabify 2009-09-10 06:50:30 +00:00
eap
c15f8d1936 - some memory leaks 2009-09-10 06:02:38 +00:00
eap
38fb650b9e 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

     def FindNodeClosestTo(self, x, y, z):
-        preview = self.mesh.GetMeshEditPreviewer()
-        return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        #preview = self.mesh.GetMeshEditPreviewer()
+        #return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        return self.editor.FindNodeClosestTo(x, y, z)

+    ## Finds the elements where a point lays IN or ON
+    #  @param x  the X coordinate of a point
+    #  @param y  the Y coordinate of a point
+    #  @param z  the Z coordinate of a point
+    #  @param elementType type of elements to find (SMESH.ALL type
+    #         means elements of any type excluding nodes and 0D elements)
+    #  @return list of IDs of found elements
+    #  @ingroup l2_modif_throughp
+    def FindElementsByPoint(self, x, y, z, elementType = SMESH.ALL):
+        return self.editor.FindElementsByPoint(x, y, z, elementType)
+
2009-09-10 05:54:04 +00:00
eap
7756cec8c7 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
+    /*!
+     * Return ID of node closest to a given point
+     */
+    long FindNodeClosestTo(in double x, in double y, in double z);
+

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+    /*!
+     * Return elements of given type where the given point is IN or ON.
+     *
+     * 'ALL' type means elements of any type excluding nodes and 0D elements
+     */
+    long_array FindElementsByPoint(in double x, in double y, in double z, in ElementType type);
+
2009-09-10 05:52:11 +00:00
eap
7512099966 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

optimize for performance
2009-09-10 05:49:16 +00:00
eap
0f2c407672 0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
struct SMESH_NodeSearcher
 {
   virtual const SMDS_MeshNode* FindClosestTo( const gp_Pnt& pnt ) = 0;
+  virtual void MoveNode( const SMDS_MeshNode* node, const gp_Pnt& toPnt ) = 0;
 };

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+//=======================================================================
+/*!
+ * \brief Return elements of given type where the given point is IN or ON.
+ *
+ * 'ALL' type means elements of any type excluding nodes and 0D elements
+ */
+//=======================================================================
+
+struct SMESH_ElementSearcher
+{
+  virtual void FindElementsByPoint(const gp_Pnt&                           point,
+                                   SMDSAbs_ElementType                     type,
+                                   std::vector< const SMDS_MeshElement* >& foundNodes)=0;
+};
2009-09-10 05:29:55 +00:00
eap
ba741219df 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+  bool IsOut(double X, double Y, double Z, double tol);
+  // Classify a point
2009-09-10 05:19:01 +00:00
eap
ec71bd93d2 untabify 2009-09-09 06:17:26 +00:00
asl
1f8dc8762c PAL20378 2009-09-04 08:21:40 +00:00
ouv
5ff23c3748 To avoid memory leaks 2009-09-03 08:50:15 +00:00
ouv
bcbdd40a30 To avoid memory leaks 2009-09-03 08:18:11 +00:00
ouv
2c26db46be Removed as obsolete 2009-09-02 10:53:52 +00:00
ptv
2fa6f3c92b remove compilation error on Windows 2009-09-01 06:56:48 +00:00
ptv
8a7fc527d7 remove compilation error on Windows 2009-09-01 03:53:08 +00:00
eap
db647c3bf2 unused variables 2009-08-27 14:09:43 +00:00
eap
30aaa793b9 fix GetSubMesh()
if ( it.More() )
+    {
       index = _myMeshDS->AddCompoundSubmesh( aSubShape, it.Value().ShapeType() );
+      if ( index > _nbSubShapes ) _nbSubShapes = index; // not to create sm for this group again
+    }
   }
2009-08-27 13:58:53 +00:00
eap
7dba98132c fix SetEventListener() for the case of groups 2009-08-27 13:56:40 +00:00
eap
037d3f1a0c untabify 2009-08-27 10:45:29 +00:00
eap
e069a4fc65 fix MakeMeshOnFxy1(): set medium nodes to the Fxy1 face instead of volume 2009-08-27 10:43:10 +00:00
ptv
20a656158d 0020095: EDF 896 SMESH : Advanced Mesh info on a group
correct Mesh Info statistic for sub-mesh objects
2009-08-27 10:27:17 +00:00
skl
72b7497557 Remove not needed "cout". 2009-08-27 08:10:02 +00:00
skl
3add66f219 Integration improvements 0020310 and 0020431. 2009-08-27 07:26:22 +00:00
jfa
874fdebf62 Bug 0020403: Clear mesh data doen't 'free' the memory. 2009-08-27 06:22:59 +00:00
dmv
df30a6d6f6 IPAL21303 ex15_cyl2geometry: mesh computation failed 2009-08-25 13:14:23 +00:00
dmv
0913edc2fc IPAL21340 Compute leads to Unknown Exception if No available data in selection. 2009-08-25 08:31:07 +00:00
ptv
7d36523b6a 0019296: EDF 681 SMESH
Add Evaluate into pop-up menu
2009-08-25 07:41:51 +00:00
ptv
40b2818f18 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
Replace hard coded values of element types by new enumeration (added in advanced mesh info Improvement)
2009-08-25 05:18:16 +00:00
dmv
96777f9e35 Editing hypothesis bug... 2009-08-24 11:31:32 +00:00
eap
53d936f2cd untabify 2009-08-24 08:45:30 +00:00
eap
7da5ad9632 untabify 2009-08-24 07:27:17 +00:00
vsr
d7f0a306f9 Fix crash in Filter_i::GetIDs() after Filter_i::SetMesh() function call 2009-08-21 09:22:45 +00:00
ptv
79c00fe8dd 0020095: EDF 896 SMESH : Advanced Mesh info on a group 2009-08-21 05:41:59 +00:00
eap
4aab533cbd 0020452: EDF 1056 SMESH : 2D Projection Issue
use shape partnership (TopoDS_Shape::IsPartner()) for an easy projection
2009-08-20 07:42:20 +00:00
eap
c9d6ead3f5 0020452: EDF 1056 SMESH : 2D Projection Issue
1) in FindSubShapeAssociation(): use shape partnership (TopoDS_Shape::IsPartner())
   for association
2) in FindFaceAssociation(): try two algoritms to find a correct outer wire
2009-08-20 07:40:08 +00:00
eap
b32884a5f8 fix indentation 2009-08-20 07:36:49 +00:00
eap
57781aac7a 0020452: EDF 1056 SMESH : 2D Projection Issue
static int GetOrderedEdges (const TopoDS_Face&        theFace,
                               TopoDS_Vertex             theFirstVertex,
                               std::list< TopoDS_Edge >& theEdges,
-                              std::list< int >  &       theNbVertexInWires);
+                              std::list< int >  &       theNbVertexInWires,
+                              const bool                theShapeAnalysisAlgo=false);
2009-08-20 07:35:09 +00:00
vsr
2e5ccf9f57 Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined 2009-08-13 05:50:13 +00:00
ptv
3a85b1b855 correct script (syntax error and missing arguments) Bug IPAL21322 2009-08-12 07:35:36 +00:00
ptv
787fff0067 IMP20439 Create hole by element and nodes duplication 2009-08-11 12:01:49 +00:00
eap
eee601b7b1 IPAL21302 Selection of the Hypothesis without Geometry leads to Unknown exception. Regress to 5.1.2 2009-08-11 09:09:55 +00:00
skl
3611527175 Protection before invalid hypothesises for "Evaluate" operation. 2009-08-06 12:44:45 +00:00
jfa
f4ba12e460 Correct bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300) 2009-08-04 12:22:34 +00:00
adam
05a54f24ee Another fix like previous one. 2009-08-03 14:39:22 +00:00
vsr
a4d61a7b6f Fix compilation problems on Windows 2009-07-31 13:52:22 +00:00
vsr
ce336312be Issue 20443: SIGSEGV in SMESHGUI_VTKUtils.cxx::RemoveVisuData 2009-07-31 13:12:15 +00:00
adam
fc90840855 Remove warnings 2009-07-30 16:14:24 +00:00
skl
6a950222ba Changes for bug 0020381 from Mantis. 2009-07-28 11:38:26 +00:00
maintenance team
e0f4c9a46e update SMESH_test comment i3 2009-07-27 12:03:16 +00:00
dmv
dfb859163d IPAL21286 1D Meshing for the Forward and Reversed Edge are equal. 2009-07-27 08:44:02 +00:00
ouv
4e54c1cef1 Fix of the problem with vtkRenderer::GetActors() method 2009-07-22 10:46:42 +00:00
skl
55510e5ccd Implementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis). 2009-07-22 09:13:29 +00:00
dmv
f02c3a1b9e IPAL21265 It's impossible to select edge for Reverce in Arithmetic 1D Hypothesis when Edit Mesh 2009-07-22 07:33:31 +00:00
dmv
4137f1c07b 0020089: EDF 887 MED : Take into account 0D elements (MED_POINT1) 2009-07-20 14:50:13 +00:00
adam
90c6367e0c Fix compilation of gcc 4.3.2 2009-07-20 13:11:57 +00:00
jfa
4592fecfcf IMP 0020089: Take into account 0D elements (MED_POINT1) 2009-07-16 13:33:03 +00:00
eap
74c0034727 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
implement python dump
2009-07-15 13:44:24 +00:00
eap
951e90bf47 {
/*!
      * Sets <start segment length> or <end segment length> parameter value
+     * * OBSOLETE *. Avoid such a way of interface design
+     * * It is recommended to dedicate a method to each parameter.
      */
     void SetLength(in double length, in boolean isStartLength)
       raises (SALOME::SALOME_Exception);

     /*!
+     * Sets <start segment length> parameter value
+     */
+    void SetStartLength(in double length)
+      raises (SALOME::SALOME_Exception);
+
+    /*!
+     * Sets <end segment length> parameter value
+     */
+    void SetEndLength(in double length)
+      raises (SALOME::SALOME_Exception);
2009-07-15 13:43:48 +00:00
eap
67b7121966 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
add reversedEdges parameter
2009-07-15 13:43:06 +00:00
eap
53843f55f6 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
class _pyComplexParamHypo
{
+  void Flush();

in order to clear SetObjectEntry() command
2009-07-15 13:42:30 +00:00
eap
2e8fa1f01c 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
convert SetReversedEdges(),
     improve GetWord() to return a whole list
2009-07-15 13:41:14 +00:00
vsr
686a864564 Merge from V5_1_2_BR branch (14 July 2009) 2009-07-15 08:11:22 +00:00
dmv
184f00f38e 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-07-08 10:34:09 +00:00
vsr
0d70483e9f Fix compilation problem on Debin Sarge 2009-07-06 11:39:01 +00:00
skl
f91869c65c Implememtation of evaluation for improvement 0019296. 2009-06-30 12:19:47 +00:00
skl
bb0c89d5a8 Implememtation of evaluation for improvement 0019296. 2009-06-29 13:26:16 +00:00
eap
0f98258c46 SMESH_Hypothesis::Hypothesis_Status aStatus;
if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) {
+      aPrism3D->InitComputeError();
       bOK = aPrism3D->Compute( aMesh, aShape );
2009-06-18 12:47:55 +00:00
eap
6d0508c77b - ## Returns the list of IDs of submesh elements with the given type
+    ## Returns type of elements on given shape
     #  @param Shape a geom object(subshape) IOR
     #         Shape must be a subshape of a ShapeToMesh()
-    #  @return the list of integer values
+    #  @return element type
     #  @ingroup l1_meshinfo
     def GetSubMeshElementType(self, Shape):
         if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
2009-06-18 12:45:53 +00:00
eap
8735b17bdc 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
/*!
+   * \brief Move medium nodes of faces and volumes to fix distorted elements
+   * \param volumeOnly - fix nodes on faces or not if the shape is solid
+   */
+  void FixQuadraticElements(bool volumeOnly=true);
2009-06-18 12:44:50 +00:00
eap
3232c8723f 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
struct SMESH_TLink: public NLink {
+  const SMDS_MeshNode* node1() const { return first; }
+  const SMDS_MeshNode* node2() const { return second; }
};
2009-06-18 12:42:13 +00:00
eap
47e62a030c 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
in ConvertToQuadratic()
+  if ( !theForce3d ) {
+    aHelper.SetSubShape(0); // apply to the whole mesh
+    aHelper.FixQuadraticElements();
+  }
2009-06-18 12:40:22 +00:00
eap
02846fd083 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
+  inline int NbElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:38:26 +00:00
eap
51a896bafb 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
-  SMDS_ElemIteratorPtr elementsIterator() const;
+  SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:35:37 +00:00
skl
34fb01e7b5 Implementation of new version ExtrusionAlongPath (20003 from Mantis). 2009-06-10 07:09:15 +00:00
vsr
23636c1eb3 Issue 0020370: Symbols multi defined 2009-05-28 13:39:06 +00:00
dmv
bd5c3ea6d2 0020373: MakeMultiTransformation1D failed on maintenances branch (V4 and V5) 2009-05-27 14:34:10 +00:00
vsr
c645e10df0 Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something 2009-05-27 14:20:16 +00:00
vsr
b726570a5c Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something 2009-05-27 14:10:47 +00:00
ouv
9df276244b Issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption) 2009-05-27 12:05:48 +00:00
rnv
e85139c53f Implementation of the issue 20115: [CEA 308] Quadratic elements visualization.
Some corrections.
2009-05-27 12:05:17 +00:00
rnv
c66c06508b Implementation of the issue 20115: [CEA 308] Quadratic elements visualization. 2009-05-27 11:25:25 +00:00
ouv
daf3ca87d0 Issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption) 2009-05-27 07:24:39 +00:00
eap
cead6d7aed 0019936: EDF 794 SMESH : Export UNV : Node color and group id
default node color - 11
2009-05-26 05:22:13 +00:00
eap
c13e1f70bc 0019936: EDF 794 SMESH : Export UNV : Node color and group id
write group label as <group ID>+1
2009-05-26 05:17:10 +00:00
eap
4ac1bf1b0d minor change 2009-05-25 11:37:37 +00:00
eap
ca174cbff6 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
1) Call CheckGeomGroupModif() in Clear()
    2) In CheckGeomGroupModif(), implement case where meshed geom group changes
2009-05-25 11:37:06 +00:00
eap
b4562e1bda 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
+  void changeLocalId(int localId) { myLocalID = localId; }
+  friend void SMESH_Mesh_i::CheckGeomGroupModif();
2009-05-25 11:33:38 +00:00
eap
8a18d05e3b 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
enable Load() in case if meshed geom group has changed
2009-05-25 11:32:35 +00:00
eap
a16572377f 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
update object browser as some object can be removed
2009-05-25 11:29:49 +00:00
eap
b5cb4a64fb 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
In ShapeToMesh(), delete submeshes
2009-05-25 11:24:54 +00:00
eap
c7b8fb12f3 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
allow changing shape to mesh in case of shape being group
2009-05-25 11:20:50 +00:00
dmv
adc76cf234 0020104: EDF 861 SMESH : Mesh element info evolution 2009-05-21 13:09:36 +00:00
vsr
efc89ab066 0020362: EDF SMESH: Smesh commands always generate print logs 2009-05-21 11:11:41 +00:00
eap
c4e4d52dd6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix for SIGSEGV on quadratic  mesh
2009-05-20 13:21:04 +00:00
eap
c8e501d713 0020279: [CEA 334] control the "random" use when using mesh algorithms
sort faces by IDs
2009-05-19 15:41:19 +00:00
eap
318d07b4db 0020279: [CEA 334] control the "random" use when using mesh algorithms
1) delete temporary faces in destructor
   2) bind created pyramids to shape
   3) create quadratic pyramids when necessary
   4) sort faces by IDs
2009-05-19 15:40:53 +00:00
eap
58e6fd99b6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix FindMatchingNodesOnFaces() on quadratic mesh
2009-05-19 15:36:09 +00:00
eap
e07947533e 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SetSourceMesh(): set mesh before calling NotifySubMeshesHypothesisModification()
2009-05-19 15:35:17 +00:00
eap
eb2c096f8e 0020279: [CEA 334] control the "random" use when using mesh algorithms
Compare TNode's by node ID
2009-05-19 15:34:07 +00:00
eap
966f6ecf06 0020279: [CEA 334] control the "random" use when using mesh algorithms
In SetEventListener(), avoid meshing of internal vertices of
   complex edge
2009-05-19 15:33:12 +00:00
eap
ec51778b0c 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SourceShape3D() for the case when no vertices are provided
2009-05-19 15:32:08 +00:00
eap
f33734eda1 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix GetHypothesisList() for mesh w/o shape
2009-05-19 15:31:06 +00:00
eap
ea772b0267 0020279: [CEA 334] control the "random" use when using mesh algorithms
Use TIDCompare from SMDS_MeshElement.hxx
2009-05-19 15:28:40 +00:00
eap
60009bb9da 0020279: [CEA 334] control the "random" use when using mesh algorithms
For stability of StdMeshers_CompositeSegment_1D:
+  bool IsAlwaysComputed() { return _alwaysComputed; }
2009-05-19 15:27:52 +00:00
eap
aa8faf765a #include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx 2009-05-19 15:26:34 +00:00
eap
413a2425d7 eliminate compilation warning 2009-05-19 15:23:46 +00:00
eap
c50dcca3fe +#include "SMESH_MeshEditor.hxx" // needed for many meshers 2009-05-19 15:20:28 +00:00
eap
b6c9c862b4 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix IsQuadraticSubMesh() to work on mesh w/o shape
2009-05-19 15:19:52 +00:00
eap
b632539159 move struct TIDCompare to SMDS_MeshElement.hxx 2009-05-19 15:17:19 +00:00
eap
eb1ffbdba2 static const SMDS_MeshNode* VertexNode(const TopoDS_Vertex& V,
-                                         SMESHDS_Mesh*        meshDS);
+                                         const SMESHDS_Mesh* meshDS);
2009-05-19 15:16:37 +00:00
eap
24f41d7b2b in GetNodeParamOnEdge(), take into account that nodes on vertices not
always present, e.g. when Composite side discretisation is used
2009-05-19 15:16:23 +00:00
eap
91d01b7efe + const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedIndex( ind )); }
+// ============================================================
+/*!
+ * \brief Comparator of elements by ID for usage in std containers
+ */
+// ============================================================
+
+struct TIDCompare {
+  bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
+  { return e1->GetID() < e2->GetID(); }
+};
2009-05-19 15:13:59 +00:00
eap
b6986ac1b1 GetNode(int index) no longer wraps index, rather GetNodeWrap(int index) does 2009-05-19 15:12:54 +00:00
maintenance team
88eccafce6 Update according to change of boolean operation. 2009-05-19 10:18:06 +00:00
eap
52aa1d3b40 0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
Nullify mesh after TNodeSearcherDeleter::Unset()
2009-05-06 13:23:57 +00:00
eap
fd97cbec7c 0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
notify node searcher on mesh destruction
2009-05-06 13:17:33 +00:00
dmv
879dbf686e 0020321: EDF : Some windows do not appear depending on the platform (MinimumSizeHint()) 2009-05-06 11:36:36 +00:00
eap
14dd470a5d 0020338: EDF 1019 SMESH : 3D extrusion issue
fix FindMatchingNodesOnFaces() for the case of no nodes on edge (since nb segments == 1 )
2009-05-06 11:31:45 +00:00
eap
1f4f2f7503 IPAL21120 SIGSEGV on Meshing attached Compound with Automatic Hexadralization
Report on bad geometry if GetFaceIndex() returns -1
2009-05-04 15:17:26 +00:00
dmv
8fccf870d3 IPAL20992 Controls Free nodes works wrong 2009-04-28 12:53:25 +00:00
ptv
ddbb0db133 0020313
EDF 1002 SMESH: Mesh groups are not published in the good study
2009-04-24 07:57:47 +00:00
ptv
0b8a0a7ce8 0020319: EDF SMESH 1007: creation of a sub-mesh on face tries to assign Netgen3D algorithm 2009-04-22 12:47:06 +00:00
ptv
103c6cfb67 fix bug with "Compute" operation invoked from Preview dialog (The problem that dialog with mesh result info appear and disappear very quickly) 2009-04-21 11:27:21 +00:00
eap
728f9a0bad TCollection_AsciiString anEntry;
...
-        anEntry = aSObj->GetID();
+        CORBA::String_var anEntry = aSObj->GetID();
2009-04-21 10:45:40 +00:00
dmv
fb9eed7fa3 0020323: EDF SMESH 1006: Group on geometry: automatic switch to geometry selection field 2009-04-17 12:30:43 +00:00
rnv
0f1fe5b1e3 Implementation of the issue 0020151 (SALOME: Light Python module):
Call LightApp_Module::LightApp_Module() constructor, because virtual inheritance between LightApp_Module and SalomeApp_Module classes was added.
2009-04-17 11:03:03 +00:00
dmv
4efe224f00 0020317: EDF SMESH 1004: "Edit group" changes the name of the group 2009-04-17 07:44:03 +00:00
dmv
25f640b0b6 IPAL21062 Fatal error on Add "Names of filters" - regression 2009-04-17 07:15:33 +00:00
dmv
c41972303e IPAL21058 Preview and Compute mesh help file not found 2009-04-16 13:31:33 +00:00
dmv
4fcbba44ec IPAL21052 Hypothesis Construction Help doesn't show help information 2009-04-16 07:12:26 +00:00
vsr
66b8a7daf6 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
Additional patch: do not publish SMESH component automatically on the module activation
2009-04-14 12:12:27 +00:00
jfa
25d7535ec6 small optimization 2009-04-14 08:49:57 +00:00
dmv
72c8afe581 IPAL21003 Impossible create group from existing group shown only 2009-04-13 07:08:56 +00:00
eap
cd3124ccaa 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
update groups
2009-04-03 14:32:33 +00:00
eap
42b21b7e94 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
use gen->SetPixMap()
2009-04-03 14:31:37 +00:00
eap
908ed4f2a2 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
+  static void SetPixMap(SALOMEDS::SObject_ptr theSObject,
+                        const char*           thePixMap);
2009-04-03 14:30:42 +00:00
eap
dd496074b4 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
call mesh->CheckGeomGroupModif() when current study changes
2009-04-03 14:28:20 +00:00
eap
3c24068111 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
Make SMESH_Gen update meshes at switching GEOM->SMESH
2009-04-03 14:26:25 +00:00
eap
5c372d327f 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
+  void SetShape( const TopoDS_Shape& theShape);
2009-04-03 14:20:45 +00:00
eap
9266dd32f0 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape)
{
 ...
+  else
+  {
+    _isShapeToMesh = false;
+    _shapeDiagonal = 0.0;
+    _myMeshDS->ShapeToMesh( PseudoShape() );
+  }
2009-04-03 14:11:19 +00:00
jfa
c113b9f92e Bug 0020185: EDF SMESH 967 : Anomaly in Merge Nodes. 2009-04-03 08:54:51 +00:00
vsr
7bc441ba31 Fix problem (internal 21002) - "MED file information" command is not shown in popup menu 2009-04-02 09:32:03 +00:00
dmv
c3c7609f27 IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group 2009-04-02 08:41:29 +00:00
eap
95f31e3a95 fix the previous modification
-      std::swap( iAfterSame, iAfterSame );
+      std::swap( iBeforeSame, iAfterSame );
2009-03-24 08:29:44 +00:00
eap
73a829efdf simply code 2009-03-23 08:00:51 +00:00
jfa
0556492614 Bug 0016617: Regression in V5.1.1rc3: the groups are not generated. 2009-03-19 14:41:11 +00:00
eap
9fd4726f74 0020222: Quandrangle_2D meshing fail
unite only edges shared by two same faces
2009-03-19 07:14:16 +00:00
vsr
cb0cec3f05 Issue 19292: fix wrong use case 2009-03-16 16:11:22 +00:00
eap
38d5458b4d 0020217: EDF SMESH: Dump file with mesh and group on geom is wrong
fix _pyCommand::GetWord() for case of names with white spaces inside
2009-03-16 07:50:59 +00:00
eap
a84fe0415c 0020213: RadialPrism_3D_4 failed on V5_1 64 bits
0020214: Project_2D_4 failed on V5_1 64 bits
   different ways of removing deleted and alive elements from submesh
2009-03-12 09:47:59 +00:00
eap
bebf85204e 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
clear mesh if an added local algorithm hides a global all-dimensional one
2009-03-11 15:19:39 +00:00
eap
7462200bee 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
clear mesh if an added local algorithm hides a global all-dimensional one
2009-03-11 15:18:03 +00:00
eap
e49d9ab359 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
in GetSubMesh(), fix detection of SMESHDS_SubMesh'es of geom groups
2009-03-11 15:09:46 +00:00
eap
6f2fdeb795 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
fix detection of SMESHDS_SubMesh'es of geom groups
+  int                        _nbSubShapes;  // initial nb of subshapes in the shape to mesh
2009-03-11 14:58:44 +00:00
eap
e3ca5591ac 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
don't create ordinary submeshes for compounds
2009-03-11 14:55:05 +00:00
eap
666e100eeb enable NoteBook variables for "MaxSize" 2009-03-11 14:52:48 +00:00
eap
015abb3cd3 avoid extra list copying
-    aRes = (*it).second;
+    return it->second;
2009-03-11 14:48:54 +00:00
eap
59b7f3d704 0020200: EDF SMESH 983: changing algo of a mesh and switching back to original algo leads to different result than original
sort nodes and elements by ID
2009-03-10 16:32:02 +00:00
jfa
2534543b1e Bug 0020201: EDF SMESH 984: Dump with Netgen1D2D3D doest not work. 2009-03-10 09:12:29 +00:00
vsr
e4630fff0c Add missing translations 2009-03-10 06:32:10 +00:00
vsr
5e1a596ea1 Integrate patch from E.ADAM (Qt 4.5.0 compatibility) 2009-03-09 13:38:20 +00:00
adam
c9cb7f7c5d Test EXPORTS definition with target name as suggested by cmake 2009-03-06 16:00:11 +00:00
dmv
f408ed4ef2 IPAL20918 Color of Group of Nodes or Edges is not changed when Edit Group 2009-03-06 12:40:08 +00:00
eap
fd5333a3ed PAL20915 TC5.1.1: field "Value" is not shown for assigned hypothesis
Since NoteBook appears, "Value" OB field shows names of variable
    and not values of parameters
2009-03-06 09:23:52 +00:00
eap
b17276ded0 0020184: EDF SMESH 952: Projection 2D does not work
project only if there are nodes on face
2009-03-03 08:53:53 +00:00
eap
cba66c5885 0020184: EDF SMESH 952: Projection 2D does not work
+  static bool IsBoundaryEdge()
+  bool AssocGroupsByPropagation()
2009-03-03 08:49:33 +00:00
eap
d27067784a 0020184: EDF SMESH 952: Projection 2D does not work
use ShapeAnalysis::OuterWire() insead of BRepTools::OuterWire()
2009-03-03 08:38:05 +00:00
jfa
2bd83d5b0b Bug 0020185: EDF SMESH 967 : Anomaly in Merge Nodes. 2009-03-02 14:57:00 +00:00
dmv
14e6b5b1a7 0019928: EDF 771 SMESH : Extrusion (Revolution) with normal to a face 2009-02-27 15:33:35 +00:00
eap
2db16adfe0 0020183: EDF SMESH 966 : Mesh element info anomaly
enable selecting nodes common to 2 shown groups
2009-02-27 13:34:22 +00:00
eap
4f4312b86e avoid repeated search in std::map 2009-02-27 11:27:33 +00:00
eap
b7c184daab 0020183: EDF SMESH 966 : Mesh element info anomaly
fix GetElemObjId() and GetNodeObjId: prevent out_of_range error if id==vector.size()
2009-02-27 11:26:14 +00:00
adam
ea89ab6a23 Compatibility cmake 2009-02-26 15:04:36 +00:00
adam
96fede33b3 Compatibility windows 2009-02-26 15:02:59 +00:00
eap
672ca0c09f 0020182: EDF SMESH 965 : SIGSEV at study opening with SMESH
be patient to studies with invalid node positions data
2009-02-25 15:22:05 +00:00
eap
167a4d4243 In Clear(), nullify nb of poly elements 2009-02-25 15:13:26 +00:00
eap
455ceefa49 0020182: EDF SMESH 965 : SIGSEV at study opening with SMESH
be patient to studies with invalid node positions data
2009-02-25 15:02:11 +00:00
eap
ef7a7ed667 0019929: EDF 772 SMESH : script readability
+class _pySelfEraser: public _pyObject
2009-02-24 14:57:10 +00:00
eap
2b1b345532 fix dumping colors:
use valid python names instead of names in Study
2009-02-24 14:56:11 +00:00
eap
df4afe2d50 0019929: EDF 772 SMESH : script readability
+
+  operator char*() const {
+    return (char*)c_str();
+  }
2009-02-24 14:52:58 +00:00
eap
c539a4181c fix Python Dump 2009-02-24 13:48:47 +00:00
adam
d5dd2d9628 compatibility windows compilation with cmake 2009-02-24 09:27:39 +00:00
eap
2401f44552 0020170: EDF SMESH: Selection behaviour in object browser from hypothesis editing windows
remove filters before creation/edition of hypothesis and restore them after
2009-02-24 09:26:28 +00:00
adam
efe3598bba compatibility compilation with cmake 2009-02-24 09:25:26 +00:00
eap
2142c9f70f 0020170: EDF SMESH: Selection behaviour in object browser from hypothesis editing windows
+  int                          getActiveObject();
2009-02-24 09:23:25 +00:00
vsr
7ce6ef7ee9 Issue 0019938 - fix problem with wrong filter selection (ptv) 2009-02-20 15:11:22 +00:00
vsr
751f23b3e0 Issue 19925: Fix bug with 2d mesh preview 2009-02-20 15:00:02 +00:00
dmv
85ce250186 0020168: EDF SMESH 953: uncomplete selection with filter 'belong on geom' 2009-02-20 11:39:09 +00:00
dmv
b199783795 0020168: EDF SMESH 953: uncomplete selection with filter 'belong on geom' 2009-02-20 08:08:43 +00:00
vsr
18711ecd04 Merge from BR_V5_DEV 17Feb09 2009-02-17 06:55:16 +00:00
vsr
0635c9fc80 Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00
jfa
79b1ac2b6d Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
nge
984c4ffdd7 PAL 14158 Add the Octree and OctreeNode classes to accelerate detection of close nodes. Octree is virtual pure, OctreeNode inherites from Octree. 2007-01-22 15:14:44 +00:00
jfa
fb9855e033 New smesh example from Francis KLOSS 2006-06-08 11:02:23 +00:00
jfa
c63ee099ad Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
jfa
7cab0901cb Fix bug 10955: Collisions with 'Ctrl+I' and 'Ctrl+M' hot keys. 2006-05-10 14:34:56 +00:00
eap
d9a6e9d9f3 fix bug 12361. In SetName(): there may be no study 2006-05-10 12:54:55 +00:00
eap
fdfe9f0f65 fix bug 12361. Peview possiblity of SetCurrentStudy(nil) 2006-05-10 12:49:13 +00:00
eap
850cf38bd9 fix PythonDump: write Criterion arg of QuadToTri() in PythonDump 2006-05-10 12:46:40 +00:00
eap
e559b8fc3d fix PythonDump: do not write distruction in PythonDump as creation is not written 2006-05-10 12:42:27 +00:00
jfa
57b43b4d01 Join modifications from branch OCC_debug_for_3_2_0b1 2006-05-06 08:51:48 +00:00
enk
06c42e9c95 Fix for Bug IPAL11055:
It is impossible to input negative value as f(t) in table function.
2006-03-21 07:24:22 +00:00
jfa
4ff5bd6154 Join modifications from branch OCC_development_for_3_2_0a2 2006-03-13 15:29:49 +00:00
smh
d0f366c4a3 Merge from OCC_development_generic_2006
Preparation of 3.2.0a1
2006-02-07 15:01:11 +00:00
jfa
6b471bcc54 Join modifications from branch BR_3_1_0deb 2005-12-28 09:17:39 +00:00
eap
e884fc2507 PAL10953. Use GUI to create hypothesis from a hypotheses set 2005-12-26 10:43:09 +00:00
eap
e019559d0b PAL10953. Make fields of parameters protected 2005-12-26 10:41:53 +00:00
eap
96874fc4b6 PAL10953. Fix GetSubmeshComputed(): there may be elements but no nodes in a submesh 2005-12-26 10:36:57 +00:00
eap
5c933ecde0 PAL10953. Add Fineness parameter to Automatic Length hypothesis 2005-12-26 10:34:54 +00:00
eap
236b583d31 PAL10467. Add "Quadrangle Preference" hypothesis for "Quadrangle(Mapping)" algo 2005-12-23 10:00:03 +00:00
eap
7ba3124c8a PAL10494. Add .._STANDARD_RTTI_... in order to build executable 2005-12-23 07:47:36 +00:00
eap
493903908d fix PAL10974. Call CleanDependants() instead of
RemoveSubMeshElementsAndNodes() before algo->Compute()
2005-12-20 13:57:13 +00:00
eap
d81b4f8f21 fix bug PAL10974: add IsReversedSubMesh() 2005-12-20 13:53:23 +00:00
eap
477d745d92 fix bug PAL10974: check if SubMeshesComputed() by presence of nodes in submesh.
Restore lost modifications fixing PAL8021.
2005-12-20 11:10:13 +00:00
eap
e07015e9cc fix bug 10959. Initialize GEOM_Gen if necessary 2005-12-19 15:30:18 +00:00
eap
dcc030258b fix bug 10073. Check isVisible() in enterEvent() which unexpectedly comes after accept() 2005-12-19 13:14:02 +00:00
eap
aeef41e893 PAL10595: unit and coordinate name length must be equal to 16 2005-12-15 09:56:38 +00:00
eap
71d173d51a PAL10494 (SMESH python dump uses idl interface). Python dump using TPythonDump tool 2005-12-15 08:38:29 +00:00
eap
95dab66d27 PAL10494 (SMESH python dump uses idl interface). Python dump converted to smesh.py API, usage of TPythonDump tool 2005-12-15 08:34:25 +00:00
eap
5a76185f82 PAL10494 (SMESH python dump uses idl interface). Add SMESH_2smeshpy, a converter of IDL API to smesh.py API 2005-12-15 07:33:07 +00:00
eap
d9e37c0ebb PAL10494 (SMESH python dump uses idl interface). Add GetAlgorithm() to class Mesh_Algorithm in order to have access to the wrapped mesher 2005-12-15 07:29:27 +00:00
asl
01d6aed55b PAL10902 - local selection is stay in viewer after "apply" of Modifiction->Orientation operation 2005-12-14 07:11:48 +00:00
asl
bfcd70d78a PAL10810 - "Display", "Erase", "Display only" on root objects 2005-12-14 06:44:19 +00:00
asl
326ed6ac2c Fix of compilation problems on some platforms 2005-12-06 12:52:53 +00:00
mzn
94b4c4f7f7 Remove unnecessary item. 2005-12-06 12:32:59 +00:00
smh
2754c581d3 Copyrights update 2005-12-05 16:31:55 +00:00
mzn
d1cf3c4101 Fix for bug PAL8377 (ExportToMed TUI vs GUI: how to set the value of the boolean "auto_groups"?). 2005-12-02 13:04:27 +00:00
mzn
7d9ae6b54f Fix for bug IPAL10313 (It is impossible to select "Start point" from 3D viewer in "Extrusion along a path" dialog box). 2005-12-02 10:52:13 +00:00
jfa
02be390389 PAL10718: Portability gfortran. Fix by Erwan ADAM. 2005-12-01 14:49:26 +00:00
jfa
e83db15137 PAL10719: Portability gcc4.0.1. Fix by Erwan ADAM. 2005-12-01 13:22:31 +00:00
asl
24e3153614 Improvement: now in rules you can use "canBeDisplayed" parameter. It is true, if current object can be displayed in active viewer. The result of this check is calculated by new virtual method LightApp_Displayer::canBeDisplayed. GEOM, SMESH, VISU overrides it in order to provide information, what object can be displayed in what viewer 2005-12-01 10:05:38 +00:00
asl
6d9831519d PAL10678 - selection is lost after "update" 2005-11-30 12:39:44 +00:00
asl
9280276b1d It is recommended to use standard Qt QInputDialog instead QtxNameDlg 2005-11-28 09:22:22 +00:00
asl
8d0c572759 PAL10397 - node mustn't be selected after add operation 2005-11-28 06:51:45 +00:00
jfa
b90943f064 Fix for bug 10498. Support old storage format of NumberOfSegments hypothesis 2005-11-25 15:58:28 +00:00
asl
5bbfd7c156 PAL10665 - unnecessary Plot2d in CreateHypothesis dialog 2005-11-25 14:40:19 +00:00
asl
6a1c128a1e PAL9878 - selection lost after some operations 2005-11-25 14:06:27 +00:00
asl
d76a2a2557 PAL10471 - incorrect 3D popup for erased objects 2005-11-24 09:44:05 +00:00
eap
9048686ff8 PAL10491. "... algo misses some hypothesis" -> "... algo misses nD hypothesis" 2005-11-23 15:08:50 +00:00
asl
25c935e78a PAL8978 - selection is lost after some operations 2005-11-23 12:08:49 +00:00
asl
4d423efd78 PAL8238 - Hypothesis for non-regular 1D meshing 2005-11-23 09:27:11 +00:00
asl
2ad752b10c PAL8238 - Hypothesis for non-regular 1D meshing 2005-11-23 09:07:44 +00:00
mzn
82ea47a7c9 Fix for bug PAL10408 (Strange behaviour of the selection icon in the "create group" dialog box). 2005-11-22 15:09:07 +00:00
eap
2850e5f7ba PAL10515. fix disconnect from selection manager 2005-11-16 15:01:31 +00:00
eap
a5e3cc49d7 PAL10515. Check shape type before calling TopoDS::Face() 2005-11-16 15:00:03 +00:00
mkr
9dbbb779fa Add new variable for finding OCC libraries during compilation. 2005-11-16 12:00:03 +00:00
eap
4fe88e90a7 PAL10501. SetCurrentStudy() to SMESH_Gen in GetSMESHGen() 2005-11-16 09:18:22 +00:00
eap
2df8c2d513 PAL10173. Protect computeParamByFunc() against divisionby zero when f(0)=0 and against infinite loop 2005-11-15 08:53:15 +00:00
eap
773894ff04 PAL10513. Desable tabs according to shape dimention at edition as well 2005-11-14 14:11:48 +00:00
asl
52c4d72583 PAL10479 2005-11-14 13:55:07 +00:00
skl
db9a6dee24 Improvement of extrusion functionality 2005-11-14 12:41:17 +00:00
eap
f0cefe4519 PAL10500. Take into account degenerated edges 2005-11-14 09:22:24 +00:00
eap
590a56bae0 PAL10491. Add messages used by GetMessageOnAlgoStateErrors() 2005-11-14 09:18:24 +00:00
eap
bf36cccf8e PAL10491. Add GetMessageOnAlgoStateErrors() 2005-11-14 09:17:11 +00:00
eap
ad354c1c09 PAL10491. use GetAlgoState() instead of IsReadyToCompute() 2005-11-14 09:16:18 +00:00
eap
81e9dbdf6c PAL10491. Add GetAlgoState() 2005-11-14 09:11:54 +00:00
mzn
11899ab525 Fix for bug PAL10409 (Filter "Belong to geom" fails if 2 geom shapes have the same name); 2005-11-11 15:50:58 +00:00
asl
c819d8fdd3 PAL10125 - references isn't selected in mesh creation dialog 2005-11-11 11:58:16 +00:00
asl
2f652b3784 PAL9878 - selection lost after operation 2005-11-11 08:56:51 +00:00
asl
8db6ce0cb0 PAL9391 - remarks 2005-11-09 11:10:51 +00:00
asl
d696f7d582 check if module "GEOM" is found 2005-11-09 07:20:47 +00:00
asl
ab4288fb65 PAL10343 - it is impossible to select shape in "create mesh" dialog 2005-11-09 06:48:58 +00:00
eap
d5f8c39955 Fix bug 10390. fix getting submesh for a shell 2005-11-08 13:04:03 +00:00
asl
8b1761d4a6 PAL10100 - just computed mesh must be selected in VTK 2005-11-08 09:50:41 +00:00
eap
a2fe500c74 PAL10406. Enable myNodes when a pattern is loaded. UpdatePreview() when elements to refine are selected 2005-11-07 14:37:54 +00:00
eap
b992817854 PAL10158. Add clearMesh() 2005-11-07 14:34:13 +00:00
eap
7a320061b4 PAL10158. Add clearMesh() where call ComputeStateEngine(CLEANDEP) 2005-11-07 14:34:02 +00:00
asl
e292bda630 PAL5597 - export must appear in popup only for non-empty meshes 2005-11-07 08:24:51 +00:00
asl
2bb3ddd168 PAL10125 - different popup for object and reference to object 2005-11-07 07:26:06 +00:00
nds
81a502af84 Using files from package LightApp instead of files from package SalomeApp 2005-11-03 08:38:17 +00:00
nds
80b2ef84c3 Using files from package LightApp instead of SalomeApp 2005-11-03 08:37:36 +00:00
asl
d47d1f292b PAL10397 - Selection isn't cleared after apply 2005-11-02 07:26:40 +00:00
mzn
936be4abe3 Fix for bug IPAL10431 ( It is impossible create/edit mesh using GUI ). 2005-11-01 13:34:43 +00:00
eap
902a6da0b2 PAL10237. Add a button assigning a set of hypotheses 2005-11-01 10:28:04 +00:00
eap
12b34b1b56 PAL10237. Read HypothesesSet's 2005-11-01 10:14:10 +00:00
eap
60bdcf56b1 PAL10237. Add GetHypothesesSets() 2005-11-01 10:12:45 +00:00
eap
4faf049688 PAL10237. Add class HypothesesSet 2005-11-01 10:11:11 +00:00
eap
c00242c4f0 PAL10237. Add AutomaticLength 1D hypothesis 2005-11-01 10:10:14 +00:00
eap
1f81f404ba PAL10237. Add StdMeshers_AutomaticLength 1D hypothesis 2005-11-01 10:07:11 +00:00
eap
15549165c3 PAL10237. Add Mesh.AutomaticTetrahedralization() and Mesh.AutomaticHexahedralization() 2005-11-01 08:34:33 +00:00
mzn
cee115afad Icon for the volume control. 2005-10-28 11:56:18 +00:00
mzn
6719903275 Correct the scalar bar title for the volume control. 2005-10-27 14:19:54 +00:00
asl
1ca52d6d92 PAL10347 - can't create group on geometry 2005-10-27 08:09:13 +00:00
mzn
d1bef0cbc1 Fix for bug PAL10393 ( Set MED2.2 as the default version in the export to med dialog box ). 2005-10-25 08:54:19 +00:00
asl
b0105f0f9d PAL10332 - references are interpreted as original objects in filters, dialogs, etc. 2005-10-25 08:19:21 +00:00
skl
868e306e09 Improvement of extrusion functionality 2005-10-25 07:26:54 +00:00
jfa
9efbaa6f5e Fix for bug 9366: incorrect size of the 'Select color' buttons 2005-10-24 09:11:09 +00:00
jfa
5f6698232e PAL9997: Problem with ExportToMED if the file already exists 2005-10-24 08:05:15 +00:00
san
22f20048e0 Temporarily rolling back the last integration 2005-10-21 07:58:14 +00:00
skl
423f097f5e Inmprovement extrusion algorithm in MeshEditor 2005-10-21 07:44:17 +00:00
mzn
d03efc5f7a Fix for bug PAL10344. 2005-10-20 13:50:20 +00:00
mzn
2387bfa403 Movement of examples to CVS EXAMPLES SAMPLES_SRC. 2005-10-20 12:59:41 +00:00
mzn
5fec7e4eb7 Movement of examples to CVS EXAMPLES SAMPLES_SRC. 2005-10-19 14:01:04 +00:00
smh
5b66adc250 Preparation of 3.1.0a2: version ID. compilation with new HEAD and new MED (with polyhedres) 2005-10-18 14:52:45 +00:00
jfa
7cef40c6c1 Fix for bug PAL10314: Hang up on import 'essaiminimail.med' in SMESH 2005-10-18 09:25:02 +00:00
asl
8e26c31d5f PAL9881 - preferences are not taken into account in SMESH 2005-10-12 12:18:43 +00:00
asl
c06234a40f PAL10203 - dialog of triangle union wasn't updated after operation 2005-10-12 07:44:47 +00:00
mkr
309a73fb95 Modification to avoid compilation error : 'std::list' has not been declared. 2005-10-11 13:59:31 +00:00
eap
1bed3bf84e PAL10196. use renamed GetGroupNames()->GetGroupNamesAndTypes() of MED Driver 2005-10-11 13:41:57 +00:00
eap
87fd8ca50b PAL10196. Rename GetGroupNames() -> GetGroupNamesAndTypes(), add checkFamilyId() 2005-10-11 13:39:02 +00:00
eap
482a58db1b PAL10196. Make SetId() public 2005-10-11 13:35:18 +00:00
mkr
f87e54ae3a Modifications to avoid compilation errors with Qt and STL strings. 2005-10-11 10:58:59 +00:00
jfa
1d0ad233cf PAL10195: SALOME V2 study with a mesh leads to SIGSEGV of SALOME V3 2005-10-11 06:54:28 +00:00
eap
d89db6381d IMP 10199 (add Volume Control) 2005-10-10 15:12:42 +00:00
eap
81f4aba6d7 IMP 10199 (add Volume Control) 2005-10-10 14:51:36 +00:00
eap
5958c2aa89 IMP 10199 (add Volume Control). Add eVolume3D Control 2005-10-10 14:45:35 +00:00
eap
4f27e7392a IMP 10199 (add Volume Control). Add Volume3D NumericalFunctor. 2005-10-10 14:43:58 +00:00
eap
2875648bdb IMP 10199 (add Volume Control). Add Volume NumericalFunctor. 2005-10-10 14:40:28 +00:00
eap
52f87e4dea IMP 10199 (add Volume Control). Implement GetSize(). Add GetVolumeType() of instance 2005-10-10 14:38:24 +00:00
eap
365fd031c5 IMP 10199 (add Volume Control). Add GetVolumeType() of instance 2005-10-10 14:37:11 +00:00
jfa
90699a9eec PAL10195: SALOME V2 study with a mesh leads to SIGSEGV of SALOME V3 2005-10-10 10:00:24 +00:00
asl
6cbd23c4f4 PAL9881 - changing of selection of hilight preferences must occur immediate effect in VTK viewer 2005-10-07 06:44:04 +00:00
asl
ea1a40fff7 PAL9844 - selected edge must be unhilighted after apply 2005-10-07 05:15:29 +00:00
akk
62434e4dfd Back correct implementation. 2005-10-06 14:25:07 +00:00
akk
f4b3284931 Correction due to new inheritance of some interfaces from MED.idl 2005-10-06 14:14:59 +00:00
skl
e331ccd26c Modification some functionality for splitting assembly 2005-10-06 12:26:54 +00:00
skl
3f8c64cc43 Modification function HashCode() for correct work of DataMap 2005-10-05 13:27:49 +00:00
asl
544a24fb7f PAL9844 - SMESH: union of triangles - correction of common edge presentation 2005-10-05 07:43:58 +00:00
asl
63dec6763c All modules must use SVTK package instead VTK 2005-10-05 06:32:47 +00:00
jfa
7140a309e3 Only some code style changes 2005-10-04 07:58:26 +00:00
jfa
8ad9cef463 Fix crash after 'Belong to' filter creation if there are no mesh in the study 2005-10-04 07:35:48 +00:00
jfa
694e1d2360 Fix pb., appeared after wrong integration of 1.5 version: criteria are not saved 2005-10-04 07:29:19 +00:00
skl
56e741c0f7 Integration some new classes for working of core mesher 2005-10-04 06:04:02 +00:00
asl
bb608ced0c PAL10133 - Two "display" in popup 2005-10-04 05:36:09 +00:00
jfa
5aed93b518 Provide correct static variable <aFilterManager> management to avoid problems, appering if SMESHGUI is loaded from python script before module activation via GUI 2005-10-03 13:01:36 +00:00
jfa
b22f47d357 Improve NumberFilter: retrieve selected and main shape with the same instance of GEOM_Client() 2005-10-03 07:12:42 +00:00
asl
1dfdc856a7 PAL9963 - "Display", "Erase", "Display only" on mesh root object 2005-09-30 05:53:44 +00:00
asl
b4e0a04085 PAL9843 2005-09-29 08:19:07 +00:00
asl
94bdfc735c PAL9963 2005-09-29 07:00:14 +00:00
asl
40793ae45e PAL9391 2005-09-27 06:33:42 +00:00
skl
98fe24f8c9 Replaced NMTTools map with NCollection map for removing dependencies from GEOM module. 2005-09-26 12:26:52 +00:00
jfa
317741e60d Debug algorithms and hypotheses assignment 2005-09-26 11:11:52 +00:00
skl
05ae10badd Add interface for keeping information about performed operation of extrusion. 2005-09-26 07:03:47 +00:00
skl
ab6b16e673 Replaced NMTTools map with NCollection map for removing dependencies from GEOM module. 2005-09-26 07:01:06 +00:00
jfa
3e906035e4 Remove not used files 2005-09-22 14:34:08 +00:00
jfa
0d21bf88f5 Fix pb. with 'Belong to ...' filters creation 2005-09-15 13:39:48 +00:00
jfa
b8d6cdc9c9 Rool-back bad changes to the script 2005-09-13 11:31:52 +00:00
eap
c67bfdf8eb bug 8924. Restore lost modifications of 1.5 revision, remove commented code 2005-09-09 05:17:55 +00:00
eap
59ba8fec69 PAL9524. Fix type definition of references to hypo 2005-09-08 04:43:10 +00:00
eap
3291e2c4e1 PAL9874. Fix error in SMESH_HypoFilter::IsGlobalPredicate; add possibility to add all predicates in one statement. 2005-09-07 08:07:34 +00:00
mzn
287d1c4720 Fix for problem: Preferences-Mesh-General tab: Display modes ?Nodes? and ?Shrink? are permuted. 2005-09-07 06:22:45 +00:00
eap
f7a7942109 PAL9022. Improve methods binding nodes to shape, allow binding nodes to solid 2005-09-07 04:50:08 +00:00
eap
58187d6f68 PAL9022. Use improved SMESHDS_Mesh API methods, comment unused variables 2005-09-07 04:45:51 +00:00
eap
2ac338d578 PAL9022. Attach generated mesh elements to whatever meshed shape, SHELL or SOLID 2005-09-07 04:42:49 +00:00
mzn
f62232e212 Fix for the problem: it's impossible to modify element by typing it ID (without selection by mouse). 2005-09-02 08:32:03 +00:00
mzn
0e57fc7441 Fix for the problem: regression: SMESH ? remove nodes/elements manually. 2005-09-02 08:18:36 +00:00
mzn
fbaf4c789f Fix for the problem: VTK Viewer isn?t updated automatically after activation of any function from Control menu. 2005-09-01 10:15:35 +00:00
eap
c87dcc36c2 Bug PAL9480. Fix "import ex05_hole1build" 2005-09-01 09:59:58 +00:00
mzn
4d3a3d10b2 Fix for the problem: click "Apply" button unselects mesh. 2005-09-01 09:20:12 +00:00
szy
d9d247d43d Windows porting 2005-08-31 10:10:42 +00:00
szy
42c7eb97f9 Windows porting 2005-08-30 12:57:02 +00:00
mzn
1809a8e762 Preferences-Mesh-General tab: regressions and reorganization. 2005-08-30 10:04:41 +00:00
mzn
9d28d73b09 Fix for problem: SIGSEGV appears if to select group after opening "Edit Group" dialog box. 2005-08-29 08:05:24 +00:00
sln
c31ab40cc6 Cancel button renamed in Close and moved to the right position 2005-08-26 12:19:44 +00:00
sln
bd82c5b373 editMeshOrSubMesh method fixed for correct work with sub-meshes 2005-08-24 14:15:10 +00:00
srn
cb1e086726 Added a call to a method updateActions of SalomeApp_Application to update the status of the toolbal 2005-08-24 06:15:17 +00:00
sln
ee06fcf090 try/catch blocks added 2005-08-23 13:43:25 +00:00
sln
bbfbac1990 GetElementType method added 2005-08-23 08:58:58 +00:00
sln
aff71929ea New images and messages 2005-08-23 08:56:41 +00:00
sln
4e11a7dedb New fields red from xml file 2005-08-23 08:56:20 +00:00
sln
1f1c0e4dcb type method added 2005-08-23 08:55:53 +00:00
sln
3f8d4c84db Base class for all smesh operations that are working with selection 2005-08-23 08:55:09 +00:00
sln
ff3baa884d Base class for all smesh operations 2005-08-23 08:54:21 +00:00
sln
24d6fd82e6 Mesh redesine. Dialog and operation for creation and editing mesh and hypothesis 2005-08-23 08:53:35 +00:00
sln
f4cb697fcc Mesh redesine. New fields added to specify whether hypothesis is main or additional one and for storing information about dimensions supported by hypothesis 2005-08-23 08:52:20 +00:00
sln
0d232fb704 Base class for all smesh dialogs 2005-08-23 08:50:50 +00:00
sln
1b41044fbd New files for operation mechanism and mesh redesine 2005-08-23 08:49:36 +00:00
sln
6c91210caa Operation mechanism added. New operation for creation of mesh and hypothesis added (mesh redesine). 2005-08-23 08:47:31 +00:00
sln
ea3e3193e3 IsDimSupported method added 2005-08-23 08:44:44 +00:00
sln
20e4b250ef CreateStdHypothesisDlg dialog is modal now 2005-08-23 08:39:41 +00:00
sln
1bf6ddbe2f GetElementType method added 2005-08-23 08:38:33 +00:00
sln
ebc64f68bf IsDimSupported method added 2005-08-23 08:38:00 +00:00
mzn
970a19aa54 Fix for problem: Mesh - preferences: automatic update does not work. 2005-08-22 08:29:08 +00:00
asl
c8e2bd670e PAL9787 2005-08-19 04:44:59 +00:00
asl
e84f664198 PAL9785 2005-08-18 11:21:40 +00:00
mzn
ee2c380872 Fix for problem: empty root object in the Object Browser after trying to delete "Mesh" object. 2005-08-17 10:44:08 +00:00
asl
61be698c0d PAL8238 2005-08-16 12:45:13 +00:00
asl
8672ad3e76 PAL8238 2005-08-16 12:26:35 +00:00
asl
9ed19e02e9 new script for testing hypothesis "NbSegments" (PAL8238) 2005-08-16 12:25:45 +00:00
jfa
c9c6669fab Enable setting of Numeric Functors as criteria in Split Quadrangles and Union Triangles functionalities in GUI 2005-08-11 08:06:39 +00:00
jfa
aa376b221a Fix compilation warnings 2005-08-11 08:04:31 +00:00
jfa
60528ce326 Add in GUI control for merging equal elements 2005-08-09 11:31:29 +00:00
asv
b73a5f27ba Menu "Tools" is placed after other Mesh commands, before Preferences and Window menues. 2005-08-04 07:28:01 +00:00
enk
92ea065d97 Shrink factor incorrect default value:
Fixed.
2005-08-02 12:40:09 +00:00
enk
05fdecbb6a Added support for quality control (on polygons) - Aspect Ratio. 2005-08-02 11:13:18 +00:00
san
0e8797ab06 SALOME porting to OCCT 5.2.4 2005-07-28 15:10:06 +00:00
mzn
565bcbdce6 Fix for bug IPAL9621 ( 3.0.0(current2807): Regression: SMESH ? Engine error during import med file ). 2005-07-28 14:50:46 +00:00
mzn
ce575dc0b9 Fix for bug IPAL9582 ( 3.0.0: Crash after trying create elements of a mesh on non-existing nodes ). 2005-07-28 14:48:19 +00:00
mzn
8c7ffa49a6 Fix for bug ( IPAL9603 3.0.0(current2707): SMESH ? edit mesh does not work ). 2005-07-28 13:05:04 +00:00
mzn
8aa241cf5f Fis for bug ( 3.0.0(current2807): SMESH: selection is not removed after Apply in Union of triangles ). 2005-07-28 11:29:53 +00:00
mzn
324d596613 Fix for Bug IPAL9624 ( 3.0.0(current2807): SMESH: name of submesh and group ). 2005-07-28 11:03:00 +00:00
mzn
4d8ffa8fc3 Fix for Bug IPAL9416 ( 3.0.0(current3106): "Numbering" and "Display entity" have to be unavailable if the mesh wasn't displayed ). 2005-07-28 10:26:41 +00:00
mzn
895bdbf69e Fix for bug IPAL9570 ( 3.0.0: Fatal error during extrusion operation ). 2005-07-28 09:29:29 +00:00
mzn
c75bbbb996 Fix for bug IPAL9595 ( 3.0.0(current2707): SMESH - "Scalar Bar Properties" does not work and leads to Fatal error ). 2005-07-27 11:15:55 +00:00
asl
53e2da7a18 preferences of scalar bar is used only when scalar bar actor is created, but user can change scalar bar properties using dialog, as early 2005-07-25 06:50:07 +00:00
asl
e38e79d2e2 after preferences changing the application updates scalar bar properties for all actors 2005-07-25 04:37:30 +00:00
asl
f64560f2cb new method UpdateScalarBar() allows to update scalar bar properties without recreating the actor 2005-07-25 04:36:37 +00:00
asl
f5c5decc60 new preference: default display mode 2005-07-22 05:40:59 +00:00
asl
ea8f139297 new names of preferences 2005-07-22 03:26:27 +00:00
asl
eec3c1a499 *** empty log message *** 2005-07-22 03:25:55 +00:00
asl
59f97a60c5 The properties of scalar bar actor now are read from resource manager under correct names 2005-07-21 12:26:13 +00:00
asl
d9cc1f52dd new tab in preferences: "scalar bar" - with scalar bar properties 2005-07-21 12:05:17 +00:00
eap
8616118fe1 PAL9524 - unassign a hypothesis when Edit/Delete called for it 2005-07-21 05:54:47 +00:00
eap
c92f2b483c PAL9522 - do not abort on hypothesis assignation failure 2005-07-20 11:33:52 +00:00
srn
ecc072736c BugID: IPAL9380, modified methods Save and Load, replaced HDF_INT32 by HDF_STRING 2005-07-18 10:53:11 +00:00
eap
0dfcacb925 Move MEDWrapper to MED module 2005-07-13 11:20:18 +00:00
eap
3bd4631f8e Move MEDWrapper to MED module 2005-07-13 09:01:03 +00:00
eap
4498c53455 Move MEDWrapper to MED module 2005-07-11 11:33:00 +00:00
srn
49ff94d8fe IPAL BugID9380, modified method Save 2005-07-08 10:51:21 +00:00
eap
22fbc3c655 PAL9199. update mesh icon in Mesh.Compute() 2005-07-07 07:30:18 +00:00
eap
ad9d3ea3e7 PAL9199. add SetMeshIcon() 2005-07-07 07:28:57 +00:00
jfa
ed582bafc2 IPAL9381: replace import of smeshpy by import of smesh 2005-07-01 10:47:28 +00:00
mzn
b33324fe60 Fix for bug IPAL9258(/dn06/../current1706): SIGSEGV after trying to close dialog box after closing VTK viewer). 2005-07-01 10:42:32 +00:00
eap
c981fa08d9 bug 9352. correct getting mesh elements from COMPOUND, COMPSOLID, SOLID, SHELL and WIRE submeshes 2005-06-30 05:54:20 +00:00
eap
d4cdc63f90 PAL2967. Add Scale Factor parameter to Nb Of Segments hyp 2005-06-30 05:22:35 +00:00
mzn
53fd9e1ce5 Fix for bug IPAL9242(3.0.0: Activation of OCC viewer breaks current VTK viewer in Mesh). 2005-06-29 12:35:32 +00:00
mzn
576824da04 Correction. 2005-06-27 11:41:01 +00:00
stv
9a358116f4 Prefernces. 2005-06-27 11:29:58 +00:00
mzn
4401d3e8db To avoid exception, if the list of selected objects is empty. 2005-06-27 05:45:12 +00:00
mzn
964af78757 Remove debug information. 2005-06-27 05:10:17 +00:00
mzn
0e020f2e93 The selections of elements corrected. 2005-06-24 13:54:25 +00:00
mzn
81248260b7 The selections of elements corrected. 2005-06-24 12:42:50 +00:00
mzn
783b5a717c The selections of elements corrected. 2005-06-24 12:24:06 +00:00
eap
255ab4e2ee PAL8196. Do not operate with hypothesis for a geom group member which is not a sub-shape of the main shape 2005-06-24 11:09:36 +00:00
eap
72b3cba035 PAL8196. Fix GetAlgo() for the case with the same algo on several ancestors 2005-06-24 11:01:15 +00:00
mzn
65854639b9 Corection. 2005-06-24 07:43:34 +00:00
enk
8d1d443243 Fixes for:
- Bug IPAL8767: Polyhedron created on nodes is invisible
- Id of the first node/face should be appeared in the field right after selection
- Preview of faces by nodes for polyhedron doesn’t disappear after removing it from list in the "Create Polyhedral Volume" dialog box.
- Preview of polyhedron doesn’t disappear after removing a face from list in the "Create Polyhedral Volume" dialog box.
2005-06-24 06:21:49 +00:00
eap
d72c027376 bug 9264. enable reading plugins xml files 2005-06-23 13:16:42 +00:00
mzn
bcbf3a1093 Fix for bug IPAL9248(3.0.0: SIGSEGV after calling operation with group if OCC Viewer activate). 2005-06-23 08:58:59 +00:00
srn
b2833ae90e BugID: IPAL9186, Modified method Init. Added a loading SMESHGUI if it hasn't been loaded. 2005-06-22 11:27:49 +00:00
eap
175d68ca68 bug 9153. fix "paramTeric" 2005-06-22 10:01:38 +00:00
eap
ee5389fdee bug 9265. add SMESH_ID_FACES 2005-06-22 09:48:30 +00:00
enk
2f3d56c7ab Fix Bug IPAL9152
3.0.0(09 Jun): "Add Polygon" and "Add Polyhedron" buttons miss in the "Add/Remove" toolbar.
2005-06-22 09:17:04 +00:00
enk
82d43d0f5d Fix Bug IPAL8770: There is no any warning message if to export polygonal elements into MED 2.1 file. 2005-06-22 06:45:14 +00:00
stv
b4b3d57776 Fix for IPAL9275 2005-06-21 12:17:08 +00:00
srn
8090525b47 BugID IPAL9186: Modified method GetSMESHGen 2005-06-21 06:09:10 +00:00
stv
b5d02b8684 Fixes for compilation errors. 2005-06-17 07:36:54 +00:00
asl
734442f549 *** empty log message *** 2005-06-17 07:15:14 +00:00
asl
3c9eecb29e Bug 9189:
On any action in SMESH there is update of OB
The update is occured only by actions whose need it
2005-06-17 06:28:52 +00:00
asl
656c73ce33 Bug 9193:
Only nodes mode in "Display mode" popup in SMESH
2005-06-17 04:57:03 +00:00
asl
f44f3fbf0b IPAL9193 (Jun 16) 2005-06-16 11:04:03 +00:00
asl
cf0ecc3c36 Start "Create group" with selected GEOM object occurs crash 2005-06-16 10:25:13 +00:00