mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-15 22:21:28 +05:00
Yeah ! smesh peut parler avec le reste du monde sans passer par fichier
This commit is contained in:
parent
90d5aa5cfe
commit
1e47fd4dbc
@ -2357,8 +2357,10 @@ class Mesh(metaclass = MeshMeta):
|
|||||||
|
|
||||||
return self.mesh.ExportPartToMEDCoupling(meshPart, auto_groups, autoDimension, fields, geomAssocFields, z_tolerance)
|
return self.mesh.ExportPartToMEDCoupling(meshPart, auto_groups, autoDimension, fields, geomAssocFields, z_tolerance)
|
||||||
else:
|
else:
|
||||||
return self.mesh.ExportMEDCoupling(auto_groups, autoDimension)
|
intPtr = self.mesh.ExportMEDCoupling(auto_groups, autoDimension)
|
||||||
|
import medcoupling
|
||||||
|
dab = medcoupling.FromPyIntPtrToDataArrayByte(intPtr)
|
||||||
|
return medcoupling.MEDFileMesh.New(dab)
|
||||||
|
|
||||||
def ExportMED(self, *args, **kwargs):
|
def ExportMED(self, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user