Commit Graph

1559 Commits

Author SHA1 Message Date
eap
2c766c3b15 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+	StdMeshers_CartesianParameters3D.hxx \
+	StdMeshers_Cartesian_3D.hxx
2011-10-28 12:53:31 +00:00
eap
1eedac41d2 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
1) 1st version of "body fitting parameters" - to be improved
  2)
+    def BodyFitted(self, geom=0):
+        return Mesh_Cartesian_3D(self,  geom)
2011-10-28 12:52:43 +00:00
eap
edba852a43 + operator<<(const SMESH::string_array& theArg); 2011-10-28 12:51:17 +00:00
eap
66bf37ad1a untabify 2011-10-28 12:50:34 +00:00
eap
72f74a3ee1 + bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const; 2011-10-28 12:49:19 +00:00
eap
41d7b89b3b 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
1) catch SMESH_ComputeError thrown by algo->Compute()
2)
+  SMESH_Algo* GetAlgo() const;
2011-10-28 12:48:56 +00:00
eap
07f1cc8292 speed up NotifySubMeshesHypothesisModification()
+  if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+    return;
2011-10-28 12:47:11 +00:00
eap
577f41d12d improve comment 2011-10-28 12:46:32 +00:00
eap
7dc21166b6 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+    <hypothesis type="CartesianParameters3D"
+                label-id="Body Fitting Parameters"
+                icon-id="mesh_hypo_length.png"
+                dim="3"/>
+

+    <algorithm type="Cartesian_3D"
+               label-id="Body Fitting"
+               icon-id="mesh_algo_hexa.png"
+               hypos="CartesianParameters3D"
+               support-submeshes="false"
+               dim="3"/>
2011-10-28 12:30:20 +00:00
eap
e53afe57b7 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  interface StdMeshers_CartesianParameters3D : SMESH::SMESH_Hypothesis
+  interface StdMeshers_Cartesian_3D : SMESH::SMESH_3D_Algo
2011-10-28 12:29:43 +00:00
vsr
b6174726d9 Merge from V6_3_BR branch (Windows porting) 27/10/2011 2011-10-27 15:33:35 +00:00
boulant
1d2d4e6bdc IMP: add a guihelper.py module in SMESH_PY (package salome.smesh) for managing the selection of mesh objects in the object browser. 2011-10-27 13:45:47 +00:00
vsr
c17a5bee7b 0021410: EDF 2007 SMESH: Problem with the formula of aspect ratio 3D 2011-10-26 11:51:35 +00:00
eap
0ee1eb8432 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
SetMesh() to the filter and not to the predicate
2011-10-24 13:13:13 +00:00
eap
8801aa27ed in PublishGroup(), for the standalone groups, set full ot empty icon
depending on availability of elements of type of the group in the mesh
2011-10-24 13:12:22 +00:00
eap
5dda5df854 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
fix filter processing
2011-10-24 13:10:19 +00:00
eap
bbb7b25fa6 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 13:09:27 +00:00
eap
dee52cd346 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 11:57:06 +00:00
eap
fb68cb5a3d 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Pass the mesh of filter to predicate at setting a mesh and a
      predicate to avoid dump of predicate commands when a group is
      created from GUI
