Common line Removal, hull vs align nesting
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Indicate the post processor used.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Indicate the post processor used.
Attach drawing files and screenshots.
Post one question per topic.
-
- Junior Member
- Posts: 19
- Joined: Fri May 21, 2021 11:42 pm
Common line Removal, hull vs align nesting
If you have two rectangles and they are placed abutting with 0 margin, does QCadCam remove the common line between?
I read the online help, and purchased the manual - and for the life of me I haven't found the difference between the Hull and Align nesting method?
Thanks
I read the online help, and purchased the manual - and for the life of me I haven't found the difference between the Hull and Align nesting method?
Thanks
Re: Common line Removal, hull vs align nesting
No. But you could run after nesting the "Detect duplicates" tool ...chrispedersen wrote: ↑Thu Oct 21, 2021 9:23 pmIf you have two rectangles and they are placed abutting with 0 margin, does QCadCam remove the common line between?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Common line Removal, hull vs align nesting
The "Align" strategy moves the parts closest to the chosen edges resulting in a rectangle shape hull, squeezed to the first priority alignment edge.chrispedersen wrote: ↑Thu Oct 21, 2021 9:23 pmI read the online help, and purchased the manual - and for the life of me I haven't found the difference between the Hull and Align nesting method?
The "Hull" strategy tries to first of all minimize the total surface area occupied by the parts. You will more likely end up with a roundish cluster of parts.
Please post one question per topic, thanks.
-
- Junior Member
- Posts: 19
- Joined: Fri May 21, 2021 11:42 pm
Re: Common line Removal, hull vs align nesting
if a common line is 2 " long and it coincides with a line 4" long, will it flag the 2" as duplicate and remove?Husky wrote: ↑Thu Oct 21, 2021 9:55 pmNo. But you could run after nesting the "Detect duplicates" tool ...chrispedersen wrote: ↑Thu Oct 21, 2021 9:23 pmIf you have two rectangles and they are placed abutting with 0 margin, does QCadCam remove the common line between?
Re: Common line Removal, hull vs align nesting
Called a partial duplicate.chrispedersen wrote: ↑Fri Oct 22, 2021 9:06 pmif a common line is 2 " long and it coincides with a line 4" long, will it flag the 2" as duplicate and remove?
No, that is one of the known limitations of the MD method.
One would have to set the tolerance to 2" or more in your example.
Several feature requests handle over this.
See forum and: https://qcad.org/bugtracker/
I usually fall back on closed contours as polylines.
What is not part of any polyline is then not a contour and probably a left over.
Still, a polyline can retrace over itself ... It is not watertight.
Regards,
CVH
Re: Common line Removal, hull vs align nesting
1. May I ask you at which CNC machine (Laser, Milling, Waterjet etc) you want to use an nesting arrangement with 0 margin alignment?chrispedersen wrote: ↑Thu Oct 21, 2021 9:23 pmIf you have two rectangles and they are placed abutting with 0 margin, does QCadCam remove the common line between?
2. How many possible overlaps we're realistically(!) talking about? 5? 50? 5000?
3. Do you have an example drawing which you can show us?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Junior Member
- Posts: 19
- Joined: Fri May 21, 2021 11:42 pm
Re: Common line Removal, hull vs align nesting
Hi Husky,Husky wrote: ↑Sat Oct 23, 2021 8:17 am1. May I ask you at which CNC machine (Laser, Milling, Waterjet etc) you want to use an nesting arrangement with 0 margin alignment?chrispedersen wrote: ↑Thu Oct 21, 2021 9:23 pmIf you have two rectangles and they are placed abutting with 0 margin, does QCadCam remove the common line between?
2. How many possible overlaps we're realistically(!) talking about? 5? 50? 5000?
3. Do you have an example drawing which you can show us?
Thanks again for all your help. I have a Golden Laser 180W 2500 x 3000(mm) table.
I am completely self (mis)taught. At this point I've done probably 10,000 parts. I'm cutting mostly fabric. My laser manufacturer suggested that in the fabric industry it is common to remove common lines.
I've adapted/written some code that removes common lines - but it doesn't nest as well as QCad does - specifically it optimizes for left/right not top bottom. And its more of a can of worms to resolve than I am competent to do.
On a typical cut file approximately 33% of the cut lines are common. (I pulled up one 36 cut lines, 12 common).
On the other hand, I cut that cut file 30 times a day... Each cut file takes 5:46 seconds to complete. So on a yearly its pretty hefty.
It would save an hour a day, I'm guessing.
The advantages to removing the common lines are
a): Saves laser time. CO2 laser tube good for roughly 3000 hours. Eliminating 1/3 of the usage ... is a good thing.
b): Cut quality. Going over the coincident edges can cause warping/discoloration on the edges. In the cases where I am using QCADCAM, I give up on saving laser time, and separate the parts by a fraction.
I'll generate and load up some test files later this afternoon, so you can see what I'm talking about.
Re: Common line Removal, hull vs align nesting
Thanks for the extra explanation. Looking forward for the example files ...
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Junior Member
- Posts: 19
- Joined: Fri May 21, 2021 11:42 pm
Re: Common line Removal, hull vs align nesting
So here is method 1, generating the .dxf programmatically: (should have no common lines)
Re: Common line Removal, hull vs align nesting
Sorry but I don't understand this example! It doesn't looks like it is done by nesting and the two common lines are easily removed with "Detect Duplicates". Please elaborate the purpose of this example. Where do we have to look at ...chrispedersen wrote: ↑Thu Oct 28, 2021 7:58 pmSo here is method 1, generating the .dxf programmatically: (should have no common lines)992-test-test-10.dxf
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Junior Member
- Posts: 19
- Joined: Fri May 21, 2021 11:42 pm
Re: Common line Removal, hull vs align nesting
Here is method two, using a public domain software I modified.
Here, its specified to remove the common lines.
Here, its specified to remove the common lines.
-
- Junior Member
- Posts: 19
- Joined: Fri May 21, 2021 11:42 pm
Re: Common line Removal, hull vs align nesting
Distance between parts set to zero.
Now, running the removal you suggested would remove a good number of the common lines - maybe half, but not all.
Re: Common line Removal, hull vs align nesting
Hi,
Method 1 = 48 pieces of 13.3640 by 7.5180
Both other examples are 12 by 8 mixed with 6 by 4.
Like comparing apples with ...
I don't think method 2 (62 by 24) and the QCAD solution (78 by 20) used the same target sheet.
BTW: For method two I had to set all polyline Global Width to zero instead of 0.013889 so QCAD could render it.
I can fit them snugly on a sheet of 60 by 24, 13 cuts, in under 3 min.
Sure there is nesting and nesting and partially common lines removal would be nice.
Regards,
CVH
Method 1 = 48 pieces of 13.3640 by 7.5180
Both other examples are 12 by 8 mixed with 6 by 4.
Like comparing apples with ...
I don't think method 2 (62 by 24) and the QCAD solution (78 by 20) used the same target sheet.
BTW: For method two I had to set all polyline Global Width to zero instead of 0.013889 so QCAD could render it.
I can fit them snugly on a sheet of 60 by 24, 13 cuts, in under 3 min.
Sure there is nesting and nesting and partially common lines removal would be nice.
Regards,
CVH
Re: Common line Removal, hull vs align nesting
Here is the bitter pill: A CAD nesting function is fascinating but only a mathematically solution. QCAD has no idea what you will do next with the result and how to optimize it for your further processing goals. This said - with all nesting option in QCAD you can make your life easier if you force the nesting tool in the right direction.chrispedersen wrote: ↑Thu Oct 28, 2021 9:41 pmQcadsolution.dxfAnd here is the QCadSolution.
Distance between parts set to zero.
Your example files are inconsistent. Nevertheless my example will show the process to meet your goals: No common lines, less laser time, less maintenance.
We know that the tool "Detect Duplicates" can't find reliable partial duplicates. To avoid that we can minimize the outcome of partial duplicates with a smart part arrangement. In my example I nested by size to have most of the expected duplicates as a same length duplicate.
Now with this arrangement we can use common sense where to look for duplicates. No need for endless looking behind the curtains ...chrispedersen wrote: ↑Thu Oct 28, 2021 9:41 pmQcadsolution.dxfAnd here is the QCadSolution.
Distance between parts set to zero.
Now, running the removal you suggested would remove a good number of the common lines - maybe half, but not all.
There are only two lines suspicious where partial duplicates could be exist and the rest will be find by "Detect Duplicates". You agree?
Ok, let's do it! If I now run the "Detect Duplicates" tool I'll find 56 duplicates - I delete them. The rest is hidden in only two lines - I clean it manually.
How much work (Time) is needed to do it this way? Nesting took me around 1:50 min. Cleaning around 50 seconds = 2:40 min. I'm faster when I don't have to document it ....
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."