What does Std_Refresh do?
According to the wiki it is just a recompute.
And why would it improve document load time by a factor of 10? As some claim?
Std_Refresh
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Std_Refresh
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Std_Refresh
I don't remember precisely but I've seen a forum discussion about a simila argument, I will use my memory "that has proven to be broken"
As the FCStd file is a "container" it contains many things, and there is a command that will "clean the file" to delete "not necessary files" as they could be "recreated" "when needed" and usually this "when needed" is when a document is reopened.
This was made to "make FCStd file" more compact in case of archiving or email transmission.
From what I remeber it delete some brp files that contains "shapes" that are kept in the file to speed up visualization, some of them are "complicate" to be recompute and "some time is needed" during the recreation phase.
see maybe:
In this old post:Some more issues:
StdCmdForceRefresh replaces StdCmdRefresh because it uses the same name command Std_Refresh. But the current refresh command must not be replaced as it's much faster. Doing a force recompute can take a very long time to finish.
https://forum.freecadweb.org/viewtopic. ... 89#p250089
Probably it is better to ask to @wmayer the precise working of things.
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/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/