FreeCad forces me to save a file when a .step file is loaded.

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!
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by easyw-fc »

wmayer wrote: Sun Jul 24, 2022 6:22 am git commit 710e16b340 adds a class for consistent access of the parameters
git commit b00044c656 initializes the preferences page
git commit fed9f20f482 changes the algorithm to use the above class for consistent access

If the default value of a parameter should be changed then only ImportExportSettings must be adjusted.
thanks a lot... I'm going to see if I can reach the discussion on default STEP parameters
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by easyw-fc »

wmayer wrote: Sun Jul 24, 2022 6:22 am If the default value of a parameter should be changed then only ImportExportSettings must be adjusted.
Hi @wmayer and @realthunder
I'm attaching what I had as preferred settings for STEP export (later on I will put also import),
following the discussion with other users w/ commercial CADs ...
https://forum.freecadweb.org/viewtopic. ... 21#p142721
(I'm putting both master branch and link branch settings)

First attempt:
suggested default STEP export:
Master Branch
default-step-exporter-mb.png
default-step-exporter-mb.png (49.3 KiB) Viewed 1330 times
Link Branch
default-step-exporter-lb.png
default-step-exporter-lb.png (52.47 KiB) Viewed 1330 times
they are both identical
Note: I have the followings
  • Units for export of STEP -> [mm]
  • [unchecked] Write out curves in parametric space of surface
  • [checked] Export invisible objects
  • [unchecked] Export single object placement
  • [unchecked] Use legacy exporter
  • Scheme -> [AP214 International Standard]
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by wmayer »

easyw-fc wrote: Tue Jul 26, 2022 1:16 pm I'm attaching what I had as preferred settings for STEP export (later on I will put also import),
git commit 70c18c80172e
leoheck
Veteran
Posts: 1223
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by leoheck »

easyw-fc wrote: Tue Jul 26, 2022 1:16 pm It seems something like RTFM
This looks like a if-it-requires-a-manual-then-it-is-no-good kind of situation.
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by easyw-fc »

leoheck wrote: Tue Jul 26, 2022 11:51 pm
easyw-fc wrote: Tue Jul 26, 2022 1:16 pm It seems something like RTFM
This looks like a if-it-requires-a-manual-then-it-is-no-good kind of situation.
:lol: are you a fine humorist, aren't you? :D
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by easyw-fc »

wmayer wrote: Tue Jul 26, 2022 8:36 pm
easyw-fc wrote: Tue Jul 26, 2022 1:16 pm I'm attaching what I had as preferred settings for STEP export (later on I will put also import),
git commit 70c18c80172e
thanks a lot :D
I'm going to retrieve also the info on importing settings
User avatar
onekk
Veteran
Posts: 6146
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by onekk »

leoheck wrote: Tue Jul 26, 2022 11:51 pm This looks like a if-it-requires-a-manual-then-it-is-no-good kind of situation.
Why school were invented tonteach people how to read and write if it simple to do.

Sadly without some teaching and some efforts I could not write in devangari, chinese, and japanese too and probably even in klingon.

Are you able to learn without a manual complex things?

Probably not as you asking here for advice.

RTFM his a legitimate answer, if a proper manual exist and sadly there is not yet a "complete manual" but as many people are able to model in FC someone has found a way to make the job.

Here you will usually learn many things, I save many forum post for "future reference" and it is usually a good thing, sadly you have to read them when your memory is not helping.

Regards.

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
ThanklessLiving
Posts: 98
Joined: Sat May 30, 2020 1:49 pm

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by ThanklessLiving »

leoheck wrote: Mon Jun 27, 2022 8:05 pm
GeneFC wrote: Mon Jun 27, 2022 7:44 pm FreeCAD does not "force" you to save anything.
Wrong. It is forcing me. It opens the file dialog. It slows down the progress.

So, how do I prevent it from opening this unwanted File (Document) save Dialog?
Should have started your topic with "I want to remove this very specific prompt because I find it annoying to make one click" instead of beating around the bush about freecad forcing you to save files.
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by easyw-fc »

wmayer wrote: Tue Jul 26, 2022 8:36 pm git commit 70c18c80172e
Hi @wmayer and @realthunder
here the full import/export setting I found the more adherent to what I get with CAD Assistant of OpenCascade (CADA is free to download without registration and it is available for Linux, win, osx, android, ios)

That should be the standard preset offered in case of a new 'clear' installation that would help in the best interoperability with other CADs


FreeCAD Main Branch
step-import-export-mainbranch.png
step-import-export-mainbranch.png (124.16 KiB) Viewed 900 times
-
FreeCAD LinkBranch
step-import-export-linkbranch.png
step-import-export-linkbranch.png (115.29 KiB) Viewed 900 times
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: FreeCad forces me to save a file when a .step file is loaded.

Post by Zolko »

easyw-fc wrote: Sat Oct 01, 2022 9:07 am That should be the standard preset
I disagree : invisible objects shouldn't be exported in a STEP file by default. Else, how do you export a subset of a large assembly ? Take the example of an assembly, where you have the interface data (allowed / forbidden volumes) and also many sub-assemblies. What you will want to do is to export the main assembly with the interface data, but not the sub-assemblies, as STEP file, and send that – small ! – STEP file to the designers of each sub-assembly as reference : how do you achieve that ?

I don't have an opinion for import.
try the Assembly4 workbench for FreCAD — tutorials here and here
Post Reply