APIs, concepts, guides, and more

◆ UnitsSet()

void UnitsSet ( LinearUnits units)
pure virtual
Description:
A setter for how your G-Code program currently interprets distance (in/mm) same as calling G20/21 during execution. Rotational axes are always in degrees. Will automatically scale units to the unit of PathUnitsGet() before sending the motion command to cartesianPath class.
Parameters
unitsMillimeters / Inches / None
Warning
Does not modify FeedRate or Acceleration.

Visit our Concept Page for more information.

Examples
GcodeMotion.cs.