Commit Graph

82 Commits

Author SHA1 Message Date
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
ptv
79c00fe8dd 0020095: EDF 896 SMESH : Advanced Mesh info on a group 2009-08-21 05:41:59 +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
maintenance team
e0f4c9a46e update SMESH_test comment i3 2009-07-27 12:03:16 +00:00
jfa
4592fecfcf IMP 0020089: Take into account 0D elements (MED_POINT1) 2009-07-16 13:33:03 +00:00
eap
67b7121966 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
add reversedEdges parameter
2009-07-15 13:43:06 +00:00
vsr
686a864564 Merge from V5_1_2_BR branch (14 July 2009) 2009-07-15 08:11:22 +00:00
skl
bb0c89d5a8 Implememtation of evaluation for improvement 0019296. 2009-06-29 13:26:16 +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
skl
34fb01e7b5 Implementation of new version ExtrusionAlongPath (20003 from Mantis). 2009-06-10 07:09:15 +00:00
dmv
bd5c3ea6d2 0020373: MakeMultiTransformation1D failed on maintenances branch (V4 and V5) 2009-05-27 14:34:10 +00:00
vsr
efc89ab066 0020362: EDF SMESH: Smesh commands always generate print logs 2009-05-21 11:11:41 +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
maintenance team
88eccafce6 Update according to change of boolean operation. 2009-05-19 10:18:06 +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
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
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
eap
d9a6e9d9f3 fix bug 12361. In SetName(): there may be no study 2006-05-10 12:54:55 +00:00
jfa
57b43b4d01 Join modifications from branch OCC_debug_for_3_2_0b1 2006-05-06 08:51:48 +00:00
jfa
4ff5bd6154 Join modifications from branch OCC_development_for_3_2_0a2 2006-03-13 15:29:49 +00:00
jfa
6b471bcc54 Join modifications from branch BR_3_1_0deb 2005-12-28 09:17:39 +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
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
4d423efd78 PAL8238 - Hypothesis for non-regular 1D meshing 2005-11-23 09:27:11 +00:00
eap
15549165c3 PAL10237. Add Mesh.AutomaticTetrahedralization() and Mesh.AutomaticHexahedralization() 2005-11-01 08:34:33 +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