gcode_write — PRINTPATH gcode op

• Data kinds: table × text → text

• Call: import fullseye as fs; fs.ledger.gcode_write(table: 'Any', path: 'str', layer_tags: 'bool' = True) -> 'str' (implementation को सीधे call करना हो तो import printpath; printpath.gcode_write(table: 'Any', path: 'str', layer_tags: 'bool' = True) -> 'str', registry से लेना हो तो opsprintpath.get("gcode_write"))

उपयोग

line segment की table को G-code (G21 / G90 / M82, G1 के absolute coordinate और absolute E) में लिखता है। लिखा गया path (text) लौटाता है।

gcode_read के साथ round-trip होता है (layers ;LAYER:n के रूप में लिखी जाती हैं)। केवल travel वाले segments E को आगे नहीं बढ़ाते।

उपयोग की विस्तृत guide

• printpath family guide

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_print_layer_inspection — py -3.11 examples/poc_print_layer_inspection.py

वे अगले ops जिनसे type जुड़ता है (text को input के रूप में लेते हैं)

gcode_read · read_3mf · write_3mf

इसी category के (gcode)

gcode_read · gcode_extrusion_volume · gcode_time_estimate · gcode_layer_image


*Provenance: printpath.py — PRINTPATH operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.