Robert,
Since plasmac takes over control of the Z-axis and strips all Z commands out of the .ngc file, a ramp down during the lead-in created in the post processor would never be executed. What I am suggesting is that you let the post processor take care of the X and Y movements, whatever you want them to be, and then let the g-code parser in plasmac find those movements and execute the lead-in controlling the Z-axis to move from the pierce height at the start of the lead-in move(s) down to the cut height by the end of the last lead-in move. The g-code parser will have to be able to understand what the lead-in moves are vs. the moves that create the actual cut you want. I can see how this could be set up as an option:
- Use/Do not use ramped lead-ins
- If using ramped lead ins, number of lead in moves at the start of a cut
Fusion360 offers a straight lead-in cut at whatever angle you choose, a radius lead in at whatever radius you choose, or a combination. Again, we let the user and the postprocessor determine the X and Y moves, plasmac would only adjust the Z.
With the exception of the Z movements, I agree the post processor can probably handle just about anything needed for plasmac. I programmed my post processor to do the overcut for holes (so will not likely use that option in plasmac) but not everyone is going to be able to or even want to do that. Phill has been great at making these sorts of things as options which makes a lot of sense to me.
You bring up an interesting point about the ramp angle. One issue that would have to be considered, especially for thicker material, relates to the time it takes to pierce the material. Even just a short lead in on 1mm material would take enough time for the material to be pierced; but if you used that same feedrate and acceleration and lead-in distance on material that was 25mm thick, you would be into the cut before you ever fully pierced the material. This shouldn't be too difficult to handle mathematically as plasmac has the pierce delay time from the material file. You would need to be certain the lead-in movement time would be at least as great as the pierce delay time.
All of this may be irrelevant if Phill is not interested in adding it to plasmac - especially since you can already protect your torch by using puddle jump. But it's still interesting to think about how to implement it.
Steven