You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The iterator is wrong, you can't do (0...@tiled_rows) because @tiled_rows is an array. You should iterate over the indexes of @tiled_rows.
spans then is the current index.
(Maybe there is a smarter way to iterate over an array, but actually I don't know anything about ruby)
The iterator is wrong, you can't do (0...@tiled_rows) because @tiled_rows is an array. You should iterate over the indexes of @tiled_rows.
spans then is the current index.
(Maybe there is a smarter way to iterate over an array, but actually I don't know anything about ruby)
like this:
render a complete tiled image to gcode and gmask streams
def render_tiled_image gcode, gmask
debug "rendering tiled image"
job_id = job_hash
hyst = -@scale[0]/2
gcode.comment "raster gcode for job #{job_id}"
gcode.comment "image: #{@image.filename} #{@image.size.inspect}"
gcode.comment "config: #{@config.inspect}"
end # def render_tiled_image
The text was updated successfully, but these errors were encountered: