mesh_slice_stack — PRINTPATH slice op

• Data kinds: mesh → voxel

• Call: import fullseye as fs; fs.ledger.mesh_slice_stack(mesh: 'Any', layer_mm: 'float' = 0.2, px_per_mm: 'float' = 10.0, bounds=None) -> 'np.ndarray' (to call the implementation directly, import printpath; printpath.mesh_slice_stack(mesh: 'Any', layer_mm: 'float' = 0.2, px_per_mm: 'float' = 10.0, bounds=None) -> 'np.ndarray'; from the registry, opsprintpath.get("mesh_slice_stack"))

Usage

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

メッシュを `layer_mm 刻みで切った**層マスクの積み** voxel` (Z, Y, X)(0 / 1、Z は下から)。

各層は `mesh_slice_contours` の輪郭を nonzero winding で塗る(外向き法線の輪は中身、内向き法線 = 穴の輪は

引く。穴だけが残る層は空)。メッシュの面の向きが揃っていることが前提(STL / 3MF の規約)。`bounds` は x–y の

範囲(mm)、無ければメッシュ全体 + 2 mm。形に触れない層(上下の端)は 0 のまま。

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 voxel as input)

—

Same category (slice)

mesh_slice_contours · contours_to_gcode


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