CNCUtil - CNC GCODE Generator

CNCUtil converts high level scripts to low level GCode allowing a few lines of specification to produce thousands of high quality GCode commands.

CNCUtil delivers built in features for drilling, milling circular, rectangular and multi-sided pockets, Arc pockets, etc. CNCUtil does most of the math which saves a lot of time.

CNCUtil allows Machinists to retain the control of the milling machine where it is needed while allowing the computer to do the hard work of producing the GCODE needed for things like circular

    Example

      require 'CNCMill'  
      require 'CNCShapeCircle'
      aMill = CNCMill.new()
      aMill.job_start()  
      aCircle = CNCShapeCircle.new(aMill) 
      aMill.home()
      #   Param = center-x,center-y,diam,depth,island_diam)
      aCircle.mill_pocket(0.0, 1.5, 2.5,  -0.75, 0.0)    #large circle no island
      aCircle.mill_pocket(0.0, 1.5, 2.5,  -0.85, 0.75)   #deeper ring with Island
      aCircle.mill_pocket(0.0, 1.5, 0.25, -0.95, 0.0)    #drill through the center
      aMill.home() # implies a retract()
      aMill.job_finish()
  • CNCUtil - users guide - An introduction in how to use CNCUtil our scripting library to generate sophisticated gcode
  • Running the programs A document that explains how to use the DOS or Linux command prompt to run these samples and your own machining scripts how to save the output to be processed by your CAM driver like EMC2.
  • Introduction to GCODE for Scripting Programmers. Includes links to several other tutorials and GCODE reference manuals. 
  • Samples and Projects - A series of examples showing how to use the system.  Includes samples from simple drilling to milling parabolic molds and pump housings.
  • Library Class, Method, Attribute documentation Automatically generated from class and method defenitions and comments embedded in the source code. Once you understand the basics of using the system this is quite valuable.
  • Ruby Notes A set of notes about ruby made while we where using Ruby to build CNC Util.

Donations

We support this work with Donations, by providing premium support and by providing custom scripting services to accelerate your own projects. let us know if you need help. 206-601-2985 or

Reference & Background

  • Overview Why we found it necessary to build the CNCUtil library and why we think you may find it beneficial. Includes Extensive links section for dominant CAD, CAM and CNC vendors.
  • CNC Links CNC, CAD, CAM, Driver, STL, DXF, IGES links to vendors and standards.

Download



Favorite Links

  •   List of Mini milling machine sites . Little machine shop also has a great learning section with bit speeds and other essential information. They also stock all those odds and ends that you need but can not find.
  • Tips for the Taig Mill mostly CNC related. Lots of good tidbits. Also incudes Nick Carter's Taig Lathe and Milling Machine Pages contains one of the best sites on the internet with the most comprehensive set of links. Nick is a dealer for the Taig mills and it is probably worth buying from him rather than futzing around on the internet.

# See (C) notice in http://cncutil.org/cnc/CNCUtil/license.txt for license and copyright.

(c) cncutil.org, Inc - All rights Reserved