File size remain big after deleting ALL
File size remain big after deleting ALL
We started to simplify the market components our engineers download from internet as they are often bloated with useless details. Especially electrical compoments and plastic parts are quite heavy.
I had a flow sensor assy that was like 10+MB and we got it down to less than 900kb. the geometry was reduced to the essential shapes without parting lines drafts small features etc.
we noticed that opening the simplified parasolid gave use a 300kb file for one component, while importing the same simplified parasolid in the sldprt created by our engineer importing the downloaded data inside our part template, will bring the file size at over 3MB after completely removing the original (heavy) solid bodies from the tree. (not the delete body command)
I tried to turn off tessallation, OLE embedding inside the solidworks file, forced rebuild, check on rebuild on...
Deleting everything and leaving an empty file still give us a stunnIng 2.8MB for what is supposed to be a 150kb empty part template.
Any idea of what remains inside the part file??
I had a flow sensor assy that was like 10+MB and we got it down to less than 900kb. the geometry was reduced to the essential shapes without parting lines drafts small features etc.
we noticed that opening the simplified parasolid gave use a 300kb file for one component, while importing the same simplified parasolid in the sldprt created by our engineer importing the downloaded data inside our part template, will bring the file size at over 3MB after completely removing the original (heavy) solid bodies from the tree. (not the delete body command)
I tried to turn off tessallation, OLE embedding inside the solidworks file, forced rebuild, check on rebuild on...
Deleting everything and leaving an empty file still give us a stunnIng 2.8MB for what is supposed to be a 150kb empty part template.
Any idea of what remains inside the part file??
- Peter De Vlieger
- Posts: 52
- Joined: Fri Mar 12, 2021 9:46 am
- x 223
- x 105
Re: File size remain big after deleting ALL
I don't have a solution.
Things to try if you haven't done so yet to get parts smaller:
- check to remove display states as well as non needed configs
- purge cached config data
- and just re-saving a part, yep saving the same part without changing anything can make a part smaller with a factor of 1/3rd smaller to 1/10th smaller in my experience.
It's been a gripe of mine for over a decade that Solidworks is very wasteful with file sizes and that they don't give a crap about it.
E.G.: we got our PRTDOT down to 27kb. This may sound good until you realize that it means it's 27.000 bytes to store some variables and contains not one single feature or other user added element. FYI, the original Pacman game was only 24kb, the entire game including sounds.
On top of it comes the fact that SW has been busy the last few years to make things load quicker but they do that by storing even more data in the files so that file sizes explode. Perhaps with their entire push to cloud and them having to start paying for storage space that they finally get some proper coding done. Won't hold my breath.
Things to try if you haven't done so yet to get parts smaller:
- check to remove display states as well as non needed configs
- purge cached config data
- and just re-saving a part, yep saving the same part without changing anything can make a part smaller with a factor of 1/3rd smaller to 1/10th smaller in my experience.
It's been a gripe of mine for over a decade that Solidworks is very wasteful with file sizes and that they don't give a crap about it.
E.G.: we got our PRTDOT down to 27kb. This may sound good until you realize that it means it's 27.000 bytes to store some variables and contains not one single feature or other user added element. FYI, the original Pacman game was only 24kb, the entire game including sounds.
On top of it comes the fact that SW has been busy the last few years to make things load quicker but they do that by storing even more data in the files so that file sizes explode. Perhaps with their entire push to cloud and them having to start paying for storage space that they finally get some proper coding done. Won't hold my breath.
Re: File size remain big after deleting ALL
Under document properties, model display, see if these two items are checked:
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
- Frederick_Law
- Posts: 1944
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1634
- x 1466
Re: File size remain big after deleting ALL
I won't try to "fix" the big file.
Just export to Parasolid and import to new file.
Replace old one.
Just export to Parasolid and import to new file.
Replace old one.
Re: File size remain big after deleting ALL
we are already doing it, but file size could get unnoticed and I was wondering about the cause and howvto avoid it.Frederick_Law wrote: ↑Thu Jun 08, 2023 9:21 am I won't try to "fix" the big file.
Just export to Parasolid and import to new file.
Replace old one.
our objective is to simplify the 3d models to avoid our assemblies to be graphically bloated and slow.
But sometimes it is better to use the old file to keep the mates from exploding, insert a simplified body and swap the mates.
my team is not in charge of design, but sometimes we need to swap the bloated model while already in use with minimum impact on the design side.
Re: File size remain big after deleting ALL
I forgot the purge configuration data, I will try it.Peter De Vlieger wrote: ↑Thu Jun 08, 2023 5:36 am I don't have a solution.
Things to try if you haven't done so yet to get parts smaller:
- check to remove display states as well as non needed configs
- purge cached config data
- and just re-saving a part, yep saving the same part without changing anything can make a part smaller with a factor of 1/3rd smaller to 1/10th smaller in my experience.
It's been a gripe of mine for over a decade that Solidworks is very wasteful with file sizes and that they don't give a crap about it.
E.G.: we got our PRTDOT down to 27kb. This may sound good until you realize that it means it's 27.000 bytes to store some variables and contains not one single feature or other user added element. FYI, the original Pacman game was only 24kb, the entire game including sounds.
On top of it comes the fact that SW has been busy the last few years to make things load quicker but they do that by storing even more data in the files so that file sizes explode. Perhaps with their entire push to cloud and them having to start paying for storage space that they finally get some proper coding done. Won't hold my breath.
I have forced rebuilt and saved the file a lot of times with no change at all. It does not go under 2.8MB
Re: File size remain big after deleting ALL
Ballooning file size with poor purge functionality is one of my biggest complaints with SW. My drawing files can explode in size and really drag on my computer's speed. I can cure it by copying a sheet and pasting into a new empty Drawing but then I lose Custom properties etc.
- AlexLachance
- Posts: 2174
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2353
- x 2008
Re: File size remain big after deleting ALL
Have you trying doing a save-as to create a new file? I've had files go down drastically in size with a simple save-as.
- DanPihlaja
- Posts: 839
- Joined: Thu Mar 11, 2021 9:33 am
- Location: Traverse City, MI
- x 804
- x 973
Re: File size remain big after deleting ALL
Every single file that I download from the internet, i run through what @zxys001 refers to as a "parasolid wash".
I save the part out as a parasolid, then open the parasolid and overwrite the original file.
This completely strips everything away that isn't geometry (and without an actual translation algorithm as well!)
I save the part out as a parasolid, then open the parasolid and overwrite the original file.
This completely strips everything away that isn't geometry (and without an actual translation algorithm as well!)
-Dan Pihlaja
Solidworks 2022 SP4
2 Corinthians 13:14
Solidworks 2022 SP4
2 Corinthians 13:14
Re: File size remain big after deleting ALL
Update: purge all configuration does not reduce the size.