Dear all,
I'm attaching a dxf drawing to this post. I'm selecting all its entities with Ctrl+A; then I create a Library Block typing B,T. This operation takes just some seconds (or less) to be completed in my computer. But... when I create a block typing B,C and with exactly the same content/entities, it's taking about 15 minutes! I don't understand why. I guess it has to be something related with graphics... Some idea?
I'm using QCAD Professional 3.23.0.0 (3.23.0) with Linux Ubuntu 18.04 LTS. My computer is a 2013 Macbook Air with 128GB of hard-disk and 4GB of RAM.
Creating a new block is taking a lot of time
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
- dfriasb
- Senior Member
- Posts: 119
- Joined: Thu Mar 10, 2016 1:08 pm
- Location: Calafell, Tarragona, Spain
Creating a new block is taking a lot of time
- Attachments
-
- Tor11-13v9_qcadForum.dxf
- I'm trying to make a block with all these entities, but it takes about 15 minutes
- (4.92 MiB) Downloaded 484 times
Re: Creating a new block is taking a lot of time
Hi,
if I remember correctly ...... we already talked about this a few times.
As you know QCAD is not built to handle "very large" files.
Now you're trying to built a block/library item with approx. 12000 entities which will sum up to around 5 MB ....
And, with my lack of Macbook experience, you are running the application on a 4 MB RAM machine - that's sound not good enough to me to run CAD application.
I tested the drawing on my Win Notebook. 8 MB RAM what is in my eye the absolute minimum for a CAD application. No reasonable way to handle a 5 MB block with QCAD ...
if I remember correctly ...... we already talked about this a few times.
As you know QCAD is not built to handle "very large" files.
Now you're trying to built a block/library item with approx. 12000 entities which will sum up to around 5 MB ....
And, with my lack of Macbook experience, you are running the application on a 4 MB RAM machine - that's sound not good enough to me to run CAD application.
I tested the drawing on my Win Notebook. 8 MB RAM what is in my eye the absolute minimum for a CAD application. No reasonable way to handle a 5 MB block with QCAD ...
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..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Creating a new block is taking a lot of time
My PC doesn't even get through it in 20 minutes.
Browsed a bit while BC ran.
One remark: "Library Items" not "Library Blocks"
So I think there is a major difference between Library Items and Block Items.
Even read somewhere it is not a good idea to use blocks with the same name in Library items.
Or blocks in Library items at all.
But that were very old posts and that is not the matter here.
PS: 26 min.: BC is finished.
Edit:
Husky is right about the sheer amount of entities.
But the 5.1 Mb should not impose a problem.
Besides, it was already 4.92 Mb.
There is more then the +12000 lines on the Model Space you want to put in a block.
Most of your draftings are 'hidden' in Blocks and Paper Spaces.
Drawings on Paper Spaces is allready odd and maybe buggy.
So I isolated the map lines and ran BT, BC again.
Same results.
The map seperate in a file takes up 2.3 Mb.
What I don't understand is why all have to be included in a block.
And the use of paper space instead of layer.
I would use a Layer under Model Space for this.
Not displayed, the sheer amount won't even get in the way.
Regards,
CVH
Browsed a bit while BC ran.
One remark: "Library Items" not "Library Blocks"
So I think there is a major difference between Library Items and Block Items.
Even read somewhere it is not a good idea to use blocks with the same name in Library items.
Or blocks in Library items at all.
But that were very old posts and that is not the matter here.
PS: 26 min.: BC is finished.
Edit:
Husky is right about the sheer amount of entities.
But the 5.1 Mb should not impose a problem.
Besides, it was already 4.92 Mb.
There is more then the +12000 lines on the Model Space you want to put in a block.
Most of your draftings are 'hidden' in Blocks and Paper Spaces.
Drawings on Paper Spaces is allready odd and maybe buggy.
So I isolated the map lines and ran BT, BC again.
Same results.
The map seperate in a file takes up 2.3 Mb.
What I don't understand is why all have to be included in a block.
And the use of paper space instead of layer.
I would use a Layer under Model Space for this.
Not displayed, the sheer amount won't even get in the way.
Regards,
CVH
- dfriasb
- Senior Member
- Posts: 119
- Joined: Thu Mar 10, 2016 1:08 pm
- Location: Calafell, Tarragona, Spain
Re: Creating a new block is taking a lot of time
Dear all,
Thanks a lot for reading my post and also for your answers and opinions.
I did a test and, in my opinion, there is something not working properly with Block command (B,C). I tell you why:
Afterwards, I can work normally on this file with the block. I can rotate it, move it, edit, explode it, undo the explode to have the block again, and so on really fast.
So I guess the problem is with Block (B,C) procedure itself.
About RAM, 4GB is more than enough to manage this kind of drawings. The problems come when using other applications at the same time. At least in my case.
I'm attaching all the files.
Thanks a lot for reading my post and also for your answers and opinions.
I did a test and, in my opinion, there is something not working properly with Block command (B,C). I tell you why:
- I open Tor11-13v9_qcadForumV2.dxf file
- I create a Library Item with all the entities that it has (+12.000). I name it Tor11-13v9_qcadForumV2_Library_Item.dxf
- I delete all entities on original Tor11-13v9_qcadForumV2.dxf file
- Then I import library item file Tor11-13v9_qcadForumV2_Library_Item.dxf into original file (now empty) AS BLOCK.
Afterwards, I can work normally on this file with the block. I can rotate it, move it, edit, explode it, undo the explode to have the block again, and so on really fast.
So I guess the problem is with Block (B,C) procedure itself.
About RAM, 4GB is more than enough to manage this kind of drawings. The problems come when using other applications at the same time. At least in my case.
I'm attaching all the files.
- Attachments
-
- Tor11-13v9_qcadForumV2.dxf
- ORIGINAL file with +12.000 lines
- (2.12 MiB) Downloaded 480 times
-
- Tor11-13v9_qcadForumV2_Library_Item.dxf
- Library item created in less than a second from original file
- (2.09 MiB) Downloaded 468 times
-
- Tor11-13v9_qcadForumV2_with_Library_Item_inserted_as_Block.dxf
- Library item INSERTED as BLOCK in this file. It takes 1 minute 15 seconds to have all the +12.000 entities packed into a block this way.
- (2.12 MiB) Downloaded 476 times
Re: Creating a new block is taking a lot of time
I've created a task in the bug tracker at:
https://www.qcad.org/bugtracker/index.p ... sk_id=1984
https://www.qcad.org/bugtracker/index.p ... sk_id=1984
Re: Creating a new block is taking a lot of time
This has been fixed for the next release and now takes about 2-3sec.
Re: Creating a new block is taking a lot of time
Thanks, Andrew.
Followed the bugreport and commit.
That such a minor change can have that result.. ..!!
Regards,
CVH
Followed the bugreport and commit.
That such a minor change can have that result.. ..!!
Regards,
CVH
- dfriasb
- Senior Member
- Posts: 119
- Joined: Thu Mar 10, 2016 1:08 pm
- Location: Calafell, Tarragona, Spain
Re: Creating a new block is taking a lot of time
Thanks a lot!! Minor change, MAJOR step for blocking fans!