Commit Graph

66 Commits

Author SHA1 Message Date
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
jfa
b8d6cdc9c9 Rool-back bad changes to the script 2005-09-13 11:31:52 +00:00
eap
c87dcc36c2 Bug PAL9480. Fix "import ex05_hole1build" 2005-09-01 09:59:58 +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
eap
22fbc3c655 PAL9199. update mesh icon in Mesh.Compute() 2005-07-07 07:30:18 +00:00
jfa
ed582bafc2 IPAL9381: replace import of smeshpy by import of smesh 2005-07-01 10:47:28 +00:00
eap
f2af320581 PAL9022. enable creation of groups on SHELLs 2005-06-09 07:06:34 +00:00
smh
c38c10811a SMH: Preparation version 3.0.0 - merge (HEAD+POLYWORK) 2005-06-07 13:22:20 +00:00
jfa
5ec1fbd250 PAL8626: do not publish GEOM object, already present in the study. 2005-04-25 06:07:27 +00:00
jfa
f7d300b0be PAL8378: update script ex00_all.py to run also tests, which now do not fail 2005-04-21 12:54:19 +00:00
jfa
85f8b0f449 PAL8616: the function Group should allow geometric shapes 2005-04-15 09:08:52 +00:00
jfa
22496e8ddc New updated and tested smesh.py with some examples. Provided by FKL. 2005-03-21 08:38:22 +00:00
akk
3783955355 Scripts renaming. 2005-03-10 06:30:56 +00:00
akk
c441817b41 PAL8375 improvement solving. 2005-03-09 15:09:14 +00:00
akk
e4be7441d2 PAL8319 improvement solving. 2005-03-09 13:05:16 +00:00
vsr
b85751e356 Fix a bug - salome.py is not imported here and this causes run-time Python exception 2005-02-21 06:05:00 +00:00