Commit Graph

268 Commits

Author SHA1 Message Date
eap
9ab3722c1b 22487: EDF 2778 SMESH: Add a GUI for the flat elements generation 2014-03-19 18:29:49 +04:00
eap
e8af590068 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
pass toCheckAll=true to IsApplicable() only if a shape is geom group
2014-03-12 15:12:59 +04:00
eap
395112afac 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
1) Some fixes
  2) pass toCheckAll=true to IsApplicable() only if a shape is geom group
2014-03-11 19:46:54 +04:00
eap
97787812e2 ILMAB: export GEOM fields to MED file 2014-03-05 17:42:42 +04:00
eap
59e80d2f88 022500: [CEA 1077] 'GetLibName' not found 2014-03-05 17:05:14 +04:00
imn
e26ffcc005 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
0022365: EDF SMESH: Create Mesh dialog box improvement: hide algorithms depending on a mesh type
2014-02-28 18:58:28 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
86aa8ad014 22359: Body Fitting algorithm: grid orientation 2014-02-14 16:09:40 +04:00
ctn
b212155cea 0022481: EDF 2559 SMESH: Is GetGroups list sorted?
=> update of the doc
2014-02-05 12:03:58 +00:00
eap
fce720f2d2 22465: [CEA] sometimes isinstance(m, Mesh) returns False for Mesh objects // PPGP pb
class MeshMeta(type):
    def __instancecheck__(cls, inst):
        """Implement isinstance(inst, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {type(inst), inst.__class__})

    def __subclasscheck__(cls, sub):
        """Implement issubclass(sub, cls)."""
        return type.__subclasscheck__(cls, sub) or (cls.__name__ == sub.__name__ and cls.__module__ == sub.__module__)

...

class Mesh:
    __metaclass__ = MeshMeta

...
2014-02-05 08:08:10 +00:00
eap
cc9e7d5442 22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing 2014-02-04 15:51:49 +00:00
eap
cd3ffac3fa 22359: Body Fitting algorithm: grid orientation
22358: Body Fitting algorithm: origin point of grid defined by spacing
2014-02-04 13:02:26 +00:00
eap
c94d606fe3 22316: EDF 2719 SMESH: Split hexas into prisms
Make Python API be equal to IDL API
2014-01-21 16:37:16 +00:00
eap
67dba15dfd 22244: [CEA] Method to compute the normal to a mesh face
-    double_array GetFaceNormal(in long faceId);
+    double_array GetFaceNormal(in long faceId, in boolean normalized);
2014-01-20 17:42:20 +00:00
eap
f500e5a8b6 22316: EDF 2719 SMESH: Split hexas into prisms 2014-01-20 10:31:23 +00:00
vsr
f7aba4830d Merge from BR_imps_2013 14/01/2014 2014-01-15 09:41:17 +00:00
vsr
2cd148d066 Merge from V7_3_BR branch 18/12/2013 2013-12-18 15:08:18 +00:00
eap
1faf00f679 0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py
+        from salome.smesh.smeshBuilder import Mesh
2013-11-25 09:13:09 +00:00
eap
127524b9c2 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
do not import from smeshBuilder to avoid pb with cyclic import
2013-11-22 12:36:27 +00:00
eap
ea1c9b37c7 -from salome.StdMeshers import StdMeshersBuilder
+import StdMeshers
2013-11-20 11:31:08 +00:00
mpa
9dcd09c6f5 - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:08:40 +00:00
mpa
47bdf12d63 - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:03:24 +00:00
eap
7b33bc39fd 22355: EDF SMESH: New 1D hypothesis "Adaptive" 2013-11-11 11:07:44 +00:00
rnc
02dc428b77 Small correction in the doc of FindCoincidentNodes, MergeNodes, MergeElements ... The type of object returned or taken as an argument by these methods has been detailed with more accuracy 2013-10-28 15:32:04 +00:00
vsr
716b8a81b9 Give proper permissions to Python scripts 2013-10-21 11:21:11 +00:00
vsr
be6e7300b2 Give proper permissions to Python scripts 2013-10-21 11:11:39 +00:00
rnv
1bd4ba8acd Porting SALOME SMESH module to the CMake build system: initial version. 2013-10-10 12:57:42 +00:00
eap
53bf890d48 Fix doxycomments 2013-09-27 07:57:23 +00:00
eap
fab1d896c8 Fix omniORB::fatalException at SALOME termination after creating a Mesh in Python
do not call mesh.Register() as this prevents mesh servant deletion at closing study
2013-09-19 12:44:24 +00:00
vsr
535d13a0f8 Fix memory leaks: another attempt 2013-09-13 06:58:16 +00:00
vsr
7b4622715b Fix memory leaks 2013-09-13 06:35:30 +00:00
fahed
d557d034ee Correction of a spelling mistake :
"bynary" becomes "binary"
2013-09-11 12:41:25 +00:00
fahed
721565eb5e Correction of the documentation about GMF import/export. 2013-09-11 12:22:01 +00:00
eap
dd67430f66 typo 2013-08-23 13:36:41 +00:00
vsr
b752ff95e4 0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
- additional improvement for Python API to simplify usage of measure functions
2013-08-20 13:48:54 +00:00
vsr
fa3a593199 0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI 2013-08-08 15:17:00 +00:00
eap
5c95ba9078 Regression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
Manage temporary SMESH_IDSource created by MeshEditor::MakeIDSource()
2013-08-07 14:06:39 +00:00
eap
de76274176 021980: [CEA 708] Import/export GMF does work only if the file extension is ".mesh"
Doc about allowed file extension.
2013-08-06 15:16:46 +00:00
skv
cbb3e2b8bd 0022257: [CEA 900] Regression: on test glue_performance.py 2013-07-25 12:03:04 +00:00
eap
07ba88a295 In ExtrusionAlongPathX() allow defining RefPoint as [x,y,z] 2013-07-17 14:38:25 +00:00
eap
f107c3dc69 CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists

-    ## Gets MED Mesh
-    #  @return an instance of SALOME_MED::MESH
-    #  @ingroup l1_auxiliary
-    def GetMEDMesh(self):
-        return self.mesh.GetMEDMesh()
2013-06-25 11:55:34 +00:00
eap
4fecefcc2b 0021952: Add an option to write planar meshes as 3D meshes in MED files 2013-06-05 15:13:53 +00:00
eap
9f9b06a194 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
-    def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor, ignoreEdges=[]):
+    def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor,
+                        edges=[], isEdgesToIgnore=True ):
2013-05-30 14:18:23 +00:00
eap
dc9f23c3cd 0022108: EDF 2547 SMESH: Duplicate elements only
+    def DoubleElements(self, theElements, theGroupName=""):
2013-05-28 16:49:24 +00:00
eap
b4fdb7ebde 0022172: [CEA 790] create the groups corresponding to domains
Allow calling Create() and Assign() with geom == None
2013-05-24 12:01:17 +00:00
eap
2c17372e2f 0022172: [CEA 790] create the groups corresponding to domains
Fix treating a warning sent by algorithm.Compute() - print "Warning"
instead of "Error"
2013-05-24 12:00:21 +00:00
eap
f96a5f853b 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
+    def QuadTo4Tri (self, theElements=[]):
2013-05-22 15:35:28 +00:00
eap
f70691d5a4 Fix a doc of GetFilter()
+   #  @param mesh the mesh to initialize the filter with
    #  @return SMESH_Filter
    #
    #  <a href="../tui_filters_page.html#tui_filters">Example of Filters usage</a>
    #  @ingroup l1_controls
    def GetFilter(self,elementType,
2013-05-21 09:08:25 +00:00
eap
22dd2b977a 0022100: EDF 2413 SMESH: Take into account TRIA7
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

+    def NbBiQuadTriangles(self):

+    def ClearLastCreated(self):

    def GetFilter(self,elementType,
                  CritType=FT_Undefined,
                  Compare=FT_EqualTo,
                  Threshold="",
                  UnaryOp=FT_Undefined,
                  Tolerance=1e-07,
+                 mesh=None):
2013-05-16 16:55:14 +00:00
eap
c965dca966 -algo=smesh.xxxx ==> algo.smeshBuilder.xxxx
+algo=smesh.xxxx  ==> algo=smeshBuilder.xxxx
2013-04-24 12:13:36 +00:00
akl
f4d0371a70 Check for null object was added. 2013-04-22 10:37:55 +00:00
prascle
d8a4fd0b8c PR: correction due to refactoring 2013-04-17 20:33:51 +00:00
akl
3ec0f6d752 Correction because of 'geompyDC' refactoring. 2013-04-17 11:34:31 +00:00
akl
6524427cb2 Correction because of 'smeshDC' refactoring. 2013-04-17 10:15:09 +00:00
akl
7f7f68d7de Correction of script because of 'geompyDC' refactoring. 2013-04-17 06:21:15 +00:00
prascle
5a81ec850d PR: Deprecation Warning more precise 2013-04-16 13:50:10 +00:00
vsr
208bca92c8 Fix test script 2013-04-15 07:25:40 +00:00
prascle
74ba6feb24 PR: true singleton instance of smesh 2013-04-10 16:33:43 +00:00
prascle
c211b11fa1 PR: missing imports when tests are executed alone 2013-04-10 09:16:19 +00:00
prascle
d6941cf347 PR: restore missing attributes for compatibility with old scripts 2013-04-09 16:47:57 +00:00
vsr
be13498d82 Improve documentation 2013-04-08 14:50:20 +00:00
vsr
0e885d0f01 Restore documentation of methods dynamically added by plug-ins to the Mesh class, killed by previous integration 2013-04-05 09:00:43 +00:00
vsr
54182913fb Merge from BR_plugins_pbyacs 03/04/2013 2013-04-04 07:08:19 +00:00
vsr
de3c6b4c61 Merge from V6_main 01/04/2013 2013-04-02 14:33:29 +00:00
vsr
bd8f1aee7c Merge from V6_main 01/04/2013 2013-04-01 13:05:47 +00:00
vsr
31ca0b3e3b Merge from V6_main 15/03/2013 2013-03-15 14:59:29 +00:00
vsr
7aebb99e42 Merge from V6_main 06/03/2013 2013-03-06 13:57:01 +00:00
vsr
9a54694a0a Merge from V6_main 11/02/2013 2013-02-12 14:37:44 +00:00
vsr
1067ffa6e7 Merge from V6_main 13/12/2012 2012-12-13 11:41:29 +00:00
vsr
f5016d85b7 Merge from V6_main (04/10/2012) 2012-10-08 11:56:59 +00:00
vsr
bd4e115a78 Merge from V6_main_20120808 08Aug12 2012-08-09 10:03:55 +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
jfa
992b382297 Update meshpy.py by request of FKL 2005-02-15 10:22:14 +00:00
mzn
33dc437dbf Comment out the example. 2005-01-28 10:09:03 +00:00
jfa
55a0f35a26 Fix wrong comments indentation 2005-01-25 05:21:30 +00:00
admin
090aff0726 Merge with OCC_development_01 2005-01-20 06:25:54 +00:00
admin
ed456586bf Merge with OCC-V2_1_0_deb 2004-12-17 11:07:35 +00:00
admin
e4737e85f0 Merge with version on tag OCC-V2_1_0d 2004-12-01 10:48:31 +00:00
yfr
51569f091c DCQ:prepare 2.0.0 2004-07-20 07:56:05 +00:00
yfr
c3bf92bd87 DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
nadir
fe9985e3cf adding python scripts to illustrate the way to mesh a shape giving different hypothesis on its sub-shapes. 2004-04-01 11:58:39 +00:00
nadir
ae40db1097 removing the call to the tetrahedron generator NETGEN, because I did not yet
manage to make NETGEN running on the flight geometry.
2004-01-06 15:19:21 +00:00
nadir
faa1c8f2bc updating or adding when merging in the main trunk with the version in the
branch nadir_1_2_2 !!
2003-12-08 15:43:20 +00:00
yfr
b98cb816b9 yfr : merge 1.2 2003-07-10 13:41:56 +00:00
prascle
138c9cab7e PR: needed by merge C. CAREMOLI branch CCAR_br1 2003-06-29 13:17:10 +00:00
prascle
f62a33b2a0 PR: bug on subshapes not sorted 2003-06-12 10:34:16 +00:00
nri
602e9e7a7a NRI : Use GEOM instead of Geometry. 2003-05-20 07:18:29 +00:00
nri
3973ceea25 NRI : First integration. 2003-05-19 14:07:00 +00:00