can we set a default for export?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
graymalk
Posts: 24
Joined: Wed Jun 18, 2014 4:42 pm

Re: can we set a default for export?

Post by graymalk »

quick61 wrote:
wmayer wrote:Here we go: git commit 4259a93
Compiling ! :geek:

Thanks! Probably not much help to graymalk at the moment, or at least not until someone makes a dev build for windows. Or 0.15 gets settled. But that will be a little while yet I think. Aren't you all waiting for the next OCE release and maybe Sketcher Ellipse?

Mark
This might entice me to get less lazy and compile it, too. It's actually something that really bugs me and affects me in every project.

edit: and hey, if I finally learn how to compile this, I might finally be in a position to start contributing.
Windows 7 64-bit, 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python: 2.7.6, Qt: 4.8.5, Coin: 4.0.0a, SoQt: 1.6.0a, OCC 6.6.0
I also use Mac but hate big sigs. 90% likely asking about Windows version.
JV_3D
Posts: 41
Joined: Fri Dec 23, 2016 4:45 am

Re: can we set a default for export?

Post by JV_3D »

Hello,

I bring this thread to live because I am transitioning from Windows to using the Linux full-time and the FreeCAD export options works different in this version. The export default option in Linux is .amf (who use that?) and it remain always the same despite if you use other frequently, in Windows it uses the last use export format. So, it there an option to change that behavior as the open user suggested?

This is my system info:
OS: Linux Mint 18.3 Sylvia
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13375 (Git) AppImage
Build type: None
Branch: master
Hash: 2bfea410fce1434fec0f853b032549aa2cd3c47e
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
ezzieyguywuf
Posts: 656
Joined: Tue May 19, 2015 1:11 am

Re: can we set a default for export?

Post by ezzieyguywuf »

In The GIMP, they have a menu option for "export" as well as one for "do the same thing you did last time". See screenshot below. The "do the same thing you did last time" stores a setting per each project file: the first time you export something, it remembers the export settings (filename, filetype, location) and will just redo that over and over, overwriting the previous export.

Could that be helpful here in freecad?
menu.jpg
menu.jpg (128.74 KiB) Viewed 1360 times
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: can we set a default for export?

Post by yorik »

I like that much in gimp too. The first time you have to specify a filename and extension, then the next times you just press a key and it is reexported under the same file and format.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: can we set a default for export?

Post by triplus »

Indeed it would be nice. If file dialog would remember the last export selection on Linux in the future. Until that happens alternative options exist. There is a feature available. To ease and automate the exporting procedure altogether:

https://forum.freecadweb.org/viewtopic. ... 80#p223250

Using a macro command with a button on toolbar approach works nice to. Would recommend using something like this to users that frequently export FreeCAD geometry:

https://forum.freecadweb.org/viewtopic. ... =30#p35228
brjhaverkamp
Posts: 126
Joined: Thu Sep 24, 2015 3:14 pm

Re: can we set a default for export?

Post by brjhaverkamp »

Hi folks,

Quick check on this thread. I fo8und it because I was getting tired of repeating the switch from amf to stl for every export.
Is there a way to set stl as default already being worked on?

Kind regards,

Bert
brjhaverkamp
Posts: 126
Joined: Thu Sep 24, 2015 3:14 pm

Re: can we set a default for export?

Post by brjhaverkamp »

Hello all,

Sorry for bringing this up to the top of the forum again. It is one of my itches in freecad:-)
I reread this thread and long time ago (0.15 timeframe) wmayer created a commit to store the last used import/export settings. (git commit 4259a93)
However this doesn't seem to work in present day versions of freecad.
At export I always have to switch from amf to stl.
It would be nice to have a way to set the default export format (stl in my case) or simply have freecad remember the last used format.

Kind regards,

Bert
kisolre
Veteran
Posts: 4164
Joined: Wed Nov 21, 2018 1:13 pm

Re: can we set a default for export?

Post by kisolre »

What is your FreeCAD version? Help/About FreeCAD/Copy to clipboard
It stays at the last selected export option here at least with "STL Mesh (*.stl, *.ast)"

OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17433 (Git)
Build type: Release
Branch: master
Hash: 125380ddd9a1fdeb45ffc736040dad1f6343daa4
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: can we set a default for export?

Post by wmayer »

User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: can we set a default for export?

Post by Kunda1 »

wmayer wrote: Sun Jul 21, 2019 10:35 am git commit e239994
awesome. can we backport this? Also, I can't tell from the code but I don't think this mimics the GIMP behavior in the dialog where it actually shows what @ezzieyguywuf shows in https://forum.freecadweb.org/posting.ph ... 1#pr223703 ? Am i correct ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply