Paraview unable to read one stl file but IS able to read another: why?

  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    File
Click For Summary
The discussion centers on an issue with opening an .STL file in Paraview. The user created a file with the extension in all caps (.STL), while a tutorial file has the extension in lowercase (.stl). The user is unable to see their file in Paraview's open menu, despite it being present in the terminal. The key point raised is that certain operating systems, like Unix/Linux, are case-sensitive regarding filenames, meaning that Paraview may not recognize the all-caps extension as valid. Changing the file extension to lowercase .stl is suggested as a potential solution to resolve the visibility issue in Paraview.
member 428835
Hi PF!

I made an .STL file and am trying to open it with Paraview. When I toggle "open" on the Paraview drop-down menu, I don't see the file (but it is there, since my terminal shows it).

However, when I look for a different .stl file (one downloaded from an OpenFOAM tutorial) I can open it.

When looking at the properties of each, I notice two things: the .stl file I made is all caps STL rather than stl. The other difference is mine has 100,000 bytes where the one from the tutorial has 337 bytes. Would these differences mean Paraview is unable to even see the file through its open menu?
 
Computer science news on Phys.org
joshmccraney said:
the .stl file I made is all caps STL rather than stl
What happens if you change it to lower case .stl?
 
  • Like
Likes member 428835
pbuk said:
What happens if you change it to lower case .stl?
:headbang::headbang::headbang: ...I'm not even going to say it...but thanks!
 
  • Haha
Likes Tom.G and pbuk
:rolleyes::oops:Why?
 
I'm don't undesdend too :oops:
 
Under certain operating systems, such as Unix (Linux), the case of letters in filenames matters. For example, you could have the two files mytext.txt and Mytext.txt coexisting in the same directory.

The file browser in Paraview is probably also case-sensitive, such that a file will the extension .STL will not be recognized as a file that can be opened by Paraview, and hence is not shown.
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 6 ·
Replies
6
Views
11K
  • · Replies 5 ·
Replies
5
Views
4K