I didn’t mean just the grid. I’m sure there are plenty of gray dots to make up an image of an empty scene. I probably shouldn’t have posted a reply in this thread as I haven’t had the time to give you a quality answer.
What is the preview image used for? Did V5 and V6 have preview images? If they did then what changed in V7?
A much smaller amount of repeating lines are the V5 and V6 files. Those lines contain all 5’s when viewd with a hexadecimal viewr.
A guess, and only a guess. The repeating pattern is used to increase the minimum file size so that file writing (and/or file reading) talks longer, possibly to resolve an issue with cloud storage.
Preview images are used for displaying thumbnails of 3dms in Windows file explorer. Requests come in to make these images bigger and they have grown in size over different versions of Rhino.
I’ll try to spend time tomorrow to give you better information than what I have already provided.
There is something else at play here. I opened your blank file and then saved it under a different name and ended up with a 20kb 3dm. Do you have any 3rd party plug-ins installed? SystemInfo will tell you that if you aren’t sure.
No third party plug-ins were loaded. Orca3D is on the computer but I disabled it from loading. Also checked and the file isize was the same with it loaded. SystemInfo results are at the bottom of my first message.
I was put onto this by the file which Miano loaded in this thread. Lines through Points - #11 by davidcockey Zipped it is 26 KB. Unzipped it was 2,859 KB. Miano remarked that he frequently sees 100:1 compression ratios which indicate to me that are proably a lot of repeated bytes.
Interesting when I opened Rhino 7 in Safe Mode and saved the file was smaller than the files from V6 or V5. Files are in first message Also looked at the Safe Mode file contents and it does not have the repeated bytes.
Windows 10.0.19042 SR0.0 or greater (Physical RAM: 16Gb)
Computer platform: DESKTOP
Standard graphics configuration.
Primary display and OpenGL: AMD Radeon HD 7700 Series (AMD) Memory: 2GB, Driver date: 8-21-2020 (M-D-Y). OpenGL Ver: 4.6.13596 Compatibility Profile Context 20.10.35.02 27.20.1034.6
> Accelerated graphics device with 8 adapter port(s)
- Windows Main Display attached to adapter port #0
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: ATI Technologies Inc.
Render version: 4.6
Shading Language: 4.60
Driver Date: 8-21-2020
Driver Version: 27.20.1034.6
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 2 GB
Rhino plugins that do not ship with Rhino
C:\Program Files\Orca3D V2\Orca3D.rhp “Orca3D” 2.0.20.0
C:\Program Files\SimLab\Plugins\SimLab 3D PDF From Rhino 6\plugins\SimLabPDFExporter.rhp “SimLab PDF Exporter”
PanelingTools and SectionTools don’t actually ship with Rhino. Try disabling those, restart Rhino and save. I wouldn’t think those would be the cause, but it is good to eliminate possibilities
Rhino on mac saves a much bigger preview image than Windows does - save an empty file on mac and it is 2.3 MB, I believe this is mostly high-ish resolution preview. I think.
@pascal The larger file size only occurs with files saved using V7 on my laptop. Files saved using V7 on my desktop are much smaller and the same size as files save on either computer using V5, V6 and V8 (laptop only). So it does not seem to be preview image related. @stevebaer originally guessed it was image preview related and then changed his mind.
As described above the difference in file size appears to be due to a repeating pattern of bytes.