We probably can later extend to a similar logic as GIMP
does for Export. But that needs some additional UI work
so I'd suggest to go one step first and do this in a
second step.
GIMP logic meaning:
ciao,
Torsten.
https://github.com/openscad/openscad/pull/2648 is my first stab at it. I
also save the name as well as the folder.
PlatformUtils::documentsPath() seems a reasonable default for an un-saved
file. The only problem I see is it is only a std::string, which I convert
to a QString, so it probably has encoding issues if the path has non-ascii
characters,
On Mon, 24 Dec 2018 at 01:17, Torsten Paul Torsten.Paul@gmx.de wrote:
We probably can later extend to a similar logic as GIMP
does for Export. But that needs some additional UI work
so I'd suggest to go one step first and do this in a
second step.
GIMP logic meaning:
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
nophead wrote
NetFabb is annoying because when I open an STL, modify it and export the
result I always want it to be in the folder I opened it from, not where I
last exported an STL weeks ago.
I know it's an older thread, but I've been browsing to get ideas and learn
more.
This behaviour used to bother me as well, but not as much any more.
I work mostly from a Windows Explorer, though once I discovered xplorer2
(that's squared), I use only that.
Anyway, I have a wonderful little program called "listary", and could not do
without it any more. The main thing it does, is that if I'm in the explorer
(or in a bunch of other programs), and start typing, it starts giving me a
list of everything in that window fitting the word, and another list of
recent things that are in other directories. You need not type something
from the beginning to find it. For example if I know something contains the
word "axis", I can just type that, and it will find all entries in the
directory that contain "axis".
But more pertinent to your post, when I am in Slic3r, OpenSCAD, or whatever,
having just opened a file requester, all I need to do is to pop the explorer
to the front, which usually has one of its panes showing the directory in
which I am working. I click in that directory, and when I go back to the
file requester, it automatically changes the file requester directory to the
one I just clicked on in xplorer2. I haven't tried, but it will likely work
exactly the same with Windows Explorer. I just discovered this drectory
thing a few months ago, so it might not even need listary to work this way.
--
Sent from: http://forum.openscad.org/