-
NESTING SAMPLES
I often have to cut 2 sample out of the same piece of material, is there a way by using an offset command of some type to cut the first sample then the machine offset for the next part and cut it it with out having to unclamp the part rotate it or many re set the machine these are the 2 samples i would like to cut in the order i would want to cut them, i would like to nest them together as close as possible even having the cutter pat over lap itself on the insdie cut were the 2 samples are next to each other thanks in advance everyone looking forward to what you come up with i would like to offset on the y-axis towords the front of the machine (mazak 430A)
1 st sample
G17 G20 G40 G80
G90 G54
M6 T1 (scribe)
G90 G0 X1.1 Y-0.625
G0 Z1.0
S1000 M3
G1 Z0.45 F25.
X1.
Y0.625
G0 Z1.
X-0.9 Y-0.625
G1 Z0.45 F25.
X-1.
Y0.625
M6 T3 (cut)
M3 S930
G90 G0 X6.25 Y-0.75
G0 Z0.85 M08
G1 G41 X5.625 Y-0.75 D2 Z-0.875 F3.
X1.9364 G1 F10.
G3 X1.275 Y-0.5 I-0.6614 J-0.75
G1 X-1.275
G3 X-1.9364 Y-0.75 I0 J-1.
G1 X-5.875
Y0.75
X-1.9364
G3 X-1.275 Y0.5 I0.6614 J0.75
G1 X1.275
G3 X1.9364 Y0.75 I0 J1.
G1 X5.875
Y-0.75
X5.5
G0 Z10. M9
G0 G40 X0 Y3.5
G91 G28 Z0.
G91 G28 Y0.
G90
M30
Second sample
G17 G20 G40 G80
G90 G54
M6 T1 (scribe)
G90 G0 X1.1 Y-0.625
G0 Z1.0
S1000 M3
G1 Z0.35 F25.
X1.
Y0.625
G0 Z1.
X-0.9 Y-0.625
G1 Z0.35 F25.
X-1.
Y0.625
M6 T2 (cut)
M3 S930
G90 G0 X6.25 Y-0.75
G0 Z0.8 M08
G1 G41 X5.625 Y-0.75 D2 Z-0.875 F5.
X1.9364 G1 F12.
G3 X1.275 Y-0.5 I-0.6614 J-0.75
G1 X-1.275
G3 X-1.9364 Y-0.75 I0 J-1.
G1 X-5.875
Y0.75
X-1.9364
G3 X-1.275 Y0.5 I0.6614 J0.75
G1 X1.275
G3 X1.9364 Y0.75 I0 J1.
G1 X5.875
Y-0.75
X5.5
G0 Z10. M9
G0 G40 X0 Y3.5
G91 G28 Z0.
G91 G28 Y0.
G90
M30
-
Re: NESTING SAMPLES
This should get you what you need. I combined the the two parts in one program so the tool stays out for the second part.
Just set your work offsets for each part to how ever close you want so that the tool fits between them.
(G54 - PART1 WORK OFFSET)
(G55 - PART2 WORK OFFSET)
G17 G20 G40 G80
G90 G54
M6 T1 (G54 scribe1)
G90 G0 X1.1 Y-0.625
G0 Z1.0
S1000 M3
G1 Z0.45 F25.
X1.
Y0.625
G0 Z1.
X-0.9 Y-0.625
G1 Z0.45 F25.
X-1.
Y0.625
G0 Z1.0
G55 X1.1 Y-0.625(G55 scribe2)
G1 Z0.45 F25.
X1.
Y0.625
G0 Z1.
X-0.9 Y-0.625
G1 Z0.45 F25.
X-1.
Y0.625
M6 T3 (G54 cut1)
M3 S930
G90 G54 G0 X6.25 Y-0.75
G0 Z0.85 M08
G1 G41 X5.625 Y-0.75 D2 Z-0.875 F3.
X1.9364 G1 F10.
G3 X1.275 Y-0.5 I-0.6614 J-0.75
G1 X-1.275
G3 X-1.9364 Y-0.75 I0 J-1.
G1 X-5.875
Y0.75
X-1.9364
G3 X-1.275 Y0.5 I0.6614 J0.75
G1 X1.275
G3 X1.9364 Y0.75 I0 J1.
G1 X5.875
Y-0.75
X5.5
G0Z1.
G55 X6.25 Y-0.75(G55 cut2)
G0 Z0.85 M08
G1 G41 X5.625 Y-0.75 D2 Z-0.875 F3.
X1.9364 G1 F10.
G3 X1.275 Y-0.5 I-0.6614 J-0.75
G1 X-1.275
G3 X-1.9364 Y-0.75 I0 J-1.
G1 X-5.875
Y0.75
X-1.9364
G3 X-1.275 Y0.5 I0.6614 J0.75
G1 X1.275
G3 X1.9364 Y0.75 I0 J1.
G1 X5.875
Y-0.75
X5.5
G0 Z10. M9
G0 G40 X0 Y3.5
G91 G28 Z0.
G91 G28 Y0.
G90
M30
hope that helps
-
Re: NESTING SAMPLES
Thanks for the quick reply mcode took a little but i managed to get it, this site is great with greaT pepole willing to give a newbie a hand, hope i can return the same someday.
thanks again
-
Re: NESTING SAMPLES
mcode i have a small problem when i run this both parts come out the same size but when i run them individually the second come out with a 1" reduce section in the middle like its suppose to? im sure its something im missing lol thanks again
-
Re: NESTING SAMPLES
The two samples shown are the same except the etching Z vales and the approach
Z for the profile. If you post a sketch I'll understand what you need better.
-
1 Attachment(s)
Re: NESTING SAMPLES
Attachment 258502
not sure if there is a tool comp running somewhere on the file you gave but when I run these 2 the parts they are different which is what I need, first part has a .5 inch reduced section second part has a 1 inch reduced section thanks again for your help
first sample should be
G17 G20 G40 G80
G54
G90
M6 T1 (scribe)
G0 X1.1 Y-0.3125
G0 Z1.
S1000 M3
G1 Z0.35 F25.
X1.
Y0.3125
G0 Z1.
X-0.9 Y-0.3125
G1 Z0.35 F25.
X-1.
Y0.3125
M6 T2 (cut)
M3 S930
G90
G0 G41 D2 X5.375 Y-0.593 Z1.0
G1 Z0.5 M08 F5.
X5.375 Y-0.3437 Z-0.875 F5.
X1.6977
G1 F12.
G3 X1.275 Y-0.25 I-0.4227 J-0.9063
G1 X-1.275
G3 X-1.6977 Y-0.3437 I0 J-1.
G1 X-5.625
Y0.3437
X-1.6977
G3 X-1.275 Y0.25 I0.4227 J0.9063
G1 X1.275
G3 X1.6977 Y0.3437 I0 J1.
G1 X5.875
Y-0.3437
X5.5
G0 Z10. M9
G0 G40 X0 Y3.5
G91
G28 Z0.
G91 G28 Y0.
M30
second part
G17 G20 G40 G80
G90 G54
M6 T1 (scribe)
G90 G0 X1.1 Y-0.625
G0 Z1.0
S1000 M3
G1 Z0.35 F25.
X1.
Y0.625
G0 Z1.
X-0.9 Y-0.625
G1 Z0.35 F25.
X-1.
Y0.625
M6 T2 (cut)
M3 S1550
G90 G0 X6.25 Y-0.75
G0 Z0.8 M08
G1 G41 X5.625 Y-0.75 D2 Z-0.875 F5.
X1.9364 G1 F12.
G3 X1.275 Y-0.5 I-0.6614 J-0.75
G1 X-1.275
G3 X-1.9364 Y-0.75 I0 J-1.
G1 X-5.875
Y0.75
X-1.9364
G3 X-1.275 Y0.5 I0.6614 J0.75
G1 X1.275
G3 X1.9364 Y0.75 I0 J1.
G1 X5.875
Y-0.75
X5.5
G0 Z10. M9
G0 G40 X0 Y3.5
G91 G28 Z0.
G91 G28 Y0.
G90
M30
-
Re: NESTING SAMPLES
m code with these 2 sample they cut undersize by approx .5 inch im using an .5 end mill not sure what im missing is it a tool comp somewhere i dont see or i should have?
-
Re: NESTING SAMPLES
thanks for your help mcode so i did as you instructed went a little futher then i noted i had not changed one of the ys thanks for your help i have a few more ?s well probbaly alot lol but the path is running fine thanks again for your help