# API Reference v10.3.1 (Python)

## TranslatorConfig (data class)

Module: zaber_motion.gcode

Configuration of a translator.

To use this type, add `from zaber_motion.gcode import TranslatorConfig` to the top of your source code.

Related Guides:

- [G-Code](https://software.zaber.com/motion-library/docs/guides/library_features/gcode.md)

### Properties

#### `axis_mappings` (optional)

`translator_config.axis_mappings`

Type: [`List[AxisMapping]`](https://software.zaber.com/motion-library/api/py/gcode/axismapping.md)

Optional custom mapping of translator axes to stream axes.

#### `axis_transformations` (optional)

`translator_config.axis_transformations`

Type: [`List[AxisTransformation]`](https://software.zaber.com/motion-library/api/py/gcode/axistransformation.md)

Optional transformation of axes.
