If you export a GLTF file with a large number of vertices, the output is corrupted. This appears to be caused by the fact that vertices in the GLTF file are represented using 16 bits, so the output is corrupt if there are more than 65536 vertices.
The GLTF standard states that +Y is the vertical axis, while Curv (and 3MF, and the 3D printing industry) uses +Z as the vertical axis. So possibly the X/Z axes should be swapped when outputting GLTF.
Describe the bug
To Reproduce
CC: @lf94 @zeeyang