open .stl file by default

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

open .stl file by default

Laszlo KREKACS
Hi,

This is more a usability fix then a feature request.

openscad ./something.stl should open openscad with the following template:
import_stl("./something.stl");

So I could quickly view .stl files with openscad. There are few other
things missing
to be a really usable .stl viewer  (eg. measuring tools),
but for quick viewing this one is the most urgent "bug".

(also doubleclicking on a .stl file should behave the same if the
system associated openscad with the .stl filetype)

What do you guys thinks?

Best,
 Laszlo

Reply | Threaded
Open this post in threaded view
|

Re: open .stl file by default

Tim Schmidt
I actually really like this idea.

--tim

Reply | Threaded
Open this post in threaded view
|

Re: open .stl file by default

Taylor Alexander
Yeah, thats a great idea as far as I can tell. I mean why not right?

On Tue, Apr 10, 2012 at 12:33 PM, Tim Schmidt <[hidden email]> wrote:
I actually really like this idea.

--tim
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad

Reply | Threaded
Open this post in threaded view
|

Re: open .stl file by default

Whosawhatsis
Just make sure that the STL file isn't treated as the save file path, otherwise you will overwrite it when you hit save. Openscad will, however, have to assume that the (as yet unsaved) scad file is in the same folder as the STL for the reference to the file to resolve. Normally you have to save before it will resolve because the unsaved scad file lacks a relative path to reference. 

On Apr 10, 2012, at 12:34, Taylor Alexander <[hidden email]> wrote:

Yeah, thats a great idea as far as I can tell. I mean why not right?

On Tue, Apr 10, 2012 at 12:33 PM, Tim Schmidt <[hidden email]> wrote:
I actually really like this idea.

--tim
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad