Skip to content

Conversation

Landau-Randall
Copy link

Modified file extension check to be case-insensitive for STL and OBJ files. Previously, only lowercase extensions (.stl, .obj) were accepted, causing import failures on case-sensitive systems when uppercase extensions (.STL) were used.

Changes:

  • Replaced equality check with StringComparison.OrdinalIgnoreCase
  • Now supports both .stl/.STL and .obj/.OBJ file extensions
  • Resolves import errors with binary STL files using uppercase extensions

Modified file extension check to be case-insensitive for STL and OBJ files.
Previously, only lowercase extensions (.stl, .obj) were accepted, causing
import failures on case-sensitive systems when uppercase extensions (.STL) were used.

Changes:
- Replaced equality check with StringComparison.OrdinalIgnoreCase
- Now supports both .stl/.STL and .obj/.OBJ file extensions
- Resolves import errors with binary STL files using uppercase extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant