G-code Preview — API Reference
    Preparing search index...
    • The segment produced by a 1-based source line, or -1 when the line produced no segment (a comment, a blank line, or a non-motion command). Resolves to the first segment whose source byte falls within the line's byte range.

      Parameters

      Returns number