LinuxCNC / linuxcnc

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
http://linuxcnc.org/
GNU General Public License v2.0
1.79k stars 1.15k forks source link

ENH: Moving Pierce #2861

Closed joco-nz closed 8 months ago

joco-nz commented 8 months ago

Adjustments to support ramping pierce and a wiggle pierce as supported by sheetcam.

Capabilities for a ramp pierce:

pierce motion delay. Move in x/y but not in Z
Z movement ramp down to pierce end height
delay time before commencing movement to cut height.
This should just be letting the remainder of TOTAL Pierce Delay run out
i.e. Pierce Delay + Cut Delay

In parallel there is a speed profile in the potential sequence A. Gouge speed for gouge time period B. Crawl speed for crawl time periof C. Cut speed - should returning to normal feed rate.

Capabilities for wiggle periece: Supports x/y movement dueing periece delay. Under sheetcam wiggle code the time of delay should be long enought to allow the back/forth wiggle movement on the line of the straigh lead-in to complete the desired cycles at the feed speed.


Summary of squashed committs: Adjustments to support ramping pierce and a wiggle pierce as supported by sheetcam.

Fixed typos in plasmac component.

Created Imperial ramp example file.

Improved/cleaned comments. Fallback for python <= 3.9

Debian 12 is running python 3.11 but in case anyone is using some other distro or an older distro using python 3.9 or lower added in a test and fallback if/elif model. Noting that eventually this fallback block should be depreciated and removed.

QTPlasmac doc update for Moving Pierce

Fixed doc typos and enhanced/expanded on Ramp pierce content.

Shift M159 to nc_files/plasmac/m_files

Also update the two sim .inc files to have USER_M_PATH point to this new location.

Link addition between thick materials and moving pierce, spelling fix

Updates per comments file from Phil.

Comments added to sample files.

Misc one line fixes

Removed print from M159 that is not longer needed. Changed source of gcode quote from ini to ngc

joco-nz commented 8 months ago

@phillc54 - new branch against the single squashed commit.

phillc54 commented 8 months ago

@joco-nz thank you.