Skip to content

Commit

Permalink
lathe macros -fix similar surface speed conversion that was tested in…
Browse files Browse the repository at this point in the history
… 'turning'
  • Loading branch information
c-morley committed Jun 20, 2024
1 parent 43347e0 commit baa348a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nc_files/macros/lathe/chamfer.ngc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ O<chamfer> sub
O107 IF [#<_imperial>]
(MSG, IMPERIAL ON)
#1 = [#1 * 25.4]; X
#2 = [#2 * 304.8] ; sf/m to mm/m
#2 = [#2 * .3048] ; sf/m to mm/m

This comment has been minimized.

Copy link
@andypugh

andypugh Jun 21, 2024

Collaborator

You should probably change the comment to say metres/min because that it what it is now (and should always have been)

#3 = [#3 * 25.4]; doc?
#4 = [#4 * 25.4]; Z
#6 = [#6 * 25.4]; chanfer size
Expand Down
2 changes: 1 addition & 1 deletion nc_files/macros/lathe/drill.ngc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ O100 IF [#<_imperial>]
(MSG, IMPERIAL sizes)
#<diam> = [#1 * 25.4]
#<zDepth> = [#2 * 25.4]
#<surfaceSpeed> = [#3 * 304.8] ; sf/m to mm/m
#<surfaceSpeed> = [#3 * .3048] ; sf/m to m/m
#<fpr> = [#4 * 25.4]
#<peck> = [#6 * 25.4]
#<retract> = [#7 * 25.4]
Expand Down
2 changes: 1 addition & 1 deletion nc_files/macros/lathe/facing.ngc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ O10 ENDIF
O107 IF [#<_imperial>]
(MSG, IMPERIAL ON)
#1 = [#1 * 25.4]
#2 = [#2 * 304.8] ; sf/m to mm/m
#2 = [#2 * .3048] ; sf/m to mm/m
#3 = [#3 * 25.4]
#4 = [#4 * 25.4]
#5 = [#5 * 25.4]
Expand Down
2 changes: 1 addition & 1 deletion nc_files/macros/lathe/threading.ngc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ O<threading> sub
O107 IF [#<_imperial>]
(MSG, IMPERIAL ON)
#1 = [#1 * 25.4] ; start X
#2 = [#2 * 304.8] ; sf/m to mm/m
#2 = [#2 * .3048] ; sf/m to mm/m
#4 = [#4 * 25.4] ; pitch
#5 = [#5 * 25.4] ; z finish
O107 ENDIF
Expand Down

0 comments on commit baa348a

Please sign in to comment.