Hi Andrew
I discovered this while working on some lasercut grilles with polyline club pattern cutouts that needed trimming along the edges.
The basic example below is showing this odd behavior which leaves duplicates of the remaining arc and polyline rectangles.
The Gif file is a bit jittery..
Version:
3.32.1.0 (3.32.1)
Linux Mint 22.1 64bit [ not tested this on windows yet ]
Cheers
John
Remove Segment:Line Selection Mode Causes Duplicates
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.
-
- Premier Member
- Posts: 520
- Joined: Mon Sep 30, 2019 6:21 am
- Location: Melbourne - Australia
Remove Segment:Line Selection Mode Causes Duplicates
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]
-
- Premier Member
- Posts: 4940
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Remove Segment:Line Selection Mode Causes Duplicates
Hi John,
Confirmed ... Behavior exist also in QCAD 3.27.6, line mode was introduced in QCAD 3.26.3.
Typically with shapes that cross the auxiliary line more than once.
D2 in line selection mode is handled by a Pro Addon script BreakOutPro.js.
It calls the standard script BreakOut.js for each crossed entity and then again for each intersection.
For the functionality it deletes the original entities and creates fully new trimmed copies.
As per your example twice for each closed shape resulting in duplicates.
Already a question how it copes with deleting the original entity twice.
But things can get weird with open shapes:
Examples with 2...9 shapes from a single shape, no to 4 duplicates.
Your best option is to file a Bug report.
Regards,
CVH
Confirmed ... Behavior exist also in QCAD 3.27.6, line mode was introduced in QCAD 3.26.3.
Typically with shapes that cross the auxiliary line more than once.
D2 in line selection mode is handled by a Pro Addon script BreakOutPro.js.
It calls the standard script BreakOut.js for each crossed entity and then again for each intersection.
For the functionality it deletes the original entities and creates fully new trimmed copies.
As per your example twice for each closed shape resulting in duplicates.
Already a question how it copes with deleting the original entity twice.
But things can get weird with open shapes:
Examples with 2...9 shapes from a single shape, no to 4 duplicates.
Your best option is to file a Bug report.

Regards,
CVH
-
- Premier Member
- Posts: 520
- Joined: Mon Sep 30, 2019 6:21 am
- Location: Melbourne - Australia
Re: Remove Segment:Line Selection Mode Causes Duplicates
CVH
Thanks for the conformation.
Task added to bugtracker..
https://www.qcad.org/bugtracker/index.p ... sk_id=2648
Cheers
John
Thanks for the conformation.
Task added to bugtracker..
https://www.qcad.org/bugtracker/index.p ... sk_id=2648
Cheers
John
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]
-
- Premier Member
- Posts: 4940
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Remove Segment:Line Selection Mode Causes Duplicates
Voted it up ... From zero votes to one vote.
BTW:
D2 in line mode is about the answer to a 5 year old feature request FS#1983
Before I only needed to indicate the side, now I can draw an auxiliary line or several, one after the other, for a curved limit.
Requested closure ... Several older closure requests are trailing.
Regards,
CVH

BTW:
D2 in line mode is about the answer to a 5 year old feature request FS#1983
Before I only needed to indicate the side, now I can draw an auxiliary line or several, one after the other, for a curved limit.
Requested closure ... Several older closure requests are trailing.
Regards,
CVH