gcode op• Data kinds: table → image2d
• Call: import fullseye as fs; fs.ledger.gcode_layer_image(table: 'Any', layer: 'int', px_per_mm: 'float' = 10.0, line_width_mm: 'float' = 0.4, bounds=None, travel: 'bool' = False) -> 'np.ndarray' (to call the implementation directly, import printpath; printpath.gcode_layer_image(table: 'Any', layer: 'int', px_per_mm: 'float' = 10.0, line_width_mm: 'float' = 0.4, bounds=None, travel: 'bool' = False) -> 'np.ndarray'; from the registry, opsprintpath.get("gcode_layer_image"))
Draws the path of one layer as a raster with line width image2d (0 / 1, y pointing down = rows).
Only segments with extrusion are painted with thickness line_width_mm (with travel=True travel moves too, as thin lines). Pixels are px_per_mm, the extent is bounds=(xmin, ymin, xmax, ymax) mm (if absent, the whole table + 2 mm margin -- pass it if you want the same extent across layers). This is the expected image "this layer should look like this", compared with the camera's layer image using print_layer_defect_map.
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• poc_print_layer_inspection — py -3.11 examples/poc_print_layer_inspection.py
image2d as input)stipple_points_from_image · stipple_energy · stroke_tone_error · halftone_screen · engrave_lines · hatch_field · mosaic_tiles_sites · mosaic_tiles_render
gcode)gcode_read · gcode_write · gcode_extrusion_volume · gcode_time_estimate
*Provenance: printpath.py — PRINTPATH operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.