Commit Graph

1283 Commits

Author SHA1 Message Date
eap
2be2076415 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements
fix python dump and check of group type
2010-11-30 16:59:43 +00:00
eap
795b58c106 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements
dump SMESH_IDSource made by SMESH_MeshEditor::MakeIDSource() as mesh.GetIDSource()
2010-11-30 16:58:49 +00:00
eap
9e91777707 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements
wrap CopyMesh()
2010-11-30 16:57:18 +00:00
eap
813ff2ee4a 0020918: EDF 1447 SMESH: Mesh common borders
improve code readability
2010-11-30 15:26:42 +00:00
eap
57dc31db42 0020918: EDF 1447 SMESH: Mesh common borders
avoid leaving nodes in two sub-meshes at the same time
2010-11-30 15:25:41 +00:00
eap
dcd45204f2 0020918: EDF 1447 SMESH: Mesh common borders
fix event management
2010-11-30 15:24:11 +00:00
eap
48f2666c4d 0020918: EDF 1447 SMESH: Mesh common borders
In Clear()
+    sm->ComputeSubMeshStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
+    sm->ComputeSubMeshStateEngine( SMESH_subMesh::CLEAN );
2010-11-30 15:19:55 +00:00
eap
c436aeb8a5 0020918: EDF 1447 SMESH: Mesh common borders
In CheckComputeError()

-      _computeState = COMPUTE_OK;
+      _computeState = IsMeshComputed() ? COMPUTE_OK : FAILED_TO_COMPUTE;
2010-11-30 15:18:30 +00:00
eap
38c52f0596 0020918: EDF 1447 SMESH: Mesh common borders
Make ComputeSubMeshStateEngine(int event) public
2010-11-30 15:16:30 +00:00
eap
f9d091649a 1) add samples for filters FT_BareBorderFace, FT_CoplanarFaces,
FT_OverConstrainedFace, FT_BareBorderVolume, FT_OverConstrainedVolume
2) fix some errors
2010-11-30 13:13:56 +00:00
eap
9f639e1825 compilation warning 2010-11-30 13:12:06 +00:00
eap
6a8deb485f Add Tolerance arg to GetCriterion(), GetFilter() and MakeGroup()
0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements
+    def CopyMesh( self, meshPart, meshName, toCopyGroups=False, toKeepIDs=False)
2010-11-30 10:43:15 +00:00
eap
7c4f753517 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements
make AddElement() create SMDSAbs_Node element as well
2010-11-30 10:41:04 +00:00
eap
6498f37c2b 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements 2010-11-30 10:39:11 +00:00
eap
3096113268 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements
+    SMESH_Mesh CopyMesh(in SMESH_IDSource meshPart,
+                        in string         meshName,
+                        in boolean        toCopyGroups,
+                        in boolean        toKeepIDs)
2010-11-30 10:38:18 +00:00
eap
cce300634f 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements
Add a new object type:

+  IDSOURCE
2010-11-30 10:37:24 +00:00
eap
e9186ac5d8 restore modifications discarded by the last commit 2010-11-30 08:19:02 +00:00
eap
95825b6266 avoid exception in Mesh_Algorithm.Hypothesis() for mesh w/o shape
0020748: EDF 1278 NETGENPLUGIN : Add Gradation in Netgen 2D hypothesis
  Make "Netgen 2D/3D Parameters" hypothesis compatible with
  Tetrahedron(Netgen) and Netgen 2D algorithms
2010-11-25 09:37:33 +00:00
rnv
875fe6cc6d 0020948: EDF 1468 SMESH: Histogram of the quality controls:
Small fix: Call SetMaximumNumberOfColors(...) method of the SMESH_ScalarBarActor
2010-11-24 10:49:59 +00:00
eap
576f56ddf8 0020948]: EDF 1468 SMESH: Histogram of the quality controls
Take into account the range of values of histogram
2010-11-22 17:49:43 +00:00
eap
938bc72f7a 0020948]: EDF 1468 SMESH: Histogram of the quality controls
Add arg to limit range of values
       void GetHistogram(int                   nbIntervals,
                         std::vector<int>&     nbEvents,
                         std::vector<double>&    funValues,
                         const std::vector<int>& elements,
+                        const double*           minmax=0);
2010-11-22 17:48:38 +00:00
rnv
16a840f9c1 Update documentation according to the issue "20948: EDF 1468 SMESH: Histogram of the quality controls" 2010-11-22 11:44:39 +00:00
eap
9dd24d46bc 0020944: EDF 1464 SMESH: detection of over-constrained elements
+	over_constrained_volume.png \
+	over_constrained_face.png \
2010-11-19 16:47:32 +00:00
eap
022f918412 0020944: EDF 1464 SMESH: detection of over-constrained elements
+    FT_OverConstrainedVolume,
+    FT_OverConstrainedFace,
+    class  OverConstrainedVolume: public Predicate
+    class  OverConstrainedFace: public Predicate
2010-11-19 16:47:06 +00:00
eap
1a692fd690 0020948: EDF 1468 SMESH: Histogram of the quality controls
limit computed histogram to a submesh

0020944: EDF 1464 SMESH: detection of over-constrained elements
+    class  OverConstrainedVolume: public Predicate
+    class  OverConstrainedFace: public Predicate
2010-11-19 16:30:10 +00:00
eap
d1f7988fbd 0020948: EDF 1468 SMESH: Histogram of the quality controls
move updating distrubution of scalar bar to SMESH_Actor::UpdateDistribution()

