Skip to content

Python Module program_units returns wrong code #3627

@jethornton

Description

@jethornton

program_units

(returns integer) - one of CANON_UNITS_INCHES=1, CANON_UNITS_MM=2, CANON_UNITS_CM=3

If you start a file with G21 and at the end change back to G20 program_units returns 1

gcodes returns the correct G20/21 status

There are no CM units and even the NIST documents state that.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions