Mesh file not defined ERROR

I had some crashing issues when 3D meshing my spacecraft model in the GMSH 4.8.4 native to SPIS 6.2.6. I used the updated gmsh (4.15.1) to 3D mesh and it worked, however, when I try to upload the mesh file to SPIS, I get this error:

2026-03-05 09:21:24,054 ERROR o.k.m.g.c.LoadMeshFileCommand [AbstractCommand.java:323] The mesh file is not correctly defined :
com.artenum.penelope.mesh.io.FileFormatException: version 4.1 is not handled (2.XXX expected)
java.lang.UnsupportedOperationException: The mesh file is not correctly defined :
com.artenum.penelope.mesh.io.FileFormatException: version 4.1 is not handled (2.XXX expected)
at org.keridwen.modelling.gmsh.command.LoadMeshFileCommand.run(LoadMeshFileCommand.java:88)
at org.keridwen.modelling.gmsh.command.LoadMeshFileCommand.run(LoadMeshFileCommand.java:36)
at org.keridwen.core.messaging.AbstractCommand.execute(AbstractCommand.java:300)
at org.keridwen.core.messaging.DefaultBundleController$CallableCommand.call(DefaultBundleController.java:255)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

It seems that SPIS wont register files from the newer gmsh software. Any suggestions or workarounds?

Indeed, currently SPIS cannot read latest version of Gmsh mesh files.

But you can easily export to the correct file format using the latest versions of Gmsh:

  • When your file is meshed, go to File > Export.
  • Before clicking on okay, select the correct format on the top to "Mesh - Gmsh MSH (*.msh).
  • After that, another dialog will appear to select the correct format, here instead of the “Version 4 ASCII”, you need to select “Version 2 ASCII”

Like this, you will be able to load the exported mesh with SPIS.