Hi guys.
When we use auto trim to auto adjust/cut intercections, it takes like 47 seconds for QCad to process.
Please see images attached:
- before.png is when I clicked the inside line.
- after.png is the desired result, as you can see, it works fine, but it took 47 senconds.
- If we try with smaller drawings (with only one element in the grid), the auto trim process in 1 second.
- It only takes that long (+40s) with bigger drawings, with many elements in the grid.
It doesn't looks that it's a hardware limitation (hardware and S.O. specifications below), during the auto trim processing, my CPU is under 50% and RAM under 60%.
It seems like the app will check all the other drawings in the grid to process the auto trim in the line selected.
Is there any application settings to avoid this and make it faster?
Hardware and S.O. specifications:
- CPU AMD Rayzen 7 5700U 1.77 GHz
- RAM 16GB
- Windows 10 Pro
- QCad version: 3.26.4.0 (3.26.4)
Thank you very much for your help!
Auto Trim slow performance
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.
-
- Registered Member
- Posts: 1
- Joined: Wed Sep 08, 2021 2:04 pm
Auto Trim slow performance
- Attachments
-
- before.png (141.68 KiB) Viewed 3499 times
-
- after.PNG (78.1 KiB) Viewed 3499 times
Re: Auto Trim slow performance
Hi,
Without the mentioned 'large' file we can't help you efficiently.
There are more things that may induce lagging.
Lagging 40 seconds is rather stalling.
But you are right ...
... With a file with 400 basic entities ...
... No Block References, Splines, Hatches and so on ...
... AX on an arc shape traversed by 2 lines takes about 4 seconds.
For the good order: Win7Pro QCAD Pro Version: 3.26.4.5 Revision: e596276 Qt Version: 5.13.2 Architecture: i386
With such a large circle shape I would Break out Manually (B2) choosing what to remove.
With such a large arc shape I would Divide (DI) twice and remove unwanted segments.
Regards,
CVH
Without the mentioned 'large' file we can't help you efficiently.
There are more things that may induce lagging.
Lagging 40 seconds is rather stalling.
Basically it checks indeed against all other entities in the drawing model space as trimming candidates.bruno_silva wrote: ↑Wed Sep 08, 2021 2:36 pmIt seems like the app will check all the other drawings in the grid to process the auto trim in the line selected.
But you are right ...
... With a file with 400 basic entities ...
... No Block References, Splines, Hatches and so on ...
... AX on an arc shape traversed by 2 lines takes about 4 seconds.
For the good order: Win7Pro QCAD Pro Version: 3.26.4.5 Revision: e596276 Qt Version: 5.13.2 Architecture: i386
With such a large circle shape I would Break out Manually (B2) choosing what to remove.
With such a large arc shape I would Divide (DI) twice and remove unwanted segments.
Regards,
CVH
Re: Auto Trim slow performance
Trim Auto (AX) rather slow with many text entities ...
Same lag with D2 on Circle entities.
Slower for larger Arcs/Circles.
Same while trimming line entities.
Filed bugreport
https://www.ribbonsoft.com/bugtracker/i ... sk_id=2277
Regards,
CVH
Same lag with D2 on Circle entities.
Slower for larger Arcs/Circles.
Same while trimming line entities.
Filed bugreport
https://www.ribbonsoft.com/bugtracker/i ... sk_id=2277
Regards,
CVH
Re: Auto Trim slow performance
Good news ... Fixed for the next release.
Text entities are now excluded from the intersecting shape search.
For those who can manage ...
The fix is in ShapeAlgorithms.js what is open source.
Regards,
CVH
Text entities are now excluded from the intersecting shape search.
For those who can manage ...
The fix is in ShapeAlgorithms.js what is open source.
Regards,
CVH