Having terrible problems exporting dxf file to PDF

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
MarkMcC
Junior Member
Posts: 14
Joined: Thu Apr 08, 2021 9:33 am

Having terrible problems exporting dxf file to PDF

Post by MarkMcC » Fri Apr 30, 2021 2:25 am

Hi,
I am having terrible problems exporting this dxf file to PDF. :(
Keeps showing down QCAD to the point of crashing.

Can someone please try and convert it to a PDF and in Landscape ?
As attached.
If there any way of avoiding this problem ?

Thanks,



Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-50-generic
OS Type: 64-bit
Processors: 2 × AMD A4-4000 APU with Radeon(tm) HD Graphics
Memory: 10.9 GiB of RAM
Graphics Processor: Radeon RX 580 Series

Version:
3.26.2.0 (3.26.2)
Internet:
QCAD.org
Build Date:
Apr 13 2021
Revision:
57092ea
Qt Version:
5.8.0
Architecture:
x86_64
Compiler:
gcc 4.8.1
Attachments
din_a3_m_landscape_Front-beds-002_red.dxf
For PDF
(1.06 MiB) Downloaded 383 times

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Having terrible problems exporting dxf file to PDF

Post by Husky » Fri Apr 30, 2021 5:39 am

Why I'm doing this???? Ah yeh ..... because it is Friday. :D :D :D


The pdf is to large (> 100MB) for the forum. You can download the pdf from this download link:
https://filetransfer.io/data-package/F7kwJoox#link

The file will only be available for a few days!
MarkMcC wrote:
Fri Apr 30, 2021 2:25 am
If there any way of avoiding this problem ?
That is pretty simple - just pay attention to that what is said in this forum :wink:
viewtopic.php?f=33&t=8343&p=33098#p32853
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Having terrible problems exporting dxf file to PDF

Post by CVH » Fri Apr 30, 2021 8:28 am

It seems that QCAD users are into plants these days ...
Is that really common on a Friday for you, Husky? :lol:

I would like to add this reference: https://qcad.org/rsforum/viewtopic.php?t=8390
And this one too: https://qcad.org/rsforum/viewtopic.php? ... 817#p29817

In: viewtopic.php?t=8343&p=33098#p32855
Trial 2 worked out. (Importing blocks in a suited scale)
And the picture method was even better. :wink:
Only a few pixels wide they don't have any details at all.

Most plants blocks are again very tiny ... With huge block reference scales, scaled blocks in scaled blocks and so on.
Details are very high to get a few (1577) colored 'blobs' on paper. (forgive me the expression :wink: )

Can I asked you the following:
Is this your 20 by 4m plant bed scaled to 200 by 100? viewtopic.php?t=8405
Why are the plants round? They should look squeezed as the scale is non-uniform.
Are you aware that it is drawn as 200m by 100m? With plants about 3 meters wide?
On the paper is mentioned 1:50 (f0.02) but the actual paper scale is f0.000748 or rather 1:1337 ... :shock:

'Lobelia erinus' = block 'Alyssum Lobularia maritima' scaled f1000 = block '???' scaled f1.0, itself about 3mm wide.
= 216 polylines 0.000037 long with global width 0.00004 to show as little squares (= problematic)
+ 64 polylines as simple line segments (why polys?)
+ 16 tapered green polylines
Used 289 times with a total entity count of 85k.

'Sweet Alyssum Lobularia Maritima' = block 'Drawing2-plant-f03' scaled f118.8 = block 'A$C507E7ACC' scaled f0.81, itself also about 3mm wide.
= 604 Line segments
+ 304 ellipse arcs, what are in fact pairs of semi-circles (= problematic as higher order entities)
Used 337 times with a total entity count of 306k.

Now remark the naming swap here ...
'Limnanthes douglasii' = block 'Sweet Alyssum Lobularia Maritima' scaled f0.726 = block 'A$C0388573D scaled f0.99637, itself 4.7 meter wide.
= 4 Hatches with 36 loops in total
Used 79 times with a total loop count of 2844.

'Snapdragons' = block 'Sdg' scaled f1000 = block '???' scaled f1, itself again about 3mm wide.
= 56 fitpoint splines
+ 4 ellipses
Used 85 times, 5100 higher order entities.

And this goes on ....
... A calculated guess is that there are about 500k entities to render (about 288 per plant),
scaled up from scaled and that scaled down to paper.

I can not export it to pdf so be lucky that Husky could.

Regards,
CVH

MarkMcC
Junior Member
Posts: 14
Joined: Thu Apr 08, 2021 9:33 am

Re: Having terrible problems exporting dxf file to PDF

Post by MarkMcC » Fri Apr 30, 2021 10:20 am

Thanks so much Huskey. :-)
You must have a very nifty PC there too.

The 'Key area' "images" to not come through on PDF
20210430_Key-area.png
Key area
20210430_Key-area.png (88.71 KiB) Viewed 6481 times
But the PDF conversion, gets it over the line !

And thanks CVH, will have to think more about optimisation,
I was hoping that converting the elements into blocks for the library, would make sure
that I would not run into trouble.

Is there a way of keeping track of the number of blocks used,
as is used more typically with engineering and BOM(Bill of materials) ?

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Having terrible problems exporting dxf file to PDF

Post by CVH » Fri Apr 30, 2021 4:43 pm

MarkMcC wrote:
Fri Apr 30, 2021 10:20 am
Is there a way of keeping track of the number of blocks used,
Yes, that is what I used to list some details
Menu > Misc > Block > Export Block List
But it doesn't list the Block structure like the layer list does.
So there are blocks only used once in another block and that block may be use many times.

Regards,
CVH

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Having terrible problems exporting dxf file to PDF

Post by Husky » Fri Apr 30, 2021 9:54 pm

MarkMcC wrote:
Fri Apr 30, 2021 10:20 am
The 'Key area' "images" to not come through on PDF
You didn't provide the images Here is explained how it works in QCAD:

viewtopic.php?f=32&t=8162&hilit=image
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

MarkMcC
Junior Member
Posts: 14
Joined: Thu Apr 08, 2021 9:33 am

Re: Having terrible problems exporting dxf file to PDF

Post by MarkMcC » Sun May 02, 2021 12:10 am

Thanks Huskey.

I'm am using Linux.
Now from that link you sent, I assume now the path requirements are relative as in same folder & also recursive.

It would be handy if when linking / embedding images that there was a 'tool tip' note in QCAD for guidance
for users, to make sure it works, as hoped for !

Post Reply

Return to “QCAD Troubleshooting and Problems”