Priority for path rules

Having problems with or questions about SheetCam? Post them here.
Post Reply
shad
Posts: 17
Joined: Mon May 19, 2014 9:13 pm

Priority for path rules

Post by shad »

Hi Les!
I use a wonderful SheetCamTNG feature - the path rules for plasma cutting.
All work fine! But in any case I have the problem.
For example I have 2 path rules - On AllCorner and Before End for THC ON/OFF control.
Before end SheetCam set the THCOFF action point. But if there is then a corner, then "On All Corner" rule is triggered and the THC control can be switched ON again.
This is fragment of the program

Code: Select all

N1460 G01 X154.9204 Y305.5000 F3400
N1470 E5P1 (THCOFF) (Before end)
N1480 G01 X164.9819 Y305.5000 F3400
N1490 G02 X165.0400 Y305.4966 I164.9819 J305.0000 F3400.0
N1500 G01 X165.0605 Y305.4942 F3400
N1510 G02 X165.3560 Y305.3512 I165.0024 J304.9976 F3400.0
N1520 G01 X166.0631 Y304.6440 F3400
N1530 E5P0 (THCON) (On all corners)
N1540 G01 X168.5557 Y302.1514 F3400
N1550 M05
Can I set the highest priority for the "Before End" rule?
Can I do it, after triggering "Before End" rule others rules were blocked until the end of the cut? I hope it is possible.
Thanks!!!Image
Attachments
2015-04-07_104603.jpg
2015-04-07_104603.jpg (23.02 KiB) Viewed 5234 times
User avatar
Les Newell
Site Admin
Posts: 3661
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell »

Hmm, I see the problem. I put quite a bit of time into making the rules automatically sort out overlaps and conflicts but I didn't think of this scenario. The next development release will fix this. I will try to get it out in the next week or so.
shad
Posts: 17
Joined: Mon May 19, 2014 9:13 pm

Post by shad »

Thanks!
We look forward to the update!
shad
Posts: 17
Joined: Mon May 19, 2014 9:13 pm

Post by shad »

Hello Les!
I have another question about rules.
I have to cutting one hole. Diameter 6 mm.
I have enabled rule for hole less than 30 mm and rule On all corners to disable THC. But when I run postprocessor corners rule applies to hole - this is incorrect.
If I am disable rule for corners, code generated correctly.
Why Corner rule applies to hole?
Thank you!
Attachments
2016-07-27_190214.png
2016-07-27_190214.png (102.3 KiB) Viewed 4643 times
2016-07-27_190307.png
2016-07-27_190307.png (91.88 KiB) Viewed 4643 times
shad
Posts: 17
Joined: Mon May 19, 2014 9:13 pm

Post by shad »

I am forgot to attach job file.
Attachments
teglalap.job
(7.99 KiB) Downloaded 232 times
User avatar
Les Newell
Site Admin
Posts: 3661
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell »

The rules are being applied correctly. Due to the limited space in that circle the lead in has been tipped slightly. There is more than 10 degrees between the end of the leadin and the start of the circle so your 'on corners' rule is being triggered. There are two possible solutions here:
1) Increase the angle in your corners rule
2) Use the development version of SheetCam and use the 'Start at the centre of circles' option in the plasma cut operation. When you start at the centre of a circle the leadin meets the circle perfectly.

By the way it is better to start a new thread rather than resurrect a year old thread. It is easier for others to find if they have similar issues.
shad
Posts: 17
Joined: Mon May 19, 2014 9:13 pm

Post by shad »

Thank you very mach for fast answer and help! I will try to make this changes.
On the next time I will start new thread.
Post Reply