Commit Graph

112 Commits

Author SHA1 Message Date
eap
5d0bbd1e42 set mesh to filter in all methods creating filters 2010-10-14 12:34:18 +00:00
eap
36af430a9d GetNodesId()0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
+    FT_CoplanarFaces,
2010-10-14 11:09:48 +00:00
eap
5c7ff1a389 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
fix FindCoincidentNodesOnPart()
2010-10-13 12:03:56 +00:00
eap
68f20ecf75 0020749: EDF 1291 SMESH : Create 2D Mesh from 2D improvement
+    SMESH::SMESH_Mesh MakeBoundaryMesh(in SMESH_IDSource elements,
+                                       in Bnd_Dimension  dimension,
+                                       in string         groupName,
+                                       in string         meshName,
+                                       in boolean        toCopyElements,
+                                       in boolean        toCopyExistingBondary,
+                                       out SMESH_Group   group);
2010-10-06 07:31:38 +00:00
eap
61e5c761ce 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode
* Add Hex_24Tet splitting mode
2010-10-04 11:29:01 +00:00
eap
ea89003dc2 - theObject = self.editor.MakeIDSource(theObject)
+            theObject = self.editor.MakeIDSource(theObject, SMESH.ALL)
2010-10-01 12:44:05 +00:00
eap
dcf75abef1 improve comment for Scale 2010-10-01 07:29:53 +00:00
gdd
195a4bb6ec RNC: Completed the documentation of GetElementsByType with the values taken by ElementType 2010-09-28 08:06:46 +00:00
gdd
4de666ddfa RNC: Fixed documentation of SetGeometricMesh
Parameter theGeometricMesh takes the value 0 or 1
2010-09-27 09:35:03 +00:00
gdd
5fbfcdf41e GDD:
- fix documentation of ConvertToQuadratic (inform about theForce3d parameter)
- New function PrintDoubleValue added in PluginUtils
2010-09-21 13:48:27 +00:00
eap
893497d10a 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
Add an argument to DoubleNodeXXX() creating groups
2010-09-15 13:25:06 +00:00
eap
ddff0c0a7e 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
No need in new commands in smeshDC.py, so DoubleNodeXXXNew() is replaced by DoubleNodeXXX()
2010-09-15 12:46:19 +00:00
eap
ca0696b420 0020746: EDF 1274 SMESH : MergeAllNodesButNodesFromGroup feature
## Finds groups of ajacent nodes within Tolerance.
     #  @param Tolerance the value of tolerance
     #  @param SubMeshOrGroup SubMesh or Group
+    #  @param exceptNodes list of either SubMeshes, Groups or node IDs to exclude from search
     #  @return the list of groups of nodes
     #  @ingroup l2_modif_trsf
-    def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance):
+    def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance, exceptNodes=[]):
2010-09-15 12:09:30 +00:00
mzn
cc203f62c3 Fix for imp 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI. 2010-08-30 10:57:47 +00:00
vsr
9a0bd14a2c Issue: 0020935: A group created with a type of element criteria is empty
- Fix some filters bugs in Python API
2010-08-25 10:17:27 +00:00
eap
99da90c8d2 -theFileName = thePath + "/Shapes/Brep/slots.brep"
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")
2010-08-13 12:56:44 +00:00
vsr
32a86c1f4a 0020742: EDF 1270 SMESH : Delete Group with contents and remove Orphan Nodes 2010-07-07 05:32:15 +00:00
dmv
e3ffb861ce IPAL21831 Can't load the Python dump after Export to MED 2010-06-30 11:40:12 +00:00
vsr
6ea1e8f320 Merge from V5_1_4_BR (5_1_4rc2) 09/06/2010 2010-06-10 06:51:07 +00:00
eap
0611264223 0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
## Computes the mesh and returns the status of the computation
+    #  @param discardModifs if True and the mesh has been edited since
+    #         a last total re-compute and that may prevent successful partial re-compute,
+    #         then the mesh is cleaned before Compute()
     #  @return True or False
     #  @ingroup l2_construct
-    def Compute(self, geom=0):
+    def Compute(self, geom=0, discardModifs=False):
2010-05-13 06:24:13 +00:00
vsr
6650dea1f8 Merge from V5_1_4_BR 07/05/2010 2010-05-07 15:08:23 +00:00
eap
a232cd7e03 0020672: EDF 1243 SMESH : Be able to transform mixed mesh
+    void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)
2010-03-30 12:38:16 +00:00
dmv
2f541de569 0020727: EDF 1276 SMESH : add a Method RadialQuadrangle to the Mesh class in smeshDC.py 2010-03-15 13:56:52 +00:00
eap
a59cbfc28e Add a function to know kind of mesh element
+    EntityType GetElementGeomType( in long id )
2010-03-04 08:08:21 +00:00
skl
0af7b3cb3d Changes for bug 0020671. 2010-03-03 07:23:24 +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
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
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
dmv
4bb95af61f 0020702: [CEA] Problem with Segment function of SMESH module 2010-02-15 09:35:36 +00:00
vsr
8321c7460e Issue 0020701: EDF SMESH : GetName Method of smeshDC.py 2010-02-12 06:07:26 +00:00
maintenance team
8abff026bc import salome 2010-02-08 10:28:23 +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
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
maintenance team
909e9e40a7 *** empty log message *** 2010-01-21 09:18:32 +00:00
ouv
6c4be33671 Issue 0020514: EDF 1110 SMESH : Export many meshes in one Med File 2010-01-11 07:17:11 +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
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
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
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
f314777950 correct previous integration (Porting to Python 2.6) 2009-10-12 13:47:12 +00:00
dmv
30310d58ad Porting to Python 2.6 - add coding page specification for Python scripts 2009-10-09 13:27:53 +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
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
skl
3add66f219 Integration improvements 0020310 and 0020431. 2009-08-27 07:26:22 +00:00
dmv
df30a6d6f6 IPAL21303 ex15_cyl2geometry: mesh computation failed 2009-08-25 13:14:23 +00:00