Update api spec (#127)
* YOYO NEW API SPEC! * bump version Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * some fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes #128 Signed-off-by: Jess Frazelle <github@jessfraz.com> * mypy fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
14
kittycad/models/path_command.py
Normal file
14
kittycad/models/path_command.py
Normal file
@ -0,0 +1,14 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class PathCommand(str, Enum):
|
||||
"""The path component command type (within a Path)""" # noqa: E501
|
||||
|
||||
MOVE_TO = "move_to"
|
||||
LINE_TO = "line_to"
|
||||
BEZ_CURVE_TO = "bez_curve_to"
|
||||
NURBS_CURVE_TO = "nurbs_curve_to"
|
||||
ADD_ARC = "add_arc"
|
||||
|
||||
def __str__(self) -> str:
|
||||
return str(self.value)
|
Reference in New Issue
Block a user