# File lib/graster.rb, line 224
  def render_cut gcode, x, y
    radius = @config[:corner_radius]
    left = x
    bottom = y
    right = x+@config[:tile_size][0]
    top = y+@config[:tile_size][1]

    gcode.instance_eval do
      if radius && radius > 0
        jog :x => left, :y => bottom+radius
        move :x => left, :y => top-radius, :laser => true
        turn_cw :x => left+radius, :y => top, :i => radius
        move :x => right-radius, :y => top
        turn_cw :x => right, :y => top-radius, :j => -radius
        move :x => right, :y => bottom+radius
        turn_cw :x => right-radius, :y => bottom, :i => -radius
        move :x => left+radius, :y => bottom
        turn_cw :x => left, :y => bottom+radius, :j => radius
        nc :laser => false
      else
        jog :x => left, :y => bottom
        move :x => left, :y => top, :laser => true
        move :x => right, :y => top
        move :x => right, :y => bottom
        move :x => left, :y => bottom
        nc :laser => false
      end
    end
  end