ArchimedesPi/gcodify

View on GitHub
examples/square_of_holes.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'gcodify'
program = Gcodify.program do
  hole :at=>[1, 1], :depth=>0.13
  hole :at=>[1, -1], :depth=>0.13
  hole :at=>[-1, -1], :depth=>0.13
  hole :at=>[-1, 1], :depth=>0.13
end
puts program.to_gcode