andrew wrote:Hatches could often be the cause of slow rendering (or in this case large PDF exports).
One of the hatches in the marked area is a rectangle shaped hatch of about 400x300 units with pattern HOUND and a scale factor of 0.05. This could easily take several seconds to render. If the factor would be even smaller, minutes or hours. For this reason, QCAD has a configurable timeout for rendering hatches (default is 2s).
I just followed through your post and located the offending hatches using the select filter you described and there they are!! How bizarre, I can't recall how this could have come about.
4 layers of hatches!! OMG!
andrew wrote: Your Linux machine was able to render the extremely dense hatch and exported it, creating the big (correct) PDF file.
Your Windows machine (and Stephan's Linux machine) are a bit slower than your Linux machine, so the extremely dense hatch caused a time out and was not exported, creating the smaller (incomplete) PDF file.
Well explained. I feel very happy that it was (ab)user caused, and not some bug waiting to haunt me again. My Windows machine is a virtual one, and has a very basic virtual graphics controller, so it would have certainly timed out if asked to work that hard to render 4 layers of dense hatching.
andrew wrote: I agree that some general tool to find all problem areas (zero length entities, huge entities, duplicate entities, dense hatch patterns, dense line patterns, etc) in a drawing would be helpful.
In the previous
hours I spent researching and trying to resolve this issue, apart from pruning and cropping my drawing, I used
"Block | Purged Unused Blocks", which found a couple of extraneous things, but still did not help with my main issue.
I am glad that I eventually asked on the forum, and I am VERY HAPPY that the root cause of this has been found. Mistaken dense hatches were the last thing I was looking for. I dread to think of the further hours I would have spent looking at the pdf engine of the OS. Thanks VERY much Andrew for your expert insight! If I see such a thing again, at least now I know where to start looking.
Regards, Gaz (QCAD noob)