prepare file for laser cut

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
ivanm
Registered Member
Posts: 1
Joined: Wed Jan 29, 2020 7:10 pm

prepare file for laser cut

Post by ivanm » Wed Jan 29, 2020 7:33 pm

Hello. I draw sketch and i want to cut it by laser in special firm.
But many lines is dublicated in my sketch.
How can I clear my sketch from dublicated lines???

PS: I tried to use "Modify->Detection->Detect Dublicates", but it helps only 20% of all.
I also tried to use special script for laser cut preparing "https://github.com/zippy84/lc-qcad" script. But I cannot install it.
after "Take the zip-file in the dist directory and unpack it in scripts/Misc/Modify of your QCAD installation. If neither Misc nor Modify exists, create them!" - there is no "Misc > Modify > Laser cutting formatter." in my meny.

So. Is there a simple metod to modify sketch for laser cutting????
My file is attached to this message
Attachments
zakaz1.dxf
(854.66 KiB) Downloaded 327 times

User avatar
plaatjesprater
Junior Member
Posts: 14
Joined: Thu Dec 19, 2019 2:09 pm

Re: prepare file for laser cut

Post by plaatjesprater » Thu Jan 30, 2020 5:48 pm

There is a special function to do this: Modify > Detection > etc. This works specially for exact copies. If there are also overlapping lines who are not exactly doubled it won't work. Those lines you have to delete manually. In important drawings I sometimes try every line, just to be sure. If you work carefully enough you can simply delete layers with support lines.
a good design is like love at first sight
system: win10 HE, i7 266GHZ, 32Gb RAM, Geforce RTX 2060, qcad: 3.23

CVH
Premier Member
Posts: 3467
Joined: Wed Sep 27, 2017 4:17 pm

Re: prepare file for laser cut

Post by CVH » Thu Jan 30, 2020 10:54 pm

Try:
https://qcad.org/rsforum/viewtopic.php?t=6654
and related topics from the same member.

Maybe I have some time to spare to look at your file.
The method that works best is to let Qcad search for continuous strings.
Isolate them, recombining.
A good indicator that a section is fully closed and simple is trying to hatch it.
Find Duplicates is specialized in very equal entities and not if the match is partially.

Regards,
CVH
Last edited by CVH on Fri Jan 31, 2020 12:13 am, edited 1 time in total.

CVH
Premier Member
Posts: 3467
Joined: Wed Sep 27, 2017 4:17 pm

Re: prepare file for laser cut

Post by CVH » Fri Jan 31, 2020 12:12 am

Did this quickly.

Started with Explode, Explode, Explode untill no more changes.
Detect Duplicates; dist tol 0,01; angle tol 1,00; both ignored.
Set those aside.
Used Poly from Segments to create strings and Poly from selected for the smaller closed forms.
Set the polys aside
Set the larger singles aside
-some are undetected doubles
-some are hidden behind longer entities
-some are just simple
What remained was very small, I call them spooks.
Set the Layer to pen max. bright yellow
There were Arcs and Lines both with zero length/radius.
Set those aside.

Nothing remaining
The next thing is to decided what to keep and bring back
.... :roll:
and ... restart all over
Exploding
Detecting doubles
Detecting zeros

After that it is straightforward. :wink:

BTW don't you need a spacing between the pieces ??

Regards
CVH
Attachments
zakaz1-rev.dxf
(505.35 KiB) Downloaded 318 times

Post Reply

Return to “QCAD 'How Do I' Questions”