mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 14:14:17 +05:00
bos #42618: add failed comment to .cxx and enable OFF format on script test
This commit is contained in:
parent
84843d54ca
commit
20cf1c5f73
@ -133,37 +133,37 @@ const QStringList& SMESHGUI_Meshio::GetExportFileFilter()
|
|||||||
{
|
{
|
||||||
static const QStringList filter = {
|
static const QStringList filter = {
|
||||||
"Abaqus (*.inp)",
|
"Abaqus (*.inp)",
|
||||||
//"ANSYS msh (*.msh)",
|
//"ANSYS msh (*.msh)", // meshio KeyError: "Illegal ANSYS cell type 'line'
|
||||||
"AVS-UCD (*.avs)",
|
"AVS-UCD (*.avs)",
|
||||||
//"CGNS (*.cgns)",
|
//"CGNS (*.cgns)", // meshio IndexError: index 2 is out of bounds for axis 1 with size 2
|
||||||
"DOLFIN XML (*.xml)",
|
"DOLFIN XML (*.xml)",
|
||||||
#if !defined(WIN32)
|
#if !defined(WIN32)
|
||||||
"Exodus (*.e *.exo)",
|
"Exodus (*.e *.exo)",
|
||||||
#endif
|
#endif
|
||||||
"FLAC3D (*.f3grid)",
|
//"FLAC3D (*.f3grid)", // meshio IndexError: Replacement index 3 out of range for positional args tuple
|
||||||
"Gmsh 2.2 (*.msh)",
|
"Gmsh 2.2 (*.msh)",
|
||||||
//"Gmsh 4.0, and 4.1 (*.msh)",
|
//"Gmsh 4.0, and 4.1 (*.msh)",
|
||||||
//"H5M (*.h5m)",
|
//"H5M (*.h5m)", // meshio AttributeError: 'list' object has no attribute 'items'
|
||||||
"Kratos/MDPA (*.mdpa)",
|
"Kratos/MDPA (*.mdpa)",
|
||||||
"MED/Salome (*.med)",
|
"MED/Salome (*.med)",
|
||||||
"Medit (*.mesh *.meshb)",
|
"Medit (*.mesh *.meshb)",
|
||||||
"Nastran (*.bdf *fem *.nas)",
|
"Nastran (*.bdf *fem *.nas)",
|
||||||
"Netgen(*.vol *.vol.gz)",
|
"Netgen(*.vol *.vol.gz)",
|
||||||
"OBJ (*.obj)",
|
// "OBJ (*.obj)", // meshio._exceptions.WriteError: Wavefront .obj files can only contain triangle or quad cells
|
||||||
#if !defined(WIN32)
|
#if !defined(WIN32)
|
||||||
"OFF (*.off)",
|
"OFF (*.off)",
|
||||||
#endif
|
#endif
|
||||||
"PERMAS (*.post *.post.gz *.dato *.dato.gz)",
|
"PERMAS (*.post *.post.gz *.dato *.dato.gz)",
|
||||||
//"PLY (*.ply)",
|
//"PLY (*.ply)", // Export Warning: PLY doesn't support 64-bit integers. Casting down to 32-bit. Then import failed
|
||||||
"STL (*.stl)",
|
"STL (*.stl)",
|
||||||
//"SU2 (*.su2)",
|
//"SU2 (*.su2)", // meshio TypeError: cannot unpack non-iterable CellBlock object
|
||||||
//"SVG, 2D output only (*.svg)",
|
//"SVG, 2D output only (*.svg)", // meshio._exceptions.WriteError: SVG can only handle flat 2D meshes
|
||||||
//"Tecplot (*.dat)",
|
//"Tecplot (*.dat)", // meshio ValueError: need at least one array to concatenate
|
||||||
//"TetGen (*.node *.ele)",
|
//"TetGen (*.node *.ele)", // never returns from meshio convert command
|
||||||
//"UGRID (*.ugrid)",
|
//"UGRID (*.ugrid)", // meshio AttributeError: 'list' object has no attribute 'reshape'
|
||||||
"VTK (*.vtk)",
|
"VTK (*.vtk)",
|
||||||
"VTU (*.vtu)",
|
"VTU (*.vtu)",
|
||||||
//"WKT, TIN (*.wkt)",
|
//"WKT, TIN (*.wkt)", // Export Warning: WTK only supports triangle cells. Skipping {", ".join(skip)} then import failed
|
||||||
"XDMF (*.xdmf *.xmf)"
|
"XDMF (*.xdmf *.xmf)"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ def file_extensions():
|
|||||||
'.nas',
|
'.nas',
|
||||||
# '.node', # never returns from meshio convert command
|
# '.node', # never returns from meshio convert command
|
||||||
# '.obj', # meshio._exceptions.WriteError: Wavefront .obj files can only contain triangle or quad cells
|
# '.obj', # meshio._exceptions.WriteError: Wavefront .obj files can only contain triangle or quad cells
|
||||||
# '.off', # failed on Windows only
|
'.off', # failed on Windows only
|
||||||
# '.ply', # Export Warning: PLY doesn't support 64-bit integers. Casting down to 32-bit. Then import failed
|
# '.ply', # Export Warning: PLY doesn't support 64-bit integers. Casting down to 32-bit. Then import failed
|
||||||
'.post',
|
'.post',
|
||||||
'.post.gz',
|
'.post.gz',
|
||||||
@ -134,7 +134,7 @@ def file_extensions():
|
|||||||
'.xml'
|
'.xml'
|
||||||
]
|
]
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
extensions = [ext for ext in extensions if not ext in ['.e', '.exo']] # needs to be digged out - presumably an issue about encoding.
|
extensions = [ext for ext in extensions if not ext in ['.e', '.exo', '.off']] # needs to be digged out - presumably an issue about encoding.
|
||||||
|
|
||||||
return extensions
|
return extensions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user