How do I ( NOT ) have the bit move on its Z axis at start and finish of cut

Just like the title says, How do I ( NOT ) have the bit move on its Z axis at start and finish of cut. I want to run path and not have to tool move down and then up on the start and finish or the program.

1 Like

This would be a setting in your CAM program. You could try setting the “safe height” or something similar but that might not really do what you want.

Editing the gcode by hand is always an option, you would just need to remove the lines Z-6 and Z+6 or something from the start and the end

What are you trying to do? Like what is the overall goal?

I have never edited Gcode, and not sure to even do that. I am using Easel to genrate cut program. Im trying automate cutting off flash from parts from thermo forming. ill try to add pictures

1 Like

1 Like

If you post the gcode I can take a look at it and show you what edits would be needed

LOL man I feel bumb. I dont know where to find , then download gcode :thinking:

1 Like

How are you getting the gcode to the machine?

Exporting from Easel as an .nc file. then opening makerverse to output to machine.

1 Like

You just need to post the nc file here, that’s the gcode :smiley:

seems the site says : ''Sorry, new users can not upload attachments."

1 Like

Hmmm

You can open the file with an any text editor like notepad or word and paste the contents here.

You might have to change the file extension from .nc to .txt

The following is a simple example of an .nc file. The comments explain what is happening. You can edit an .nc file with any text editor such as notepad:
; *** File generated by KrabzCAM Fri Apr 04 2025 07:21:12 GMT+1100 (Australian Eastern Daylight Time) ***

g21
g90
g17
g40

; BEGIN TOOLPATH ‘follow_path’
; Files:
; Operation:
; name = Engrave
; type = FOLLOW_PATH
; toolDiameter = 6.25
; targetDepth = 0.5
; safetyHeight = 2
; stepDown = 0.5
; feedRate = 2000
; plungeRate = 400
; spindleSpeed = 10000
; shortenByRadius = False
; depthFirst = false
; Whats happening with this simple example of a small square
; g0 z2 tells the M4 to raise the bit to 2mm above the preset surface
; g9 x20.95270331 y7.1885808 tells the M4 to move to start position
; g1 z-0.5 f400 tells M4 to lower the bit to 0.5mm below the surface at rate of 400 ie.start cut
; the next four g1 commands move the M4 around a square cutting at depth of 0.5mm at a rate of 2000
; the last g0 z2 command raises the bit to 2 mm above the surface.
; To disable the bit from moving up or down, use ; to turn g0 z command to a comment
; I don’t know why you would want to do that
m3 s10000
g0 z2
g0 x20.95270331 y7.1885808
g1 z-0.5 f400
g1 x6.97964314 y7.18857614 f2000
g1 x6.97964921 y21.16163815 f2000
g1 x20.9527046 y21.1616397 f2000
g1 x20.95270331 y7.1885808 f2000
g0 z2
m5
m30

1 Like

No, I can open it the gcode in Note pad. I mean I can’t paste or attach in this thread because I’m a new member.

1 Like

What about copying the text that is in the notepad window and just posting it here as a text post?

Ya, good Idea

G20
G90
G1 Z0.15000 F9.0
G0 X3.54330 Y-15.93607
G1 Z0.00000 F9.0
G1 Z-0.00000
G1 X3.56585 Y-15.93415 Z-0.00198 F9.0
G1 X3.67096 Y-15.92520 F45.0
G1 X3.71057 Y-15.90814 F45.0
G1 X3.75720 Y-15.87994 F45.0
G1 X3.78772 Y-15.84799 F45.0
G1 X3.80820 Y-15.80637 F45.0
G1 X3.81958 Y-15.75833 F45.0
G1 X3.82159 Y-15.70612 F45.0
G1 X3.81863 Y-15.64746 F45.0
G1 X2.51514 Y-5.86917 F45.0
G1 X2.49832 Y-5.67889 F45.0
G1 X2.48993 Y-5.33667 F45.0
G1 X2.45255 Y5.49927 F45.0
G1 X2.45471 Y5.60678 F45.0
G1 X2.47107 Y5.82104 F45.0
G1 X2.95090 Y10.82999 F45.0
G1 X3.41437 Y15.73270 F45.0
G1 X3.41385 Y15.77539 F45.0
G1 X3.40173 Y15.84018 F45.0
G1 X3.39438 Y15.85822 F45.0
G1 X3.36404 Y15.89731 F45.0
G1 X3.32465 Y15.92661 F45.0
G1 X3.28836 Y15.93781 F45.0
G1 X3.21188 Y15.94772 F45.0
G1 X-0.62463 Y15.95499 F45.0
G1 X-0.87753 Y15.94955 F45.0
G1 X-0.91995 Y15.94339 F45.0
G1 X-0.97928 Y15.92310 F45.0
G1 X-1.01349 Y15.89990 F45.0
G1 X-1.04141 Y15.86929 F45.0
G1 X-1.07239 Y15.81436 F45.0
G1 X-1.08676 Y15.77499 F45.0
G1 X-3.77591 Y5.65475 F45.0
G1 X-3.79666 Y5.56302 F45.0
G1 X-3.81134 Y5.46970 F45.0
G1 X-3.81900 Y5.28943 F45.0
G1 X-3.82159 Y5.10895 F45.0
G1 X-3.78931 Y-5.12677 F45.0
G1 X-3.78406 Y-5.30801 F45.0
G1 X-3.76837 Y-5.45621 F45.0
G1 X-3.70905 Y-5.70197 F45.0
G1 X-0.74777 Y-15.82782 F45.0
G1 X-0.72412 Y-15.88510 F45.0
G1 X-0.69827 Y-15.92560 F45.0
G1 X-0.65701 Y-15.94720 F45.0
G1 X-0.62976 Y-15.95325 F45.0
G1 X3.54330 Y-15.93607 F45.0
G1 X3.56585 Y-15.93415 F45.0
G20
G90
G0 Z0.15000
G0 X0.00000 Y0.00000
G4 P0.1

1 Like

This should be quite easy to change. You just want to delete the lines which have Z-axis movements in them like

G1 Z0.15000 F9.0

Which moves the Z-axis up to 0.15 inches and

G1 Z-0.00000

Which moves it back to height 0

You can literally just select those lines and delete them so the beginning would look like:

G20
G90
G0 X3.54330 Y-15.93607
G1 X3.56585 Y-15.93415 Z-0.00198 F9.0

Nice !! that was easy. yup did just what I hoped it would. Thanks for your your help

1 Like

Happy to help!

Out of curiosity what are you making?