Files
OrcaSlicer/deps_src/admesh
Ian Bassiandowlin22 e557ef6a71 Read STL files larger than 2 GB on Windows
The STL reader took the file size from ftell(), which returns a long.
long is 32-bit on Windows, so a file over 2 GB got a wrong size and was
rejected as malformed. Take the size from boost::nowide::stat, which
handles UTF-8 paths and is 64-bit on every platform, and refuse files
with more facets than the int counters downstream can hold.

Ported from Snapmaker/OrcaSlicer@b070bcfaff

Co-authored-by: owlin22 <a1483829525@163.com>
2026-11-30 17:03:38 -03:00
..
2025-08-22 20:02:26 +08:00
2025-08-22 20:02:26 +08:00
2025-08-22 20:02:26 +08:00
2025-08-22 20:02:26 +08:00
2025-08-22 20:02:26 +08:00