mesh_slice_contours — PRINTPATH slice op

• Data kinds: mesh → table

• Call: import fullseye as fs; fs.ledger.mesh_slice_contours(mesh: 'Any', z: 'float', tol: 'float' = 1e-06) -> 'dict[str, np.ndarray]' (to call the implementation directly, import printpath; printpath.mesh_slice_contours(mesh: 'Any', z: 'float', tol: 'float' = 1e-06) -> 'dict[str, np.ndarray]'; from the registry, opsprintpath.get("mesh_slice_contours"))

Usage

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

三角形メッシュを平面 `z で切った**輪郭の表** table: 列 ring(輪の番号)、x、y`(mm)。

各三角形と平面の交差を線分にし、三角形の法線で向きを付けて(外輪郭は反時計回り、穴は時計回り)、端点を

突き合わせて閉じた輪(閉じなければ開いた鎖)に繋ぐ(古典のスライサ)。輪の符号つき面積で中身と穴が分かる。

頂点がちょうど平面に乗るときは `tol` だけ持ち上げて退化を避ける。平面が形に触れなければ ValueError

(空の層は「無い」と言う)。

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

gcode_write · gcode_extrusion_volume · gcode_time_estimate · gcode_layer_image · contours_to_gcode

Same category (slice)

mesh_slice_stack · 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.