Co-ordinate axis specifier.

class kittycad.models.axis.Axis(value)[source][source]

Co-ordinate axis specifier.

See [] for background reading.


Y = 'y'[source]

# ‘Z’ axis.

Z = 'z'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.axis', '__doc__': 'Co-ordinate axis specifier.\n\n    See [] for background reading.\n\n    []:\n    ', '__str__': <function Axis.__str__>, '__dict__': <attribute '__dict__' of 'Axis' objects>, '__weakref__': <attribute '__weakref__' of 'Axis' objects>, '_member_names_': ['Y', 'Z'], '_member_map_': {'Y': <Axis.Y: 'y'>, 'Z': <Axis.Z: 'z'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'y': <Axis.Y: 'y'>, 'z': <Axis.Z: 'z'>}, 'Y': <Axis.Y: 'y'>, 'Z': <Axis.Z: 'z'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.axis'[source]
_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

_member_map_ = {'Y': Axis.Y, 'Z': Axis.Z}[source]
_member_names_ = ['Y', 'Z'][source]

alias of str

_value2member_map_ = {'y': Axis.Y, 'z': Axis.Z}[source]