Saving mesh on Mac Mojave 10.14.5 does not save edges
I've encountered a really weird issue that I can't seem to solve. Meshes load fine from a .geo file, but when loading them from the saved .msh file they appear with no edges. I'm unsure whether the .msh files are being saved correctly.
My .geo file contents (it doesn't work with other geo files I've tried either, I'm just including this in case the .msh file looks wrong)
Point(1) = {0, 0, 0, 1.0};
Point(2) = {1, 0, 0, 1.0};
Point(3) = {0, 1, 0, 1.0};
Point(4) = {1, 1, 0, 1.0};
Point(5) = {1, 1, 1, 1.0};
Point(6) = {1, 0, 1, 1.0};
Point(7) = {0, 1, 1, 1.0};
Point(8) = {0, 0, 1, 1.0};
Line(1) = {3, 7};
Line(2) = {7, 5};
Line(3) = {5, 4};
Line(4) = {4, 3};
Line(5) = {3, 1};
Line(6) = {2, 4};
Line(7) = {2, 6};
Line(8) = {6, 8};
Line(9) = {8, 1};
Line(10) = {1, 2};
Line(11) = {8, 7};
Line(12) = {6, 5};
Translate {0, 0, 1.45} {
Point{1, 2, 3, 4, 5, 6, 7, 8};
}
//+
Rotate {{0, 0.5, 0.4}, {0, 0, 0}, Pi/4} {
Point{1, 2, 3, 4, 5, 6, 7, 8};
}
The .msh file
$MeshFormat
4.1 0 8
$EndMeshFormat
$Entities
8 12 0 0
1 0.8006285640426376 0.2071683742826856 1.191039532146643 0
2 1.507735345229185 0.6488944785820718 0.6388819017724101 0
3 0.3589024597432514 1.092868581574997 1.333914273031254 0
4 1.066009240929799 1.534594685874383 0.7817566426570208 0
5 1.618166871304032 1.677469426758994 1.603163216551258 0
6 2.059892975603418 0.7917692194666827 1.460288475666647 0
7 0.9110600901174841 1.235743322459608 2.15532084692549 0
8 1.35278619441687 0.3500431151672964 2.01244610604088 0
1 0.3589024597432514 1.092868581574997 1.333914273031254 0.9110600901174841 1.235743322459608 2.15532084692549 0 2 3 -7
2 0.9110600901174841 1.235743322459608 1.603163216551258 1.618166871304032 1.677469426758994 2.15532084692549 0 2 7 -5
3 1.066009240929799 1.534594685874383 0.7817566426570208 1.618166871304032 1.677469426758994 1.603163216551258 0 2 5 -4
4 0.3589024597432513 1.092868581574997 0.7817566426570208 1.066009240929799 1.534594685874383 1.333914273031254 0 2 4 -3
5 0.3589024597432514 0.2071683742826856 1.191039532146643 0.8006285640426376 1.092868581574997 1.333914273031254 0 2 3 -1
6 1.066009240929799 0.6488944785820718 0.6388819017724101 1.507735345229185 1.534594685874383 0.7817566426570208 0 2 2 -4
7 1.507735345229185 0.6488944785820718 0.6388819017724101 2.059892975603418 0.7917692194666827 1.460288475666647 0 2 2 -6
8 1.35278619441687 0.3500431151672964 1.460288475666647 2.059892975603418 0.7917692194666827 2.01244610604088 0 2 6 -8
9 0.8006285640426376 0.2071683742826856 1.191039532146643 1.35278619441687 0.3500431151672964 2.01244610604088 0 2 8 -1
10 0.8006285640426376 0.2071683742826856 0.6388819017724101 1.507735345229185 0.6488944785820718 1.191039532146643 0 2 1 -2
11 0.9110600901174841 0.3500431151672964 2.01244610604088 1.35278619441687 1.235743322459608 2.15532084692549 0 2 8 -7
12 1.618166871304032 0.7917692194666827 1.460288475666647 2.059892975603418 1.677469426758994 1.603163216551258 0 2 6 -5
$EndEntities
$Nodes
20 0 18446744073709551615 0
0 1 0 0
0 2 0 0
0 3 0 0
0 4 0 0
0 5 0 0
0 6 0 0
0 7 0 0
0 8 0 0
1 1 0 0
1 2 0 0
1 3 0 0
1 4 0 0
1 5 0 0
1 6 0 0
1 7 0 0
1 8 0 0
1 9 0 0
1 10 0 0
1 11 0 0
1 12 0 0
$EndNodes
$Elements
0 0 18446744073709551615 0
$EndElements
$Parametrizations
0 0
$EndParametrizations
Here's the log from loading the .geo file, saving the result of the .geo file, and then loading the .msh file:
Everything worked fine up until today. That is, I could save and load meshes without the above described issue. I've tried uninstalling/reinstalling Gmsh, but that hasn't helped (I've also reset all settings to default, which hasn't helped either). If there's a setting I've missed/messed up I wouldn't be surprised. Thanks for any help!