Post processor - pierce height before touch off

Having problems with or questions about SheetCam? Post them here.
Post Reply
mancavedweller
Posts: 161
Joined: Tue Feb 25, 2014 6:53 am

Post processor - pierce height before touch off

Post by mancavedweller »

Hi Les,

I tried to work out what code in the post processor was doing this but couldn't figure it out.

I'm getting a command to put the Z at pierce height immediately after the torch has done a rapid at Safe Z to the pierce position. After that it then does the touch off stuff.

The problem is on line N0120 (I've commented it out).

Post processor, sample job file, and generated gcode file attached.

NOTE - although the the post processor name says "modified", that's only for my settings (switch offset, etc). The original MP1000-THC post processor still gives the same problem.

Cheers,

Keith
MP1000-THC - BEEFY MODIFIED.scpost
(4.5 KiB) Downloaded 89 times
RECTANGLE.job
(4.43 KiB) Downloaded 79 times
RECTANGLE.tap
(1.04 KiB) Downloaded 77 times
User avatar
Les Newell
Site Admin
Posts: 3660
Joined: Thu May 11, 2006 8:12 pm

Re: Post processor - pierce height before touch off

Post by Les Newell »

This move is generated by SheetCam. Internally SheetCam does not know anything about referencing so as far as it is concerned this move is to start the pierce. Add this as the first line in function OnRapid():

Code: Select all

   if endZ == pierceHeight and endZ < currentZ then return end
this ignores the rapid move to pierce height.
mancavedweller
Posts: 161
Joined: Tue Feb 25, 2014 6:53 am

Re: Post processor - pierce height before touch off

Post by mancavedweller »

Thanks very much Les, that did the trick.

Keith.
Post Reply