Page 1 of 1

[Solved] Bulk Break out

Posted: Tue Nov 28, 2017 2:45 am
by pimple
Hello, everyone!
I'm looking for a command / scripted way to apply 'Break out segment' to a group of lines. Here's a helping picture.
bulkBreakout.png
My situation
bulkBreakout.png (75 KiB) Viewed 65257 times
What I'm trying to achieve is getting the same result as if I was applying (D, 2) to all those lines, using the vertical line as guiding intersection. I'd like to apply this to the whole group, avoiding clicking on each line. Actually, the best case would be removing everything on the left of that vertical line, but I could do that using selection after applying (D, 2). I have no problems with doing it by means of a script, if necessary.

Thank you in advance,
Bye!

Re: Bulk Break out

Posted: Tue Nov 28, 2017 4:53 am
by Husky
Hi pimple - welcome to the QCAD Forum.
pimple wrote:Actually, the best case would be removing everything on the left of that vertical line, but I could do that using selection after applying (D, 2). I have no problems with doing it by means of a script, if necessary.
Yes, that is a very helpful tool but unfortunately only available in the QCAD Pro Version. It's called "Clip to rectangle" and works like your "Wishlist"
Husky-2017.11.27-04.png
Husky-2017.11.27-04.png (47.93 KiB) Viewed 65138 times
Husky-2017.11.27-05.png
Husky-2017.11.27-05.png (16.79 KiB) Viewed 65138 times
It comes with three options:
Clip to Area,
Clear Area,
or
Cut at Area Boundary

Re: Bulk Break out

Posted: Wed Nov 29, 2017 12:03 am
by pimple
Ok, so scripting it will be, I guess! :twisted:

Re: Bulk Break out

Posted: Sat Mar 01, 2025 11:14 am
by CVH
Introduced in QCAD 3.26.3 PRO:
Break Out (D2) in line mode.

Regards,
CVH

Re: Bulk Break out

Posted: Sat Mar 01, 2025 7:29 pm
by pimple
Hello CVH, thank you for your answer!
I can't remember whether back in 2017 I scripted a solution, or just did something different.
I might share the script, just for informational purposes, in case I find it.

Glad to know there's a Break Out with line mode in addition to the clip to rectangle mode in the PRO version since at least 2021.

Due to the age of this post, I'm now marking it as solved.

Thanks.