Page 1 of 1

[SOLVED] my drawing is not displayed in qcad but ...

Posted: Wed Feb 26, 2025 7:14 am
by poes
Hello World,

This is my first post here, pardon me for my English.

I have creating a simple drawing using QCAD Pro 3.32.2 for Macos M-series proc, after inserting and image using IM shortcut and then print it, QCAD showing a box asking for Autofit for drawing papper. The print preview window showing a blank preview.

Calcel the print preview and back to my drawing mode. All of my drawing is gone!! , reopen the file with no avail. The drawing is just vanish in the thin air. Its happen on me several times and its annoying.

Trying to open it using LibreCAD and the drawing is there but I can't print it, the drawing is viewable using CAD Viewer too.

I don't understand what happens (the app something crash or not responding/taking 100% CPU when playing with hatch). Please help, thanks you

Re: my drawing is not displayed in qcad but ...

Posted: Wed Feb 26, 2025 7:49 am
by CVH
Hi, and welcome to the QCAD forum.

A similar issue as for this recent topic.

2 Block reference refer to Block 'tree-p12'.
One inserted at (847.16860652, -767.74830878) another inserted at (1067.55297054, -382.06267879)
That are coordinates near your design but not really inside the blue border.

The issue is that the center of this 'tree' is drawn at (859563.87..., 71880.38...) in relation to the Block origin.
This Block is inserted at scale 10.
10 times larger but also 10 times further away from the insertion point.
They are thus visible near (8597000, 718000)

Same goes for a Block Reference to Block 'tree-p11' inserted at (1334.39644275, -282.8819192)
The center of this 'tree' is located near (859564.90..., 71882.69...) in relation to the Block origin.
This Block is inserted at scale 50.
It is thus visible near (42980000, 3595000)

On File open QCAD automatically zooms to all content.
The content is visible as 3 tiny blobs.

  • What would be the difference with other applications :?:
    I presume that they handle the Block content with a local reference.
    But that would be arbitrary like for example the center of the bounding box around the actual content.
    Then the reference changes when we add or delete Block content.
    For QCAD the insertion point relates directly to the Block origin ... Without assumptions.

Solution(s):
Edit the two Blocks and move their content nearer to the Block origin.
At best centered around the origin. Block 'tree-p03' is a good example.
If required, adapt the insertion scale.

OR

Perhaps you want to remove these 3 Block References.
One can select all Block References based on a certain Block by a right click on the name in the Block List and 'Select Block References'

One can also delete the Block definition itself and thus all references to it.
Best not before you are certain that it is not used elsewhere. :wink:

Regards,
CVH

Re: my drawing is not displayed in qcad but ...

Posted: Wed Feb 26, 2025 11:18 am
by poes
Thank you for your reply.

Ah, it makes sense now. After deleting the three tree-* blocks, my drawing appears in the print preview.

Thank you for your help. I really appreciate it.

:D

Re: my drawing is not displayed in qcad but ...

Posted: Wed Feb 26, 2025 11:34 am
by CVH
poes wrote:
Wed Feb 26, 2025 11:18 am
Ah, it makes sense now. After deleting the three tree-* blocks, my drawing appears in the print preview.
Yes indeed but now there are no longer trees in your design. :(

Editing Block 'tree-p11' and 'tree-p12' and moving the content to be centered around the origin would be more appropriate.

Exactly like 'tree-p03', typical radius is 1 unit, center is equal to Block origin.

poes wrote:
Wed Feb 26, 2025 11:18 am
Thank you for your help. I really appreciate it.
When considered as solved, please add [SOLVED] to the title of your initial post by editing it.

Regards,
CVH