gcode_layer_image — PRINTPATH 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"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

1 層の経路を線幅つきのラスタ `image2d`(0 / 1、y 下向き = 行)に描く。

押し出しのある線分だけを `line_width_mm の太さで塗る(travel=True なら移動も細線で)。画素は px_per_mm`、

範囲は `bounds=(xmin, ymin, xmax, ymax)` mm(無ければ表全体 + 2 mm の余白 —— 層をまたいで同じ範囲にしたければ

渡す)。これが「この層はこう見えるはず」の期待像で、カメラの層画像と `print_layer_defect_map` で比べる。

Detailed usage guide

• printpath family guide

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

• poc_print_layer_inspection — py -3.11 examples/poc_print_layer_inspection.py

Ops the type connects to (they accept image2d as input)

print_layer_defect_map

Same category (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.