2011-10-24 11:56:13 +00:00
prascle
0cc83ae5e2 PR: compilation on KUbuntu 11.10 2011-10-23 11:10:05 +00:00
eap
1c3b8d413b 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
In CleanDependants(), do not call ComputeStateEngine(CLEAN) of a
dependant subMesh if it IsEmpty() in order to prevent infinite CLEAN
via event lesteners
2011-10-17 09:59:32 +00:00
vsr
26bfcad40a 0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM
Avoid endless recursing in FindCoincidentNodes() function (causing crash)
2011-10-14 15:09:47 +00:00
eap
4df44f5a1e Fix a bug reported to SALOME Forum http://www.salome-platform.org/forum/forum_10/372035859
-      if ( helper.IsSubShape( *e, F ) && BRep_Tool::Curve( *e, loc,f,l))
+      if ( helper.IsSubShape( *e, F ) && !BRep_Tool::Curve( *e, loc,f,l).IsNull() )
2011-10-13 13:08:51 +00:00
eap
f95be2abe0 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells
Forbid 3D mesh on the SHELL
2011-10-13 06:35:00 +00:00
eap
cf76763e47 remove excess includes 2011-10-13 06:08:37 +00:00
eap
bb2db66613 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
fix for projection of a group
2011-10-13 05:35:12 +00:00
eap
669d7d6d0f 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm 2011-10-13 05:35:11 +00:00
eap
9091ead47e use helper.GetCommonAncestor() 2011-10-13 05:34:25 +00:00
eap
5036f6282e 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
/*!
+   * \brief Return nodes in the order they encounter while walking along the side.
+    * For a closed side, the 1st point repeats at end
+   */
+  std::vector<const SMDS_MeshNode*> GetOrderedNodes() const;
2011-10-13 05:31:21 +00:00
eap
678e9eaa31 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
+    def Projection1D2D(self, geom=0):
+        return Mesh_Projection2D(self,  geom, "Projection_1D2D")
2011-10-13 05:28:51 +00:00
eap
ce1fe98019 fix a comment 2011-10-13 05:28:23 +00:00
eap
9484b374c3 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
+  static TopoDS_Shape GetCommonAncestor(const TopoDS_Shape& shape1,
+                                        const TopoDS_Shape& shape2,
+                                        const SMESH_Mesh&   mesh,
+                                        TopAbs_ShapeEnum    ancestorType);

+  std::pair<int, TopAbs_ShapeEnum> GetMediumPos(const SMDS_MeshNode* n1,
+                                                const SMDS_MeshNode* n2);
2011-10-13 05:27:59 +00:00
eap
fb7637f099 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
set a more human readable name to the filter
2011-10-12 18:06:28 +00:00
eap
7133933036 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
use tolerance computed basing on min linear size of elements to import
2011-10-07 11:36:22 +00:00
eap
1064303dd1 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
in _Listener::ProcessEvent(), clear n2n and e2e maps at CLEAN event
2011-10-07 11:35:39 +00:00
eap
bf2f45b258 fix Mesh_UseExistingElements.SourceEdges() 2011-10-06 16:02:40 +00:00
eap
eaff026082 0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadratic conversion with nodes on geometry
In FixQuadraticElements(), enhance detection of straight links
2011-10-06 16:01:08 +00:00
eap
1d668d5560 0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadratic conversion with nodes on geometry
+  double MinLinearSize2() const;
+  // Return minimal square distance between connected corner nodes
2011-10-06 15:59:05 +00:00
eap
bc5760bd4e untabify 2011-10-06 12:10:14 +00:00
eap
e30e0260ae 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
Redesign to work with composite cube edges

0021369: EDF SMESH: Meshing of a cube in hexas fails
    fix defining orientation of a side in case of reversed wire
2011-10-06 09:46:34 +00:00
eap
1f44408d18 untabify 2011-10-06 09:43:59 +00:00
eap
59786ee5ea 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
+  const std::vector<TopoDS_Edge>& Edges() const { return myEdge; }
2011-10-06 09:43:30 +00:00
eap
9ff48e7e76 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
Redesign LoadNodeColumns() to work with a composite base side
2011-10-06 09:42:51 +00:00
eap
d36c35f9a2 fix comment 2011-10-06 09:39:29 +00:00
vsr
eab28bb62c 0021275: EDF 1681 SMESH: Find the number of nodes of any group
Additional changes: update doc images
2011-10-05 10:22:15 +00:00
vsr
48de302f98 0021359: [CEA] Mesh information
Additional minor changes: update doc snapshots
2011-10-05 08:40:53 +00:00
vsr
6dce27e43b 0021359: [CEA] Mesh information
Additional minor changes: fix bad layout; fix wrong statement
2011-10-05 08:39:05 +00:00
gdd
2dbfdb63ff Additional information:
Number of underlying nodes => Underlying nodes
2011-10-05 08:37:54 +00:00
gdd
23a8638194 Additional information:
Number of nodes => Number of underlying nodes
2011-10-05 08:28:05 +00:00
eap
f734fda203 0020716: EDF 1229 SMESH : Improvement of reversed edges dialog box
+def FirstVertexOnCurve(edge):
+    def ReversedEdgeIndices(self, reverseList):
2011-10-05 08:15:51 +00:00