Page 1 of 1

Remove Segment:Line Selection Mode Causes Duplicates

Posted: Sat Mar 01, 2025 2:09 am
by John Hyslop
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
Duplicates.gif
Duplicates.gif (544.15 KiB) Viewed 38550 times

Re: Remove Segment:Line Selection Mode Causes Duplicates

Posted: Sat Mar 01, 2025 5:41 am
by CVH
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.

D2-Exceptions.dxf
D2 in line mode, indicate a line from A to B
(100.26 KiB) Downloaded 598 times

Your best option is to file a Bug report. :wink:

Regards,
CVH

Re: Remove Segment:Line Selection Mode Causes Duplicates

Posted: Sat Mar 01, 2025 9:54 am
by John Hyslop
CVH

Thanks for the conformation.

Task added to bugtracker..
https://www.qcad.org/bugtracker/index.p ... sk_id=2648

Cheers
John

Re: Remove Segment:Line Selection Mode Causes Duplicates

Posted: Sat Mar 01, 2025 10:04 am
by CVH
Voted it up ... From zero votes to one vote. :wink:

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