FabMo / FabMo-Engine

The FabMo Engine - A software and apps ecosystem for digital fabrication.
http://gofabmo.org/
Apache License 2.0
55 stars 22 forks source link

Units in DRO #149

Closed ryansturmer closed 9 years ago

ryansturmer commented 9 years ago

Units should be displayed correctly in the DRO

gordonab commented 9 years ago

Does the DRO get the unit type from the engine or G2? This doesn't change with a G20/G21 or VD command.

aldenhart commented 9 years ago

The DRO and units are the reason there are the MPOx parameters available in the status reports. If you monitor these values you can switch back and forth between inches and mm easily.

mpox mpoy mpoz (a,b,c if you need it)

ofsx ofsy ofsz

unit

MPOs are ALWAYS in mm and in machine coordinates, regardless of the unit setting. Use the offset setting to factor in the user coordinate space, then the unit setting to convert to the proper units

This way the MPOs can always the used for plotting / graphics regardless of what offsets and units are in play

Alden

On Sep 3, 2015, at 3:40 PM, gordonab notifications@github.com wrote:

Does the DRO get the unit type from the engine or G2? This doesn't change with a G20/G21 or VD command.

— Reply to this email directly or view it on GitHub https://github.com/FabMo/FabMo-Engine/issues/149#issuecomment-137553765.

ryansturmer commented 9 years ago

this is resolved. The units are now conveyed to the dashboard, and the display is updated.