Bridgeport Series II Interact 2 CNC Mill ==>  My EMC G Code Subroutines
 Up
Up
  Below is the source code for G-code subroutines implementing typical milling tasks (pocketing, etc).
  They are compatible with EMC 2.3.4 and later. 
  There is a few functions here. The "pocket" functions are for
  pocketing (removing material in the middle). The "groove" functions
  do not remove material in the middle of the pocket, they just cut a
  groove. They are often used to remove pieces of sheet material.
  The "deep" designation means a multipass cutting approach.
  Function "cutoff" lets you cut off a piece of stock, held in the
  vise, and for dimensions you only need to specify the depth of the
  stock and the Y on the far side. Your end mill must be positioned
  near the top corner of the part you are cutting off that is close to you.
  It will not make the X axis and will cut on the X where you have your endmill. 
  
    TERMS: GNU Public License.
    All code is a copy of my current code and some may be
    under development, so test before you run.
  
  
(Click on the thumbnail images to enlarge)
EMC G-Code Script Document: 1.ngc  
EMC G-Code Script Document: advance_indexer.ngc  
EMC G-Code Script Document: apply_to_a_grid.ngc  
EMC G-Code Script Document: autosend.tcl.ngc  
EMC G-Code Script Document: boltholepattern.ngc (Makes a bolt hole pattern with a few behaviors: calls a sub at each hole, drills, or taps [tapping not implemented]) 
EMC G-Code Script Document: circulargroove.ngc (circular groove, good for milling through holes too) 
EMC G-Code Script Document: cut_rectangle_from_side.ngc  
EMC G-Code Script Document: cutoff.ngc (Cutting off from a CURRENT endmill position, INTERACTIVE ONLY) 
EMC G-Code Script Document: deepanycut.ngc  
EMC G-Code Script Document: deepcylindricalpocket.ngc (deep cylindrical pocket) 
EMC G-Code Script Document: deepfacemill2.ngc (facing a shallow rect. pocket) 
EMC G-Code Script Document: deeplineargroove.ngc (Milling a deep pocket that is a straight line) 
EMC G-Code Script Document: deepsquarepocket.ngc (Milling a deep pocket with optional finish) 
EMC G-Code Script Document: deepsquarepocketwithcorners.ngc (Milling a deep pocket with optional finish) 
EMC G-Code Script Document: end_with_email.ngc  
EMC G-Code Script Document: facemill.ngc (facing or milling parallel grooves X-wise, or a nice square pocket with finish) 
EMC G-Code Script Document: facemill2.ngc (facing a shallow rect. pocket) 
EMC G-Code Script Document: facemillwithcorners.ngc (facing or milling parallel grooves X-wise, or a nice square pocket with finish) 
EMC G-Code Script Document: init.ngc  
EMC G-Code Script Document: knee_down_to.ngc  
EMC G-Code Script Document: knee_up_to.ngc  
EMC G-Code Script Document: lathe_turndown_straight.ngc  
EMC G-Code Script Document: make_involute_gear_with_indexer.ngc  
EMC G-Code Script Document: make_pentagon_with_indexer.ngc  
EMC G-Code Script Document: q.ngc  
EMC G-Code Script Document: rectangulargroove.ngc (rectangular groove) 
EMC G-Code Script Document: retract.ngc  
EMC G-Code Script Document: spoked_wheel.ngc (Milling a spoked wheel out of thin material) 
EMC G-Code Script Document: stairstep.ngc (facing or milling parallel grooves X-wise on a stair-step pattern) 
EMC G-Code Script Document: start.ngc  
EMC G-Code Script Document: tap_with_floating_holder.ngc  
EMC G-Code Script Document: text_igor_logo.ngc  
EMC G-Code Script Document: text_kobetsky.ngc  
EMC G-Code Script Document: thread_on_fourth_axis.ngc  
EMC G-Code Script Document: tool_change_with_spindle_and_coolant.ngc  
EMC G-Code Script Document: turners_cube.ngc  
EMC G-Code Script Document: withdraw.ngc  
 