Rhino Pdf in Rhino 7 makes enormous files

Good day everybody,
I’ve just moved to Rhino 7 (great improvements !!!), and I’m having some problems printing with rhino pdf.
It’s a 64.000 KB file, with 24 layouts; I need a vector output @ 300 dpi.
After a lot of try and crashed due to lack of ram ( i have 15 giga), the print driver made me a 890Mb file…(LOL)…
I saved the file in rhino 6 and opened with it, as i’m still using the evaluation version… the pdf reduced to 62.000 KB

I’ve found this old topic :
Rhino PDF Print Driver in Rhino 6 - Rhino / Rhino for Windows - McNeel Forum

Any suggestion?

Thanks in advance, wish you a lovely weekend!

Bruno

Please try the latest service release candidate of Rhino 7.2. There was a bug where pictures were being drawn twice to pdfs that has been fixed. That alone should not make as big of a difference in size as you are reporting, but it will help us start to figure out what is happening.

Thanks for the ludicrously speedly reply,
I’ll give it a try…

Cheers

Hello - another user mentioned this and it turned out he had some very dense hatches in the file - many many lines. Is that a possibility here?

-Pascal

Good point. We used to cap out the lines generated for a hatch to 160,000 so the rest of the hatch would not be drawn after that point. This would happen when someone had a very small scale on a hatch compared to the world size of geometry being used.

We removed this cap in V7, but are in the process of reinstating one since other issues like this have come about.

Hi Pascal,
I’ve had already checked that topic, but forgot to mention it, sorry.
No, this is not the case, i think… I have a lot of hatches, yes, but they arent too dense…
the fact is, anyway, that Rhino 6 is managing the printing of the same file in a different way…
…and NOPE, after i’ve installed Rhino 7.2, nothing changed, apart the fact that now the ram consuption is more faster but also more irregular.
Thanks

We’ll probably need to see the file to figure anything out then. You can send it to us in private if you don’t want to make it available publicly on discourse.

Ok, going to send it to you in private as soon as I go back to office.
Thanks guys, wish you a good day

-Bruno

Good day everyone,
I took some time to make some test today, and yes, Pasqual was right, it was a hatch problem.
The file was coming from “another” cad program, and there where a couple of small hatches somewhere very dense… after a purge and a clean copy and past in another file, the problem disappeared…
Thanks anyway for you precious time

Have a good weekend

-B

1 Like

It was me. I have feeling that even though the problem with slow response from acrobat was due to unintentional dense hatching the file size remained to still be suspisciously large.

Remain the fact that , saved in rhino 6 and printed from it, the pdf files are usually lighter. It also happen to me that in some rhino 6 files opened in rhino 7, some hatches like AR-CONC kind exlode… Going to make some more test this weekend.
Cheers

I have the same problem with pdf size. The hatches were created in V6. What is the trick to allow these hatches to print from V7 without dramatically increasing the pdf size beyond the V6 output?

Regards, Garry.
HouseRemodel28Hatch.3dm (4.6 MB)

Hi Garry -

I’m not sure I follow…
The file that you posted is in the Rhino 7 file format. Since you are comparing to Rhino 6 output, a Rhino 6 file format file would probably have been better. I purged the 4.6 MB file for 182 unused materials, 6 unused textures, and 10 bitmaps and saved as Rhino 6. When I print that file to PDF in Rhino 6 and in Rhino 7, the former creates a file that is 24 KB, the latter results in 25 KB. Is that the drastic increase (4%) in pdf size I’m looking at?
-wim

Hi Wim. I have created a V6 file with only the hatches and the layout page, then created a V7 copy. Interestingly, the pdf for V7 is slightly smaller. That might explain why yesterday I could not find a way to tweak the hatches to overcome the problem. The problem appears to lie elsewhere. Have you encountered other reasons for such increases?

The image below shows the substantial pdf size increases. The files with A, B, C and D in the names each include 3 layout pages. The files without the letters include all 12 pages from both V6 and V7. The full 12 page pdf changed from 45 MB to 153 MB. Pages 10 to 12 in the D files changed from 13 MB to 85 MB.

HouseRemodel28V6Hatch.3dm (4.4 MB)
HouseRemodel28V7Hatch.3dm (4.4 MB)

I have created separate pdf files for each of the 12 layout pages in V6 and V7. The pdf files which have increased in size include multiple rendered 3D images. Could this be the key to the puzzle? Page 4 includes 2 rendered 3D images, but it followed the pattern of other pages which slightly reduced the pdf size from V6 to V7. I have included screen shots of 3 of the V7 layout pages. I cropped the title block from the bottom of the pages.

Regards, Garry.

1 Like

Hi Wim. For comparison, I used PDF Creator to prepare page 12 in V6 and V7. The V7 pdf is slightly smaller than the V6 pdf, consistent with most of the layout pages using RhinoPDF. That appears to point to unexpected behaviour of RhinoPDF in V7 when it is dealing with rendered 3D images.

Rhino 7 SR28 2023-2-27 (Rhino 7, 7.28.23058.03001, Git hash:master @ 4ffc5d7156fbccf2a5d9fcc80e522b3851bc7f6c)
License type: Commercial, build 2023-02-27
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32Gb)

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 6-1-2021 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 2080 with Max-Q Design (NVidia) Memory: 8GB, Driver date: 12-5-2022 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 527.54
> Integrated accelerated graphics device with 4 adapter port(s)
- Video pass-through to primary display device

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 12-5-2022
Driver Version: 31.0.15.2754
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.28.23058.3001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.28.23058.3001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.28.23058.3001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.28.23058.3001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.28.23058.3001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

Regards, Garry.

@wim Any thoughts on this yet?

For me, a couple of years ago, was simply a problem of some hatches that changed from Solid to another one, but with a very small scale.
I discovered it simply deleting the hatches and printing the pdf without them

@wim Time has passed on this problem, but it is still preventing me from usiing V7. Any ideas?

@coffsoft Did you tried delete all the hatches?

@Bruno_Gasparini I think that I tried that at the time, but I have done it this morning. These pdf files were created in V6 and V7 after deleting the hatches. You will see from the image that the V7 pdf is more than 4 times the size of the V6 pdf. That is consistent with my earlier comparison between RhinoPDF and PDFCreator on March 21 above. That comparison was performed with both V6 and V7 models retaining the hatches.

Regards, Garry.