kittycad.models.path_command
Classes
|
The path component command type (within a Path) |
- class kittycad.models.path_command.PathCommand(value)[source][source]
The path component command type (within a Path)
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.path_command', '__doc__': 'The path component command type (within a Path)', '__str__': <function PathCommand.__str__>, '__dict__': <attribute '__dict__' of 'PathCommand' objects>, '__weakref__': <attribute '__weakref__' of 'PathCommand' objects>, '_member_names_': ['MOVE_TO', 'LINE_TO', 'BEZ_CURVE_TO', 'NURBS_CURVE_TO', 'ADD_ARC'], '_member_map_': {'MOVE_TO': <PathCommand.MOVE_TO: 'move_to'>, 'LINE_TO': <PathCommand.LINE_TO: 'line_to'>, 'BEZ_CURVE_TO': <PathCommand.BEZ_CURVE_TO: 'bez_curve_to'>, 'NURBS_CURVE_TO': <PathCommand.NURBS_CURVE_TO: 'nurbs_curve_to'>, 'ADD_ARC': <PathCommand.ADD_ARC: 'add_arc'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'move_to': <PathCommand.MOVE_TO: 'move_to'>, 'line_to': <PathCommand.LINE_TO: 'line_to'>, 'bez_curve_to': <PathCommand.BEZ_CURVE_TO: 'bez_curve_to'>, 'nurbs_curve_to': <PathCommand.NURBS_CURVE_TO: 'nurbs_curve_to'>, 'add_arc': <PathCommand.ADD_ARC: 'add_arc'>}, 'MOVE_TO': <PathCommand.MOVE_TO: 'move_to'>, 'LINE_TO': <PathCommand.LINE_TO: 'line_to'>, 'BEZ_CURVE_TO': <PathCommand.BEZ_CURVE_TO: 'bez_curve_to'>, 'NURBS_CURVE_TO': <PathCommand.NURBS_CURVE_TO: 'nurbs_curve_to'>, 'ADD_ARC': <PathCommand.ADD_ARC: 'add_arc'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[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