# open .stl file with blender [duplicate]

I need to open .stl files with blender, without importing them!

In the properties of my .stl file, blender is set as "open with", but when I double click on the file it just opens blender as my preset user preference (without any objects). The same happens when I drag the file over the blender icon to open it that way.

Whats funny is that if I drag and drop the file over an older version of blender (2.49) then it opens the .stl file fine.

Any ideas?

Thanks

This is because STL used to be written in C and loaded the same way *.blend files were, but now its an addon.
• Okay, the problem is that I'm trying to open the STL file automatically from php via: exec("start /B cmd /k $blender -b C:\\xampp\\htdocs\\test.new\\upload\\$file -P C:\\xampp\\htdocs\\test.new\\newBlender\\getData.py"); But now I should call a separate python file from php and in that python file import the STL into blender, then run the python file that was originally called straight from php? – Alex Husarenko Apr 8 '14 at 9:39