0020944: EDF 1464 SMESH: detection of over-constrained elements
+    class  OverConstrainedVolume: public Predicate
+    class  OverConstrainedFace: public Predicate
2010-11-19 16:28:39 +00:00
eap
8ff7c21dc6 0020948: EDF 1468 SMESH: Histogram of the quality controls
move updating distrubution of scalar bar to SMESH_Actor::UpdateDistribution()
+  virtual void SMESH_Actor::UpdateDistribution() = 0;

0020944: EDF 1464 SMESH: detection of over-constrained elements
+    class  OverConstrainedVolume: public Predicate
+    class  OverConstrainedFace: public Predicate
2010-11-19 16:26:16 +00:00
eap
ebe0faaad0 0020948: EDF 1468 SMESH: Histogram of the quality controls
+  virtual void SMESH_Actor::UpdateDistribution() = 0;

0020944: EDF 1464 SMESH: detection of over-constrained elements
+    class  OverConstrainedVolume: public Predicate
+    class  OverConstrainedFace: public Predicate
2010-11-19 16:24:47 +00:00
eap
cddf6847bc 0020948: EDF 1468 SMESH: Histogram of the quality controls
limit computed histogram to a submesh

0020944: EDF 1464 SMESH: detection of over-constrained elements
+    class  OverConstrainedVolume: public Predicate
+    class  OverConstrainedFace: public Predicate
2010-11-19 16:22:49 +00:00
ptv
1ad6590ec1 0020830: EDF 1357 GUI : Hide/Show Icon 2010-11-17 08:47:59 +00:00
eap
3b2ddf07cc 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
+    class BareBorderVolume: public Predicate
+    class BareBorderFace: public Predicate
2010-11-15 11:51:29 +00:00
eap
8a18df0d9a 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
+    class BareBorderVolume: public Predicate
+    class BareBorderFace: public Predicate
2010-11-15 10:58:38 +00:00
eap
92f6294479 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
+    class SMESHCONTROLS_EXPORT BareBorderVolume: public Predicate
+    class SMESHCONTROLS_EXPORT BareBorderFace: public Predicate
2010-11-15 10:57:23 +00:00
eap
d94954d46e untabify 2010-11-15 10:54:52 +00:00
rnv
80ccf6a58d Implementation point 1 of the "20948: EDF 1468 SMESH: Histogram of the quality controls" feature. 2010-11-13 11:14:11 +00:00
eap
7fbe94d5b4 0020973: EDF 1554 GHS3DPLUGIN: Make possible to have a mixed mesh hexa-tetra with GHS3D
re-check adjacent pyramids after fixing intersection with non-adjacent one
2010-11-13 08:59:22 +00:00
eap
b812db1dd3 0020973: EDF 1554 GHS3DPLUGIN: Make possible to have a mixed mesh hexa-tetra with GHS3D
+  int TotalNbOfTriangles() const { return myNbTriangles; }
+  TopoDS_Shape GetShape() const { return myShape; }
2010-11-13 08:54:52 +00:00
eap
32e5f26956 0020918: EDF 1447 SMESH: Mesh common borders
correct detection of Import algo removal
2010-11-13 07:02:35 +00:00
eap
739be56dc1 0020918: EDF 1447 SMESH: Mesh common borders
remove debug output
2010-11-12 16:00:14 +00:00
eap
441c471028 0020918: EDF 1447 SMESH: Mesh common borders
+    <hypothesis type="ImportSource2D"
+    <hypothesis type="ImportSource1D"
+    <algorithm type="Import_1D"
+    <algorithm type="Import_1D2D"
2010-11-12 15:07:34 +00:00
eap
c6927367c2 rm obsolete commented code 2010-11-12 15:05:29 +00:00
eap
57d0f30b60 0020918: EDF 1447 SMESH: Mesh common borders
+  interface StdMeshers_ImportSource1D : SMESH::SMESH_Hypothesis
+  interface StdMeshers_ImportSource2D : SMESH::SMESH_Hypothesis
+  interface StdMeshers_Import_1D2D : SMESH::SMESH_2D_Algo
+  interface StdMeshers_Import_1D : SMESH::SMESH_1D_Algo
2010-11-12 15:04:31 +00:00
eap
7000823893 0020918: EDF 1447 SMESH: Mesh common borders
+    def UseExisting1DElements(self, geom=0):
+    def UseExisting2DElements(self, geom=0):
2010-11-12 15:03:15 +00:00
eap
ba115b7fa9 0020918: EDF 1447 SMESH: Mesh common borders
+	StdMeshers_ImportSource1D_i.cxx
+	StdMeshers_ImportSource2D_i.cxx
2010-11-12 15:02:15 +00:00
eap
38440ad0a9 0020918: EDF 1447 SMESH: Mesh common borders
Add possibility of selecting many objects
2010-11-12 15:00:50 +00:00
eap
0999093460 0020918: EDF 1447 SMESH: Mesh common borders
+	StdMeshers_ImportSource1D_i.cxx \
+	StdMeshers_ImportSource2D_i.cxx \
+	StdMeshers_Import_1D_i.cxx \
+	StdMeshers_Import_1D2D_i.cxx
2010-11-12 15:00:12 +00:00
eap
9245ef5923 -// $Header: 2010-11-12 15:00:02 +00:00
eap
e1655668ae 0020918: EDF 1447 SMESH: Mesh common borders 2010-11-12 14:55:58 +00:00
eap
c613a3b5c2 untabify 2010-11-12 14:54:49 +00:00
eap
8d44be39e6 0020918: EDF 1447 SMESH: Mesh common borders
1) Remove from the study groups removed by hypotheses events (maybe in other mesh)
2) PyDump groups created by Compute()
2010-11-12 14:52:41 +00:00