kittycad.models.path_component_constraint_type.PathComponentConstraintType

class kittycad.models.path_component_constraint_type.PathComponentConstraintType(value)[source][source]

Bases: str, Enum

The path component constraint type

__init__()[source]

Attributes

UNCONSTRAINED

VERTICAL

HORIZONTAL

EQUAL_LENGTH

PARALLEL

ANGLE_BETWEEN

ANGLE_BETWEEN = 'angle_between'[source]
EQUAL_LENGTH = 'equal_length'[source]
HORIZONTAL = 'horizontal'[source]
PARALLEL = 'parallel'[source]
UNCONSTRAINED = 'unconstrained'[source]
VERTICAL = 'vertical'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.path_component_constraint_type', '__doc__': 'The path component constraint type', '__str__': <function PathComponentConstraintType.__str__>, '__dict__': <attribute '__dict__' of 'PathComponentConstraintType' objects>, '__weakref__': <attribute '__weakref__' of 'PathComponentConstraintType' objects>, '_member_names_': ['UNCONSTRAINED', 'VERTICAL', 'HORIZONTAL', 'EQUAL_LENGTH', 'PARALLEL', 'ANGLE_BETWEEN'], '_member_map_': {'UNCONSTRAINED': <PathComponentConstraintType.UNCONSTRAINED: 'unconstrained'>, 'VERTICAL': <PathComponentConstraintType.VERTICAL: 'vertical'>, 'HORIZONTAL': <PathComponentConstraintType.HORIZONTAL: 'horizontal'>, 'EQUAL_LENGTH': <PathComponentConstraintType.EQUAL_LENGTH: 'equal_length'>, 'PARALLEL': <PathComponentConstraintType.PARALLEL: 'parallel'>, 'ANGLE_BETWEEN': <PathComponentConstraintType.ANGLE_BETWEEN: 'angle_between'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'unconstrained': <PathComponentConstraintType.UNCONSTRAINED: 'unconstrained'>, 'vertical': <PathComponentConstraintType.VERTICAL: 'vertical'>, 'horizontal': <PathComponentConstraintType.HORIZONTAL: 'horizontal'>, 'equal_length': <PathComponentConstraintType.EQUAL_LENGTH: 'equal_length'>, 'parallel': <PathComponentConstraintType.PARALLEL: 'parallel'>, 'angle_between': <PathComponentConstraintType.ANGLE_BETWEEN: 'angle_between'>}, 'UNCONSTRAINED': <PathComponentConstraintType.UNCONSTRAINED: 'unconstrained'>, 'VERTICAL': <PathComponentConstraintType.VERTICAL: 'vertical'>, 'HORIZONTAL': <PathComponentConstraintType.HORIZONTAL: 'horizontal'>, 'EQUAL_LENGTH': <PathComponentConstraintType.EQUAL_LENGTH: 'equal_length'>, 'PARALLEL': <PathComponentConstraintType.PARALLEL: 'parallel'>, 'ANGLE_BETWEEN': <PathComponentConstraintType.ANGLE_BETWEEN: 'angle_between'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.path_component_constraint_type'[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_ = {'ANGLE_BETWEEN': PathComponentConstraintType.ANGLE_BETWEEN, 'EQUAL_LENGTH': PathComponentConstraintType.EQUAL_LENGTH, 'HORIZONTAL': PathComponentConstraintType.HORIZONTAL, 'PARALLEL': PathComponentConstraintType.PARALLEL, 'UNCONSTRAINED': PathComponentConstraintType.UNCONSTRAINED, 'VERTICAL': PathComponentConstraintType.VERTICAL}[source]
_member_names_ = ['UNCONSTRAINED', 'VERTICAL', 'HORIZONTAL', 'EQUAL_LENGTH', 'PARALLEL', 'ANGLE_BETWEEN'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'angle_between': PathComponentConstraintType.ANGLE_BETWEEN, 'equal_length': PathComponentConstraintType.EQUAL_LENGTH, 'horizontal': PathComponentConstraintType.HORIZONTAL, 'parallel': PathComponentConstraintType.PARALLEL, 'unconstrained': PathComponentConstraintType.UNCONSTRAINED, 'vertical': PathComponentConstraintType.VERTICAL}[source]