Error when importing a specific geometry

Hi @Matej,

one of my viewers said that he couldn’t import the geometry from the pressure vessel tutorial. I checked it and I have the same issue in v2.3.1. It shows this:

04/11/25 12:55:38   Error: The file C:\Users\jakub\Desktop\Tutorial 5 - pressure vessel.step could not be imported correctly: 
04/11/25 12:55:38   The given key was not present in the dictionary.
04/11/25 12:55:38      at PrePoMax.Controller.ImportBrepPartFile(String brepFileName, Boolean showError)
04/11/25 12:55:38   There were errors while importing the file/files.

Here’s the file:

Tutorial 5 - pressure vessel.zip (2.3 KB)

He also said that he had the same problem with other formats and that it worked only when he modified the geometry slightly - cut off the top part.

I tested it. It turns out the problem starts with v2.2.4, where, among other things, split periodic surfaces has been added.

I disabled it in the Settings but there’s still the same error.

Yes, I know, I turned it off too. Still, I suspect at least indirectly, that it has something to do with it.

The problem is not split periodic faces since the geometry does not contain a face over 180° which I think is the limit when the division starts. At that time I also modified the netgen function that creates visualization.

The problem is mainly that there is something wrong with the geometry, according to SolidWorks:

But I managed to change the visualization reader to cope with that. So, the problem is fixed, but I will have to release a new developer version for further testing.

1 Like

No problem to import it with 2.3.0 win10.

Interesting, for me on win10 and win11 it is a problem.
From attached files (1/8 spherical shell-segment), I can only successfully import the IGES files (except the one created in FreeCAD). Up to version 2.2.3, all files worked fine for me.

Step-Iges.zip (13.5 KB)
They were all created in the same way by rotating an arc segment 90° (created with FreeCad, Gmsh, Salome + NX).

I have checked all included files using the fixed PrePoMax. All are imported without a problem. Only the salome.step file is scaled by a factor of 1000.

1 Like