kittycad.models.modeling_cmd
Classes
|
Camera drag ended. |
|
Camera drag continued. |
|
Camera drag started. |
|
Closes a path, converting it to a 2D solid. |
Disable sketch mode, from the default camera. |
|
Enable sketch mode, where users can sketch 2D geometry. |
|
|
Change what the default camera is looking at. |
|
Enter edit mode |
|
Exit edit mode |
|
What are all UUIDs of this entity's children? |
|
What is the UUID of this entity's n-th child? |
|
How many children does the entity have? |
|
What is this entity's parent? |
|
Export the scene to a file. |
|
Extend a path by adding a new segment which starts at the path's "pen". |
|
Extrude a 2D solid. |
|
What type of entity is this? |
|
Changes the current highlighted entity to these entities. |
|
Changes the current highlighted entity to whichever one is at the given window coordinate. |
|
Move the path's "pen". |
|
Create a new annotation |
|
Hide or show an object |
|
Adds one or more entities (by UUID) to the selection. |
|
Clear the selection |
|
Find all IDs of selected entities |
|
Removes one or more entities (by UUID) from the selection. |
|
Replaces the current selection with these new entities (by UUID). |
|
Modifies the selection by simulating a "mouse click" at the given x,y window coordinate Returns ID of whatever was selected. |
|
Gets all faces which use the given edge. |
Gets all edges which are opposite the given edge, across all possible faces. |
|
|
Gets the next adjacent edge for the given edge, along the given face. |
|
Gets the edge opposite the given edge, along the given face. |
|
Gets the previous adjacent edge for the given edge, along the given face. |
|
Start a path. |
|
Update an annotation |
- class kittycad.models.modeling_cmd.camera_drag_end(interaction=<kittycad.types.Unset object>, type='camera_drag_end', window=<kittycad.types.Unset object>)[source][source]
Camera drag ended.
Method generated by attrs for class camera_drag_end.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'interaction': typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], 'type': <class 'str'>, 'window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d]}[source]
- __attrs_attrs__ = (Attribute(name='interaction', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interaction'), Attribute(name='type', default='camera_drag_end', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='window'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'interaction': typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], 'type': <class 'str'>, 'window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Camera drag ended.', 'to_dict': <function camera_drag_end.to_dict>, 'from_dict': <classmethod(<function camera_drag_end.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function camera_drag_end.__getitem__>, '__setitem__': <function camera_drag_end.__setitem__>, '__delitem__': <function camera_drag_end.__delitem__>, '__contains__': <function camera_drag_end.__contains__>, '__dict__': <attribute '__dict__' of 'camera_drag_end' objects>, '__weakref__': <attribute '__weakref__' of 'camera_drag_end' objects>, '__attrs_attrs__': (Attribute(name='interaction', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interaction'), Attribute(name='type', default='camera_drag_end', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='window'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function camera_drag_end.__repr__>, '__eq__': <function camera_drag_end.__eq__>, '__ne__': <function camera_drag_end.__ne__>, '__lt__': <function camera_drag_end.__lt__>, '__le__': <function camera_drag_end.__le__>, '__gt__': <function camera_drag_end.__gt__>, '__ge__': <function camera_drag_end.__ge__>, '__hash__': None, '__init__': <function camera_drag_end.__init__>, '__match_args__': ('interaction', 'type', 'window')})[source]
- __init__(interaction=<kittycad.types.Unset object>, type='camera_drag_end', window=<kittycad.types.Unset object>)[source]
Method generated by attrs for class camera_drag_end.
-
interaction:
Union
[Unset
,CameraDragInteractionType
][source]
- class kittycad.models.modeling_cmd.camera_drag_move(interaction=<kittycad.types.Unset object>, sequence=<kittycad.types.Unset object>, type='camera_drag_move', window=<kittycad.types.Unset object>)[source][source]
Camera drag continued.
Method generated by attrs for class camera_drag_move.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'interaction': typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], 'sequence': typing.Union[kittycad.types.Unset, int], 'type': <class 'str'>, 'window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d]}[source]
- __attrs_attrs__ = (Attribute(name='interaction', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interaction'), Attribute(name='sequence', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='sequence'), Attribute(name='type', default='camera_drag_move', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='window'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'interaction': typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], 'sequence': typing.Union[kittycad.types.Unset, int], 'type': <class 'str'>, 'window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Camera drag continued.', 'to_dict': <function camera_drag_move.to_dict>, 'from_dict': <classmethod(<function camera_drag_move.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function camera_drag_move.__getitem__>, '__setitem__': <function camera_drag_move.__setitem__>, '__delitem__': <function camera_drag_move.__delitem__>, '__contains__': <function camera_drag_move.__contains__>, '__dict__': <attribute '__dict__' of 'camera_drag_move' objects>, '__weakref__': <attribute '__weakref__' of 'camera_drag_move' objects>, '__attrs_attrs__': (Attribute(name='interaction', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interaction'), Attribute(name='sequence', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='sequence'), Attribute(name='type', default='camera_drag_move', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='window'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function camera_drag_move.__repr__>, '__eq__': <function camera_drag_move.__eq__>, '__ne__': <function camera_drag_move.__ne__>, '__lt__': <function camera_drag_move.__lt__>, '__le__': <function camera_drag_move.__le__>, '__gt__': <function camera_drag_move.__gt__>, '__ge__': <function camera_drag_move.__ge__>, '__hash__': None, '__init__': <function camera_drag_move.__init__>, '__match_args__': ('interaction', 'sequence', 'type', 'window')})[source]
- __init__(interaction=<kittycad.types.Unset object>, sequence=<kittycad.types.Unset object>, type='camera_drag_move', window=<kittycad.types.Unset object>)[source]
Method generated by attrs for class camera_drag_move.
-
interaction:
Union
[Unset
,CameraDragInteractionType
][source]
- class kittycad.models.modeling_cmd.camera_drag_start(interaction=<kittycad.types.Unset object>, type='camera_drag_start', window=<kittycad.types.Unset object>)[source][source]
Camera drag started.
Method generated by attrs for class camera_drag_start.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'interaction': typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], 'type': <class 'str'>, 'window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d]}[source]
- __attrs_attrs__ = (Attribute(name='interaction', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interaction'), Attribute(name='type', default='camera_drag_start', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='window'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'interaction': typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], 'type': <class 'str'>, 'window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Camera drag started.', 'to_dict': <function camera_drag_start.to_dict>, 'from_dict': <classmethod(<function camera_drag_start.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function camera_drag_start.__getitem__>, '__setitem__': <function camera_drag_start.__setitem__>, '__delitem__': <function camera_drag_start.__delitem__>, '__contains__': <function camera_drag_start.__contains__>, '__dict__': <attribute '__dict__' of 'camera_drag_start' objects>, '__weakref__': <attribute '__weakref__' of 'camera_drag_start' objects>, '__attrs_attrs__': (Attribute(name='interaction', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.camera_drag_interaction_type.CameraDragInteractionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interaction'), Attribute(name='type', default='camera_drag_start', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='window'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function camera_drag_start.__repr__>, '__eq__': <function camera_drag_start.__eq__>, '__ne__': <function camera_drag_start.__ne__>, '__lt__': <function camera_drag_start.__lt__>, '__le__': <function camera_drag_start.__le__>, '__gt__': <function camera_drag_start.__gt__>, '__ge__': <function camera_drag_start.__ge__>, '__hash__': None, '__init__': <function camera_drag_start.__init__>, '__match_args__': ('interaction', 'type', 'window')})[source]
- __init__(interaction=<kittycad.types.Unset object>, type='camera_drag_start', window=<kittycad.types.Unset object>)[source]
Method generated by attrs for class camera_drag_start.
-
interaction:
Union
[Unset
,CameraDragInteractionType
][source]
- class kittycad.models.modeling_cmd.close_path(path_id=<kittycad.types.Unset object>, type='close_path')[source][source]
Closes a path, converting it to a 2D solid.
Method generated by attrs for class close_path.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'path_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='path_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path_id'), Attribute(name='type', default='close_path', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'path_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Closes a path, converting it to a 2D solid.', 'to_dict': <function close_path.to_dict>, 'from_dict': <classmethod(<function close_path.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function close_path.__getitem__>, '__setitem__': <function close_path.__setitem__>, '__delitem__': <function close_path.__delitem__>, '__contains__': <function close_path.__contains__>, '__dict__': <attribute '__dict__' of 'close_path' objects>, '__weakref__': <attribute '__weakref__' of 'close_path' objects>, '__attrs_attrs__': (Attribute(name='path_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path_id'), Attribute(name='type', default='close_path', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function close_path.__repr__>, '__eq__': <function close_path.__eq__>, '__ne__': <function close_path.__ne__>, '__lt__': <function close_path.__lt__>, '__le__': <function close_path.__le__>, '__gt__': <function close_path.__gt__>, '__ge__': <function close_path.__ge__>, '__hash__': None, '__init__': <function close_path.__init__>, '__match_args__': ('path_id', 'type')})[source]
- class kittycad.models.modeling_cmd.default_camera_disable_sketch_mode(type='default_camera_disable_sketch_mode')[source][source]
Disable sketch mode, from the default camera.
Method generated by attrs for class default_camera_disable_sketch_mode.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='type', default='default_camera_disable_sketch_mode', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Disable sketch mode, from the default camera.', 'to_dict': <function default_camera_disable_sketch_mode.to_dict>, 'from_dict': <classmethod(<function default_camera_disable_sketch_mode.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function default_camera_disable_sketch_mode.__getitem__>, '__setitem__': <function default_camera_disable_sketch_mode.__setitem__>, '__delitem__': <function default_camera_disable_sketch_mode.__delitem__>, '__contains__': <function default_camera_disable_sketch_mode.__contains__>, '__dict__': <attribute '__dict__' of 'default_camera_disable_sketch_mode' objects>, '__weakref__': <attribute '__weakref__' of 'default_camera_disable_sketch_mode' objects>, '__attrs_attrs__': (Attribute(name='type', default='default_camera_disable_sketch_mode', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function default_camera_disable_sketch_mode.__repr__>, '__eq__': <function default_camera_disable_sketch_mode.__eq__>, '__ne__': <function default_camera_disable_sketch_mode.__ne__>, '__lt__': <function default_camera_disable_sketch_mode.__lt__>, '__le__': <function default_camera_disable_sketch_mode.__le__>, '__gt__': <function default_camera_disable_sketch_mode.__gt__>, '__ge__': <function default_camera_disable_sketch_mode.__ge__>, '__hash__': None, '__init__': <function default_camera_disable_sketch_mode.__init__>, '__match_args__': ('type',)})[source]
- __init__(type='default_camera_disable_sketch_mode')[source]
Method generated by attrs for class default_camera_disable_sketch_mode.
- class kittycad.models.modeling_cmd.default_camera_enable_sketch_mode(animated=False, distance_to_plane=<kittycad.types.Unset object>, origin=<kittycad.types.Unset object>, ortho=False, type='default_camera_enable_sketch_mode', x_axis=<kittycad.types.Unset object>, y_axis=<kittycad.types.Unset object>)[source][source]
Enable sketch mode, where users can sketch 2D geometry. Users choose a plane to sketch on.
Method generated by attrs for class default_camera_enable_sketch_mode.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'animated': typing.Union[kittycad.types.Unset, bool], 'distance_to_plane': typing.Union[kittycad.types.Unset, float], 'origin': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'ortho': typing.Union[kittycad.types.Unset, bool], 'type': <class 'str'>, 'x_axis': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'y_axis': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d]}[source]
- __attrs_attrs__ = (Attribute(name='animated', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='animated'), Attribute(name='distance_to_plane', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='distance_to_plane'), Attribute(name='origin', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='origin'), Attribute(name='ortho', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='ortho'), Attribute(name='type', default='default_camera_enable_sketch_mode', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='x_axis', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x_axis'), Attribute(name='y_axis', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y_axis'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'animated': typing.Union[kittycad.types.Unset, bool], 'distance_to_plane': typing.Union[kittycad.types.Unset, float], 'origin': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'ortho': typing.Union[kittycad.types.Unset, bool], 'type': <class 'str'>, 'x_axis': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'y_axis': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Enable sketch mode, where users can sketch 2D geometry. Users choose a plane to sketch on.', 'to_dict': <function default_camera_enable_sketch_mode.to_dict>, 'from_dict': <classmethod(<function default_camera_enable_sketch_mode.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function default_camera_enable_sketch_mode.__getitem__>, '__setitem__': <function default_camera_enable_sketch_mode.__setitem__>, '__delitem__': <function default_camera_enable_sketch_mode.__delitem__>, '__contains__': <function default_camera_enable_sketch_mode.__contains__>, '__dict__': <attribute '__dict__' of 'default_camera_enable_sketch_mode' objects>, '__weakref__': <attribute '__weakref__' of 'default_camera_enable_sketch_mode' objects>, '__attrs_attrs__': (Attribute(name='animated', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='animated'), Attribute(name='distance_to_plane', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='distance_to_plane'), Attribute(name='origin', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='origin'), Attribute(name='ortho', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='ortho'), Attribute(name='type', default='default_camera_enable_sketch_mode', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='x_axis', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x_axis'), Attribute(name='y_axis', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y_axis'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function default_camera_enable_sketch_mode.__repr__>, '__eq__': <function default_camera_enable_sketch_mode.__eq__>, '__ne__': <function default_camera_enable_sketch_mode.__ne__>, '__lt__': <function default_camera_enable_sketch_mode.__lt__>, '__le__': <function default_camera_enable_sketch_mode.__le__>, '__gt__': <function default_camera_enable_sketch_mode.__gt__>, '__ge__': <function default_camera_enable_sketch_mode.__ge__>, '__hash__': None, '__init__': <function default_camera_enable_sketch_mode.__init__>, '__match_args__': ('animated', 'distance_to_plane', 'origin', 'ortho', 'type', 'x_axis', 'y_axis')})[source]
- __init__(animated=False, distance_to_plane=<kittycad.types.Unset object>, origin=<kittycad.types.Unset object>, ortho=False, type='default_camera_enable_sketch_mode', x_axis=<kittycad.types.Unset object>, y_axis=<kittycad.types.Unset object>)[source]
Method generated by attrs for class default_camera_enable_sketch_mode.
- __match_args__ = ('animated', 'distance_to_plane', 'origin', 'ortho', 'type', 'x_axis', 'y_axis')[source]
- class kittycad.models.modeling_cmd.default_camera_look_at(center=<kittycad.types.Unset object>, type='default_camera_look_at', up=<kittycad.types.Unset object>, vantage=<kittycad.types.Unset object>)[source][source]
Change what the default camera is looking at.
Method generated by attrs for class default_camera_look_at.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'center': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'type': <class 'str'>, 'up': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'vantage': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d]}[source]
- __attrs_attrs__ = (Attribute(name='center', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='center'), Attribute(name='type', default='default_camera_look_at', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='up', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='up'), Attribute(name='vantage', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='vantage'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'center': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'type': <class 'str'>, 'up': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'vantage': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Change what the default camera is looking at.', 'to_dict': <function default_camera_look_at.to_dict>, 'from_dict': <classmethod(<function default_camera_look_at.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function default_camera_look_at.__getitem__>, '__setitem__': <function default_camera_look_at.__setitem__>, '__delitem__': <function default_camera_look_at.__delitem__>, '__contains__': <function default_camera_look_at.__contains__>, '__dict__': <attribute '__dict__' of 'default_camera_look_at' objects>, '__weakref__': <attribute '__weakref__' of 'default_camera_look_at' objects>, '__attrs_attrs__': (Attribute(name='center', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='center'), Attribute(name='type', default='default_camera_look_at', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='up', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='up'), Attribute(name='vantage', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='vantage'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function default_camera_look_at.__repr__>, '__eq__': <function default_camera_look_at.__eq__>, '__ne__': <function default_camera_look_at.__ne__>, '__lt__': <function default_camera_look_at.__lt__>, '__le__': <function default_camera_look_at.__le__>, '__gt__': <function default_camera_look_at.__gt__>, '__ge__': <function default_camera_look_at.__ge__>, '__hash__': None, '__init__': <function default_camera_look_at.__init__>, '__match_args__': ('center', 'type', 'up', 'vantage')})[source]
- __init__(center=<kittycad.types.Unset object>, type='default_camera_look_at', up=<kittycad.types.Unset object>, vantage=<kittycad.types.Unset object>)[source]
Method generated by attrs for class default_camera_look_at.
- class kittycad.models.modeling_cmd.edit_mode_enter(target=<kittycad.types.Unset object>, type='edit_mode_enter')[source][source]
Enter edit mode
Method generated by attrs for class edit_mode_enter.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'target': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='target', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='target'), Attribute(name='type', default='edit_mode_enter', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'target': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Enter edit mode', 'to_dict': <function edit_mode_enter.to_dict>, 'from_dict': <classmethod(<function edit_mode_enter.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function edit_mode_enter.__getitem__>, '__setitem__': <function edit_mode_enter.__setitem__>, '__delitem__': <function edit_mode_enter.__delitem__>, '__contains__': <function edit_mode_enter.__contains__>, '__dict__': <attribute '__dict__' of 'edit_mode_enter' objects>, '__weakref__': <attribute '__weakref__' of 'edit_mode_enter' objects>, '__attrs_attrs__': (Attribute(name='target', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='target'), Attribute(name='type', default='edit_mode_enter', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function edit_mode_enter.__repr__>, '__eq__': <function edit_mode_enter.__eq__>, '__ne__': <function edit_mode_enter.__ne__>, '__lt__': <function edit_mode_enter.__lt__>, '__le__': <function edit_mode_enter.__le__>, '__gt__': <function edit_mode_enter.__gt__>, '__ge__': <function edit_mode_enter.__ge__>, '__hash__': None, '__init__': <function edit_mode_enter.__init__>, '__match_args__': ('target', 'type')})[source]
- class kittycad.models.modeling_cmd.edit_mode_exit(type='edit_mode_exit')[source][source]
Exit edit mode
Method generated by attrs for class edit_mode_exit.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='type', default='edit_mode_exit', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Exit edit mode', 'to_dict': <function edit_mode_exit.to_dict>, 'from_dict': <classmethod(<function edit_mode_exit.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function edit_mode_exit.__getitem__>, '__setitem__': <function edit_mode_exit.__setitem__>, '__delitem__': <function edit_mode_exit.__delitem__>, '__contains__': <function edit_mode_exit.__contains__>, '__dict__': <attribute '__dict__' of 'edit_mode_exit' objects>, '__weakref__': <attribute '__weakref__' of 'edit_mode_exit' objects>, '__attrs_attrs__': (Attribute(name='type', default='edit_mode_exit', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function edit_mode_exit.__repr__>, '__eq__': <function edit_mode_exit.__eq__>, '__ne__': <function edit_mode_exit.__ne__>, '__lt__': <function edit_mode_exit.__lt__>, '__le__': <function edit_mode_exit.__le__>, '__gt__': <function edit_mode_exit.__gt__>, '__ge__': <function edit_mode_exit.__ge__>, '__hash__': None, '__init__': <function edit_mode_exit.__init__>, '__match_args__': ('type',)})[source]
- class kittycad.models.modeling_cmd.entity_get_all_child_uuids(entity_id=<kittycad.types.Unset object>, type='entity_get_all_child_uuids')[source][source]
What are all UUIDs of this entity’s children?
Method generated by attrs for class entity_get_all_child_uuids.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_all_child_uuids', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "What are all UUIDs of this entity's children?", 'to_dict': <function entity_get_all_child_uuids.to_dict>, 'from_dict': <classmethod(<function entity_get_all_child_uuids.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function entity_get_all_child_uuids.__getitem__>, '__setitem__': <function entity_get_all_child_uuids.__setitem__>, '__delitem__': <function entity_get_all_child_uuids.__delitem__>, '__contains__': <function entity_get_all_child_uuids.__contains__>, '__dict__': <attribute '__dict__' of 'entity_get_all_child_uuids' objects>, '__weakref__': <attribute '__weakref__' of 'entity_get_all_child_uuids' objects>, '__attrs_attrs__': (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_all_child_uuids', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function entity_get_all_child_uuids.__repr__>, '__eq__': <function entity_get_all_child_uuids.__eq__>, '__ne__': <function entity_get_all_child_uuids.__ne__>, '__lt__': <function entity_get_all_child_uuids.__lt__>, '__le__': <function entity_get_all_child_uuids.__le__>, '__gt__': <function entity_get_all_child_uuids.__gt__>, '__ge__': <function entity_get_all_child_uuids.__ge__>, '__hash__': None, '__init__': <function entity_get_all_child_uuids.__init__>, '__match_args__': ('entity_id', 'type')})[source]
- __init__(entity_id=<kittycad.types.Unset object>, type='entity_get_all_child_uuids')[source]
Method generated by attrs for class entity_get_all_child_uuids.
- class kittycad.models.modeling_cmd.entity_get_child_uuid(child_index=<kittycad.types.Unset object>, entity_id=<kittycad.types.Unset object>, type='entity_get_child_uuid')[source][source]
What is the UUID of this entity’s n-th child?
Method generated by attrs for class entity_get_child_uuid.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'child_index': typing.Union[kittycad.types.Unset, int], 'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='child_index', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='child_index'), Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_child_uuid', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'child_index': typing.Union[kittycad.types.Unset, int], 'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "What is the UUID of this entity's n-th child?", 'to_dict': <function entity_get_child_uuid.to_dict>, 'from_dict': <classmethod(<function entity_get_child_uuid.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function entity_get_child_uuid.__getitem__>, '__setitem__': <function entity_get_child_uuid.__setitem__>, '__delitem__': <function entity_get_child_uuid.__delitem__>, '__contains__': <function entity_get_child_uuid.__contains__>, '__dict__': <attribute '__dict__' of 'entity_get_child_uuid' objects>, '__weakref__': <attribute '__weakref__' of 'entity_get_child_uuid' objects>, '__attrs_attrs__': (Attribute(name='child_index', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='child_index'), Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_child_uuid', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function entity_get_child_uuid.__repr__>, '__eq__': <function entity_get_child_uuid.__eq__>, '__ne__': <function entity_get_child_uuid.__ne__>, '__lt__': <function entity_get_child_uuid.__lt__>, '__le__': <function entity_get_child_uuid.__le__>, '__gt__': <function entity_get_child_uuid.__gt__>, '__ge__': <function entity_get_child_uuid.__ge__>, '__hash__': None, '__init__': <function entity_get_child_uuid.__init__>, '__match_args__': ('child_index', 'entity_id', 'type')})[source]
- __init__(child_index=<kittycad.types.Unset object>, entity_id=<kittycad.types.Unset object>, type='entity_get_child_uuid')[source]
Method generated by attrs for class entity_get_child_uuid.
- class kittycad.models.modeling_cmd.entity_get_num_children(entity_id=<kittycad.types.Unset object>, type='entity_get_num_children')[source][source]
How many children does the entity have?
Method generated by attrs for class entity_get_num_children.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_num_children', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'How many children does the entity have?', 'to_dict': <function entity_get_num_children.to_dict>, 'from_dict': <classmethod(<function entity_get_num_children.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function entity_get_num_children.__getitem__>, '__setitem__': <function entity_get_num_children.__setitem__>, '__delitem__': <function entity_get_num_children.__delitem__>, '__contains__': <function entity_get_num_children.__contains__>, '__dict__': <attribute '__dict__' of 'entity_get_num_children' objects>, '__weakref__': <attribute '__weakref__' of 'entity_get_num_children' objects>, '__attrs_attrs__': (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_num_children', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function entity_get_num_children.__repr__>, '__eq__': <function entity_get_num_children.__eq__>, '__ne__': <function entity_get_num_children.__ne__>, '__lt__': <function entity_get_num_children.__lt__>, '__le__': <function entity_get_num_children.__le__>, '__gt__': <function entity_get_num_children.__gt__>, '__ge__': <function entity_get_num_children.__ge__>, '__hash__': None, '__init__': <function entity_get_num_children.__init__>, '__match_args__': ('entity_id', 'type')})[source]
- __init__(entity_id=<kittycad.types.Unset object>, type='entity_get_num_children')[source]
Method generated by attrs for class entity_get_num_children.
- class kittycad.models.modeling_cmd.entity_get_parent_id(entity_id=<kittycad.types.Unset object>, type='entity_get_parent_id')[source][source]
What is this entity’s parent?
Method generated by attrs for class entity_get_parent_id.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_parent_id', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "What is this entity's parent?", 'to_dict': <function entity_get_parent_id.to_dict>, 'from_dict': <classmethod(<function entity_get_parent_id.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function entity_get_parent_id.__getitem__>, '__setitem__': <function entity_get_parent_id.__setitem__>, '__delitem__': <function entity_get_parent_id.__delitem__>, '__contains__': <function entity_get_parent_id.__contains__>, '__dict__': <attribute '__dict__' of 'entity_get_parent_id' objects>, '__weakref__': <attribute '__weakref__' of 'entity_get_parent_id' objects>, '__attrs_attrs__': (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='entity_get_parent_id', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function entity_get_parent_id.__repr__>, '__eq__': <function entity_get_parent_id.__eq__>, '__ne__': <function entity_get_parent_id.__ne__>, '__lt__': <function entity_get_parent_id.__lt__>, '__le__': <function entity_get_parent_id.__le__>, '__gt__': <function entity_get_parent_id.__gt__>, '__ge__': <function entity_get_parent_id.__ge__>, '__hash__': None, '__init__': <function entity_get_parent_id.__init__>, '__match_args__': ('entity_id', 'type')})[source]
- __init__(entity_id=<kittycad.types.Unset object>, type='entity_get_parent_id')[source]
Method generated by attrs for class entity_get_parent_id.
- class kittycad.models.modeling_cmd.export(entity_ids=<kittycad.types.Unset object>, format=<kittycad.types.Unset object>, type='export')[source][source]
Export the scene to a file.
Method generated by attrs for class export.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entity_ids': typing.Union[kittycad.types.Unset, typing.List[str]], 'format': typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entity_ids', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_ids'), Attribute(name='format', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='format'), Attribute(name='type', default='export', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entity_ids': typing.Union[kittycad.types.Unset, typing.List[str]], 'format': typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Export the scene to a file.', 'to_dict': <function export.to_dict>, 'from_dict': <classmethod(<function export.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function export.__getitem__>, '__setitem__': <function export.__setitem__>, '__delitem__': <function export.__delitem__>, '__contains__': <function export.__contains__>, '__dict__': <attribute '__dict__' of 'export' objects>, '__weakref__': <attribute '__weakref__' of 'export' objects>, '__attrs_attrs__': (Attribute(name='entity_ids', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_ids'), Attribute(name='format', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='format'), Attribute(name='type', default='export', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function export.__repr__>, '__eq__': <function export.__eq__>, '__ne__': <function export.__ne__>, '__lt__': <function export.__lt__>, '__le__': <function export.__le__>, '__gt__': <function export.__gt__>, '__ge__': <function export.__ge__>, '__hash__': None, '__init__': <function export.__init__>, '__match_args__': ('entity_ids', 'format', 'type')})[source]
- class kittycad.models.modeling_cmd.extend_path(path=<kittycad.types.Unset object>, segment=<kittycad.types.Unset object>, type='extend_path')[source][source]
Extend a path by adding a new segment which starts at the path’s “pen”. If no “pen” location has been set before (via MovePen), then the pen is at the origin.
Method generated by attrs for class extend_path.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'path': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'segment': typing.Union[kittycad.types.Unset, kittycad.models.path_segment.line, kittycad.models.path_segment.arc, kittycad.models.path_segment.bezier], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='path', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path'), Attribute(name='segment', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.path_segment.line, kittycad.models.path_segment.arc, kittycad.models.path_segment.bezier], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='segment'), Attribute(name='type', default='extend_path', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'path': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'segment': typing.Union[kittycad.types.Unset, kittycad.models.path_segment.line, kittycad.models.path_segment.arc, kittycad.models.path_segment.bezier], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Extend a path by adding a new segment which starts at the path\'s "pen". If no "pen" location has been set before (via `MovePen`), then the pen is at the origin.', 'to_dict': <function extend_path.to_dict>, 'from_dict': <classmethod(<function extend_path.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function extend_path.__getitem__>, '__setitem__': <function extend_path.__setitem__>, '__delitem__': <function extend_path.__delitem__>, '__contains__': <function extend_path.__contains__>, '__dict__': <attribute '__dict__' of 'extend_path' objects>, '__weakref__': <attribute '__weakref__' of 'extend_path' objects>, '__attrs_attrs__': (Attribute(name='path', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path'), Attribute(name='segment', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.path_segment.line, kittycad.models.path_segment.arc, kittycad.models.path_segment.bezier], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='segment'), Attribute(name='type', default='extend_path', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function extend_path.__repr__>, '__eq__': <function extend_path.__eq__>, '__ne__': <function extend_path.__ne__>, '__lt__': <function extend_path.__lt__>, '__le__': <function extend_path.__le__>, '__gt__': <function extend_path.__gt__>, '__ge__': <function extend_path.__ge__>, '__hash__': None, '__init__': <function extend_path.__init__>, '__match_args__': ('path', 'segment', 'type')})[source]
- __init__(path=<kittycad.types.Unset object>, segment=<kittycad.types.Unset object>, type='extend_path')[source]
Method generated by attrs for class extend_path.
-
path:
Union
[Unset
,ModelingCmdId
][source]
- class kittycad.models.modeling_cmd.extrude(cap=False, distance=<kittycad.types.Unset object>, target=<kittycad.types.Unset object>, type='extrude')[source][source]
Extrude a 2D solid.
Method generated by attrs for class extrude.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'cap': typing.Union[kittycad.types.Unset, bool], 'distance': typing.Union[kittycad.types.Unset, float], 'target': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='cap', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='cap'), Attribute(name='distance', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='distance'), Attribute(name='target', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='target'), Attribute(name='type', default='extrude', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'cap': typing.Union[kittycad.types.Unset, bool], 'distance': typing.Union[kittycad.types.Unset, float], 'target': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Extrude a 2D solid.', 'to_dict': <function extrude.to_dict>, 'from_dict': <classmethod(<function extrude.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function extrude.__getitem__>, '__setitem__': <function extrude.__setitem__>, '__delitem__': <function extrude.__delitem__>, '__contains__': <function extrude.__contains__>, '__dict__': <attribute '__dict__' of 'extrude' objects>, '__weakref__': <attribute '__weakref__' of 'extrude' objects>, '__attrs_attrs__': (Attribute(name='cap', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='cap'), Attribute(name='distance', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='distance'), Attribute(name='target', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='target'), Attribute(name='type', default='extrude', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function extrude.__repr__>, '__eq__': <function extrude.__eq__>, '__ne__': <function extrude.__ne__>, '__lt__': <function extrude.__lt__>, '__le__': <function extrude.__le__>, '__gt__': <function extrude.__gt__>, '__ge__': <function extrude.__ge__>, '__hash__': None, '__init__': <function extrude.__init__>, '__match_args__': ('cap', 'distance', 'target', 'type')})[source]
- __init__(cap=False, distance=<kittycad.types.Unset object>, target=<kittycad.types.Unset object>, type='extrude')[source]
Method generated by attrs for class extrude.
-
target:
Union
[Unset
,ModelingCmdId
][source]
- class kittycad.models.modeling_cmd.get_entity_type(entity_id=<kittycad.types.Unset object>, type='get_entity_type')[source][source]
What type of entity is this?
Method generated by attrs for class get_entity_type.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='get_entity_type', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entity_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'What type of entity is this?', 'to_dict': <function get_entity_type.to_dict>, 'from_dict': <classmethod(<function get_entity_type.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function get_entity_type.__getitem__>, '__setitem__': <function get_entity_type.__setitem__>, '__delitem__': <function get_entity_type.__delitem__>, '__contains__': <function get_entity_type.__contains__>, '__dict__': <attribute '__dict__' of 'get_entity_type' objects>, '__weakref__': <attribute '__weakref__' of 'get_entity_type' objects>, '__attrs_attrs__': (Attribute(name='entity_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_id'), Attribute(name='type', default='get_entity_type', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function get_entity_type.__repr__>, '__eq__': <function get_entity_type.__eq__>, '__ne__': <function get_entity_type.__ne__>, '__lt__': <function get_entity_type.__lt__>, '__le__': <function get_entity_type.__le__>, '__gt__': <function get_entity_type.__gt__>, '__ge__': <function get_entity_type.__ge__>, '__hash__': None, '__init__': <function get_entity_type.__init__>, '__match_args__': ('entity_id', 'type')})[source]
- class kittycad.models.modeling_cmd.highlight_set_entities(entities=<kittycad.types.Unset object>, type='highlight_set_entities')[source][source]
Changes the current highlighted entity to these entities.
Method generated by attrs for class highlight_set_entities.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='highlight_set_entities', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Changes the current highlighted entity to these entities.', 'to_dict': <function highlight_set_entities.to_dict>, 'from_dict': <classmethod(<function highlight_set_entities.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function highlight_set_entities.__getitem__>, '__setitem__': <function highlight_set_entities.__setitem__>, '__delitem__': <function highlight_set_entities.__delitem__>, '__contains__': <function highlight_set_entities.__contains__>, '__dict__': <attribute '__dict__' of 'highlight_set_entities' objects>, '__weakref__': <attribute '__weakref__' of 'highlight_set_entities' objects>, '__attrs_attrs__': (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='highlight_set_entities', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function highlight_set_entities.__repr__>, '__eq__': <function highlight_set_entities.__eq__>, '__ne__': <function highlight_set_entities.__ne__>, '__lt__': <function highlight_set_entities.__lt__>, '__le__': <function highlight_set_entities.__le__>, '__gt__': <function highlight_set_entities.__gt__>, '__ge__': <function highlight_set_entities.__ge__>, '__hash__': None, '__init__': <function highlight_set_entities.__init__>, '__match_args__': ('entities', 'type')})[source]
- __init__(entities=<kittycad.types.Unset object>, type='highlight_set_entities')[source]
Method generated by attrs for class highlight_set_entities.
- class kittycad.models.modeling_cmd.highlight_set_entity(selected_at_window=<kittycad.types.Unset object>, sequence=<kittycad.types.Unset object>, type='highlight_set_entity')[source][source]
Changes the current highlighted entity to whichever one is at the given window coordinate. If there’s no entity at this location, clears the highlight.
Method generated by attrs for class highlight_set_entity.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'selected_at_window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'sequence': typing.Union[kittycad.types.Unset, int], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='selected_at_window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selected_at_window'), Attribute(name='sequence', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='sequence'), Attribute(name='type', default='highlight_set_entity', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'selected_at_window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'sequence': typing.Union[kittycad.types.Unset, int], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "Changes the current highlighted entity to whichever one is at the given window coordinate. If there's no entity at this location, clears the highlight.", 'to_dict': <function highlight_set_entity.to_dict>, 'from_dict': <classmethod(<function highlight_set_entity.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function highlight_set_entity.__getitem__>, '__setitem__': <function highlight_set_entity.__setitem__>, '__delitem__': <function highlight_set_entity.__delitem__>, '__contains__': <function highlight_set_entity.__contains__>, '__dict__': <attribute '__dict__' of 'highlight_set_entity' objects>, '__weakref__': <attribute '__weakref__' of 'highlight_set_entity' objects>, '__attrs_attrs__': (Attribute(name='selected_at_window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selected_at_window'), Attribute(name='sequence', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='sequence'), Attribute(name='type', default='highlight_set_entity', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function highlight_set_entity.__repr__>, '__eq__': <function highlight_set_entity.__eq__>, '__ne__': <function highlight_set_entity.__ne__>, '__lt__': <function highlight_set_entity.__lt__>, '__le__': <function highlight_set_entity.__le__>, '__gt__': <function highlight_set_entity.__gt__>, '__ge__': <function highlight_set_entity.__ge__>, '__hash__': None, '__init__': <function highlight_set_entity.__init__>, '__match_args__': ('selected_at_window', 'sequence', 'type')})[source]
- __init__(selected_at_window=<kittycad.types.Unset object>, sequence=<kittycad.types.Unset object>, type='highlight_set_entity')[source]
Method generated by attrs for class highlight_set_entity.
- class kittycad.models.modeling_cmd.move_path_pen(path=<kittycad.types.Unset object>, to=<kittycad.types.Unset object>, type='move_path_pen')[source][source]
Move the path’s “pen”.
Method generated by attrs for class move_path_pen.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'path': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'to': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='path', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path'), Attribute(name='to', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='to'), Attribute(name='type', default='move_path_pen', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'path': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'to': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Move the path\'s "pen".', 'to_dict': <function move_path_pen.to_dict>, 'from_dict': <classmethod(<function move_path_pen.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function move_path_pen.__getitem__>, '__setitem__': <function move_path_pen.__setitem__>, '__delitem__': <function move_path_pen.__delitem__>, '__contains__': <function move_path_pen.__contains__>, '__dict__': <attribute '__dict__' of 'move_path_pen' objects>, '__weakref__': <attribute '__weakref__' of 'move_path_pen' objects>, '__attrs_attrs__': (Attribute(name='path', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path'), Attribute(name='to', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='to'), Attribute(name='type', default='move_path_pen', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function move_path_pen.__repr__>, '__eq__': <function move_path_pen.__eq__>, '__ne__': <function move_path_pen.__ne__>, '__lt__': <function move_path_pen.__lt__>, '__le__': <function move_path_pen.__le__>, '__gt__': <function move_path_pen.__gt__>, '__ge__': <function move_path_pen.__ge__>, '__hash__': None, '__init__': <function move_path_pen.__init__>, '__match_args__': ('path', 'to', 'type')})[source]
- __init__(path=<kittycad.types.Unset object>, to=<kittycad.types.Unset object>, type='move_path_pen')[source]
Method generated by attrs for class move_path_pen.
-
path:
Union
[Unset
,ModelingCmdId
][source]
- class kittycad.models.modeling_cmd.new_annotation(annotation_type=<kittycad.types.Unset object>, clobber=False, options=<kittycad.types.Unset object>, type='new_annotation')[source][source]
Create a new annotation
Method generated by attrs for class new_annotation.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'annotation_type': typing.Union[kittycad.types.Unset, kittycad.models.annotation_type.AnnotationType], 'clobber': typing.Union[kittycad.types.Unset, bool], 'options': typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='annotation_type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_type.AnnotationType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='annotation_type'), Attribute(name='clobber', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='clobber'), Attribute(name='options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='options'), Attribute(name='type', default='new_annotation', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'annotation_type': typing.Union[kittycad.types.Unset, kittycad.models.annotation_type.AnnotationType], 'clobber': typing.Union[kittycad.types.Unset, bool], 'options': typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Create a new annotation', 'to_dict': <function new_annotation.to_dict>, 'from_dict': <classmethod(<function new_annotation.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function new_annotation.__getitem__>, '__setitem__': <function new_annotation.__setitem__>, '__delitem__': <function new_annotation.__delitem__>, '__contains__': <function new_annotation.__contains__>, '__dict__': <attribute '__dict__' of 'new_annotation' objects>, '__weakref__': <attribute '__weakref__' of 'new_annotation' objects>, '__attrs_attrs__': (Attribute(name='annotation_type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_type.AnnotationType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='annotation_type'), Attribute(name='clobber', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='clobber'), Attribute(name='options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='options'), Attribute(name='type', default='new_annotation', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function new_annotation.__repr__>, '__eq__': <function new_annotation.__eq__>, '__ne__': <function new_annotation.__ne__>, '__lt__': <function new_annotation.__lt__>, '__le__': <function new_annotation.__le__>, '__gt__': <function new_annotation.__gt__>, '__ge__': <function new_annotation.__ge__>, '__hash__': None, '__init__': <function new_annotation.__init__>, '__match_args__': ('annotation_type', 'clobber', 'options', 'type')})[source]
- __init__(annotation_type=<kittycad.types.Unset object>, clobber=False, options=<kittycad.types.Unset object>, type='new_annotation')[source]
Method generated by attrs for class new_annotation.
-
annotation_type:
Union
[Unset
,AnnotationType
][source]
-
options:
Union
[Unset
,AnnotationOptions
][source]
- class kittycad.models.modeling_cmd.object_visible(hidden=False, object_id=<kittycad.types.Unset object>, type='object_visible')[source][source]
Hide or show an object
Method generated by attrs for class object_visible.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'hidden': typing.Union[kittycad.types.Unset, bool], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='hidden', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='hidden'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='object_visible', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'hidden': typing.Union[kittycad.types.Unset, bool], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Hide or show an object', 'to_dict': <function object_visible.to_dict>, 'from_dict': <classmethod(<function object_visible.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function object_visible.__getitem__>, '__setitem__': <function object_visible.__setitem__>, '__delitem__': <function object_visible.__delitem__>, '__contains__': <function object_visible.__contains__>, '__dict__': <attribute '__dict__' of 'object_visible' objects>, '__weakref__': <attribute '__weakref__' of 'object_visible' objects>, '__attrs_attrs__': (Attribute(name='hidden', default=False, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='hidden'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='object_visible', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function object_visible.__repr__>, '__eq__': <function object_visible.__eq__>, '__ne__': <function object_visible.__ne__>, '__lt__': <function object_visible.__lt__>, '__le__': <function object_visible.__le__>, '__gt__': <function object_visible.__gt__>, '__ge__': <function object_visible.__ge__>, '__hash__': None, '__init__': <function object_visible.__init__>, '__match_args__': ('hidden', 'object_id', 'type')})[source]
- __init__(hidden=False, object_id=<kittycad.types.Unset object>, type='object_visible')[source]
Method generated by attrs for class object_visible.
- class kittycad.models.modeling_cmd.select_add(entities=<kittycad.types.Unset object>, type='select_add')[source][source]
Adds one or more entities (by UUID) to the selection.
Method generated by attrs for class select_add.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='select_add', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Adds one or more entities (by UUID) to the selection.', 'to_dict': <function select_add.to_dict>, 'from_dict': <classmethod(<function select_add.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function select_add.__getitem__>, '__setitem__': <function select_add.__setitem__>, '__delitem__': <function select_add.__delitem__>, '__contains__': <function select_add.__contains__>, '__dict__': <attribute '__dict__' of 'select_add' objects>, '__weakref__': <attribute '__weakref__' of 'select_add' objects>, '__attrs_attrs__': (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='select_add', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function select_add.__repr__>, '__eq__': <function select_add.__eq__>, '__ne__': <function select_add.__ne__>, '__lt__': <function select_add.__lt__>, '__le__': <function select_add.__le__>, '__gt__': <function select_add.__gt__>, '__ge__': <function select_add.__ge__>, '__hash__': None, '__init__': <function select_add.__init__>, '__match_args__': ('entities', 'type')})[source]
- class kittycad.models.modeling_cmd.select_clear(type='select_clear')[source][source]
Clear the selection
Method generated by attrs for class select_clear.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='type', default='select_clear', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Clear the selection', 'to_dict': <function select_clear.to_dict>, 'from_dict': <classmethod(<function select_clear.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function select_clear.__getitem__>, '__setitem__': <function select_clear.__setitem__>, '__delitem__': <function select_clear.__delitem__>, '__contains__': <function select_clear.__contains__>, '__dict__': <attribute '__dict__' of 'select_clear' objects>, '__weakref__': <attribute '__weakref__' of 'select_clear' objects>, '__attrs_attrs__': (Attribute(name='type', default='select_clear', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function select_clear.__repr__>, '__eq__': <function select_clear.__eq__>, '__ne__': <function select_clear.__ne__>, '__lt__': <function select_clear.__lt__>, '__le__': <function select_clear.__le__>, '__gt__': <function select_clear.__gt__>, '__ge__': <function select_clear.__ge__>, '__hash__': None, '__init__': <function select_clear.__init__>, '__match_args__': ('type',)})[source]
- class kittycad.models.modeling_cmd.select_get(type='select_get')[source][source]
Find all IDs of selected entities
Method generated by attrs for class select_get.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='type', default='select_get', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Find all IDs of selected entities', 'to_dict': <function select_get.to_dict>, 'from_dict': <classmethod(<function select_get.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function select_get.__getitem__>, '__setitem__': <function select_get.__setitem__>, '__delitem__': <function select_get.__delitem__>, '__contains__': <function select_get.__contains__>, '__dict__': <attribute '__dict__' of 'select_get' objects>, '__weakref__': <attribute '__weakref__' of 'select_get' objects>, '__attrs_attrs__': (Attribute(name='type', default='select_get', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function select_get.__repr__>, '__eq__': <function select_get.__eq__>, '__ne__': <function select_get.__ne__>, '__lt__': <function select_get.__lt__>, '__le__': <function select_get.__le__>, '__gt__': <function select_get.__gt__>, '__ge__': <function select_get.__ge__>, '__hash__': None, '__init__': <function select_get.__init__>, '__match_args__': ('type',)})[source]
- class kittycad.models.modeling_cmd.select_remove(entities=<kittycad.types.Unset object>, type='select_remove')[source][source]
Removes one or more entities (by UUID) from the selection.
Method generated by attrs for class select_remove.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='select_remove', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Removes one or more entities (by UUID) from the selection.', 'to_dict': <function select_remove.to_dict>, 'from_dict': <classmethod(<function select_remove.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function select_remove.__getitem__>, '__setitem__': <function select_remove.__setitem__>, '__delitem__': <function select_remove.__delitem__>, '__contains__': <function select_remove.__contains__>, '__dict__': <attribute '__dict__' of 'select_remove' objects>, '__weakref__': <attribute '__weakref__' of 'select_remove' objects>, '__attrs_attrs__': (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='select_remove', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function select_remove.__repr__>, '__eq__': <function select_remove.__eq__>, '__ne__': <function select_remove.__ne__>, '__lt__': <function select_remove.__lt__>, '__le__': <function select_remove.__le__>, '__gt__': <function select_remove.__gt__>, '__ge__': <function select_remove.__ge__>, '__hash__': None, '__init__': <function select_remove.__init__>, '__match_args__': ('entities', 'type')})[source]
- class kittycad.models.modeling_cmd.select_replace(entities=<kittycad.types.Unset object>, type='select_replace')[source][source]
Replaces the current selection with these new entities (by UUID). Equivalent to doing SelectClear then SelectAdd.
Method generated by attrs for class select_replace.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='select_replace', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'entities': typing.Union[kittycad.types.Unset, typing.List[str]], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Replaces the current selection with these new entities (by UUID). Equivalent to doing SelectClear then SelectAdd.', 'to_dict': <function select_replace.to_dict>, 'from_dict': <classmethod(<function select_replace.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function select_replace.__getitem__>, '__setitem__': <function select_replace.__setitem__>, '__delitem__': <function select_replace.__delitem__>, '__contains__': <function select_replace.__contains__>, '__dict__': <attribute '__dict__' of 'select_replace' objects>, '__weakref__': <attribute '__weakref__' of 'select_replace' objects>, '__attrs_attrs__': (Attribute(name='entities', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entities'), Attribute(name='type', default='select_replace', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function select_replace.__repr__>, '__eq__': <function select_replace.__eq__>, '__ne__': <function select_replace.__ne__>, '__lt__': <function select_replace.__lt__>, '__le__': <function select_replace.__le__>, '__gt__': <function select_replace.__gt__>, '__ge__': <function select_replace.__ge__>, '__hash__': None, '__init__': <function select_replace.__init__>, '__match_args__': ('entities', 'type')})[source]
- class kittycad.models.modeling_cmd.select_with_point(selected_at_window=<kittycad.types.Unset object>, selection_type=<kittycad.types.Unset object>, type='select_with_point')[source][source]
Modifies the selection by simulating a “mouse click” at the given x,y window coordinate Returns ID of whatever was selected.
Method generated by attrs for class select_with_point.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'selected_at_window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'selection_type': typing.Union[kittycad.types.Unset, kittycad.models.scene_selection_type.SceneSelectionType], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='selected_at_window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selected_at_window'), Attribute(name='selection_type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.scene_selection_type.SceneSelectionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selection_type'), Attribute(name='type', default='select_with_point', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'selected_at_window': typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], 'selection_type': typing.Union[kittycad.types.Unset, kittycad.models.scene_selection_type.SceneSelectionType], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Modifies the selection by simulating a "mouse click" at the given x,y window coordinate Returns ID of whatever was selected.', 'to_dict': <function select_with_point.to_dict>, 'from_dict': <classmethod(<function select_with_point.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function select_with_point.__getitem__>, '__setitem__': <function select_with_point.__setitem__>, '__delitem__': <function select_with_point.__delitem__>, '__contains__': <function select_with_point.__contains__>, '__dict__': <attribute '__dict__' of 'select_with_point' objects>, '__weakref__': <attribute '__weakref__' of 'select_with_point' objects>, '__attrs_attrs__': (Attribute(name='selected_at_window', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point2d.Point2d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selected_at_window'), Attribute(name='selection_type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.scene_selection_type.SceneSelectionType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='selection_type'), Attribute(name='type', default='select_with_point', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function select_with_point.__repr__>, '__eq__': <function select_with_point.__eq__>, '__ne__': <function select_with_point.__ne__>, '__lt__': <function select_with_point.__lt__>, '__le__': <function select_with_point.__le__>, '__gt__': <function select_with_point.__gt__>, '__ge__': <function select_with_point.__ge__>, '__hash__': None, '__init__': <function select_with_point.__init__>, '__match_args__': ('selected_at_window', 'selection_type', 'type')})[source]
- __init__(selected_at_window=<kittycad.types.Unset object>, selection_type=<kittycad.types.Unset object>, type='select_with_point')[source]
Method generated by attrs for class select_with_point.
-
selection_type:
Union
[Unset
,SceneSelectionType
][source]
- class kittycad.models.modeling_cmd.solid3d_get_all_edge_faces(edge_id=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_all_edge_faces')[source][source]
Gets all faces which use the given edge.
Method generated by attrs for class solid3d_get_all_edge_faces.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'edge_id': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_all_edge_faces', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'edge_id': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Gets all faces which use the given edge.', 'to_dict': <function solid3d_get_all_edge_faces.to_dict>, 'from_dict': <classmethod(<function solid3d_get_all_edge_faces.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function solid3d_get_all_edge_faces.__getitem__>, '__setitem__': <function solid3d_get_all_edge_faces.__setitem__>, '__delitem__': <function solid3d_get_all_edge_faces.__delitem__>, '__contains__': <function solid3d_get_all_edge_faces.__contains__>, '__dict__': <attribute '__dict__' of 'solid3d_get_all_edge_faces' objects>, '__weakref__': <attribute '__weakref__' of 'solid3d_get_all_edge_faces' objects>, '__attrs_attrs__': (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_all_edge_faces', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function solid3d_get_all_edge_faces.__repr__>, '__eq__': <function solid3d_get_all_edge_faces.__eq__>, '__ne__': <function solid3d_get_all_edge_faces.__ne__>, '__lt__': <function solid3d_get_all_edge_faces.__lt__>, '__le__': <function solid3d_get_all_edge_faces.__le__>, '__gt__': <function solid3d_get_all_edge_faces.__gt__>, '__ge__': <function solid3d_get_all_edge_faces.__ge__>, '__hash__': None, '__init__': <function solid3d_get_all_edge_faces.__init__>, '__match_args__': ('edge_id', 'object_id', 'type')})[source]
- __init__(edge_id=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_all_edge_faces')[source]
Method generated by attrs for class solid3d_get_all_edge_faces.
- class kittycad.models.modeling_cmd.solid3d_get_all_opposite_edges(along_vector=<kittycad.types.Unset object>, edge_id=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_all_opposite_edges')[source][source]
Gets all edges which are opposite the given edge, across all possible faces.
Method generated by attrs for class solid3d_get_all_opposite_edges.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'along_vector': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'edge_id': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='along_vector', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='along_vector'), Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_all_opposite_edges', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'along_vector': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'edge_id': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Gets all edges which are opposite the given edge, across all possible faces.', 'to_dict': <function solid3d_get_all_opposite_edges.to_dict>, 'from_dict': <classmethod(<function solid3d_get_all_opposite_edges.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function solid3d_get_all_opposite_edges.__getitem__>, '__setitem__': <function solid3d_get_all_opposite_edges.__setitem__>, '__delitem__': <function solid3d_get_all_opposite_edges.__delitem__>, '__contains__': <function solid3d_get_all_opposite_edges.__contains__>, '__dict__': <attribute '__dict__' of 'solid3d_get_all_opposite_edges' objects>, '__weakref__': <attribute '__weakref__' of 'solid3d_get_all_opposite_edges' objects>, '__attrs_attrs__': (Attribute(name='along_vector', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='along_vector'), Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_all_opposite_edges', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function solid3d_get_all_opposite_edges.__repr__>, '__eq__': <function solid3d_get_all_opposite_edges.__eq__>, '__ne__': <function solid3d_get_all_opposite_edges.__ne__>, '__lt__': <function solid3d_get_all_opposite_edges.__lt__>, '__le__': <function solid3d_get_all_opposite_edges.__le__>, '__gt__': <function solid3d_get_all_opposite_edges.__gt__>, '__ge__': <function solid3d_get_all_opposite_edges.__ge__>, '__hash__': None, '__init__': <function solid3d_get_all_opposite_edges.__init__>, '__match_args__': ('along_vector', 'edge_id', 'object_id', 'type')})[source]
- __init__(along_vector=<kittycad.types.Unset object>, edge_id=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_all_opposite_edges')[source]
Method generated by attrs for class solid3d_get_all_opposite_edges.
- class kittycad.models.modeling_cmd.solid3d_get_next_adjacent_edge(edge_id=<kittycad.types.Unset object>, face_uuid=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_next_adjacent_edge')[source][source]
Gets the next adjacent edge for the given edge, along the given face.
Method generated by attrs for class solid3d_get_next_adjacent_edge.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'edge_id': typing.Union[kittycad.types.Unset, str], 'face_uuid': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='face_uuid', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='face_uuid'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_next_adjacent_edge', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'edge_id': typing.Union[kittycad.types.Unset, str], 'face_uuid': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Gets the next adjacent edge for the given edge, along the given face.', 'to_dict': <function solid3d_get_next_adjacent_edge.to_dict>, 'from_dict': <classmethod(<function solid3d_get_next_adjacent_edge.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function solid3d_get_next_adjacent_edge.__getitem__>, '__setitem__': <function solid3d_get_next_adjacent_edge.__setitem__>, '__delitem__': <function solid3d_get_next_adjacent_edge.__delitem__>, '__contains__': <function solid3d_get_next_adjacent_edge.__contains__>, '__dict__': <attribute '__dict__' of 'solid3d_get_next_adjacent_edge' objects>, '__weakref__': <attribute '__weakref__' of 'solid3d_get_next_adjacent_edge' objects>, '__attrs_attrs__': (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='face_uuid', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='face_uuid'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_next_adjacent_edge', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function solid3d_get_next_adjacent_edge.__repr__>, '__eq__': <function solid3d_get_next_adjacent_edge.__eq__>, '__ne__': <function solid3d_get_next_adjacent_edge.__ne__>, '__lt__': <function solid3d_get_next_adjacent_edge.__lt__>, '__le__': <function solid3d_get_next_adjacent_edge.__le__>, '__gt__': <function solid3d_get_next_adjacent_edge.__gt__>, '__ge__': <function solid3d_get_next_adjacent_edge.__ge__>, '__hash__': None, '__init__': <function solid3d_get_next_adjacent_edge.__init__>, '__match_args__': ('edge_id', 'face_uuid', 'object_id', 'type')})[source]
- __init__(edge_id=<kittycad.types.Unset object>, face_uuid=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_next_adjacent_edge')[source]
Method generated by attrs for class solid3d_get_next_adjacent_edge.
- class kittycad.models.modeling_cmd.solid3d_get_opposite_edge(edge_id=<kittycad.types.Unset object>, face_uuid=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_opposite_edge')[source][source]
Gets the edge opposite the given edge, along the given face.
Method generated by attrs for class solid3d_get_opposite_edge.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'edge_id': typing.Union[kittycad.types.Unset, str], 'face_uuid': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='face_uuid', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='face_uuid'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_opposite_edge', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'edge_id': typing.Union[kittycad.types.Unset, str], 'face_uuid': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Gets the edge opposite the given edge, along the given face.', 'to_dict': <function solid3d_get_opposite_edge.to_dict>, 'from_dict': <classmethod(<function solid3d_get_opposite_edge.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function solid3d_get_opposite_edge.__getitem__>, '__setitem__': <function solid3d_get_opposite_edge.__setitem__>, '__delitem__': <function solid3d_get_opposite_edge.__delitem__>, '__contains__': <function solid3d_get_opposite_edge.__contains__>, '__dict__': <attribute '__dict__' of 'solid3d_get_opposite_edge' objects>, '__weakref__': <attribute '__weakref__' of 'solid3d_get_opposite_edge' objects>, '__attrs_attrs__': (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='face_uuid', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='face_uuid'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_opposite_edge', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function solid3d_get_opposite_edge.__repr__>, '__eq__': <function solid3d_get_opposite_edge.__eq__>, '__ne__': <function solid3d_get_opposite_edge.__ne__>, '__lt__': <function solid3d_get_opposite_edge.__lt__>, '__le__': <function solid3d_get_opposite_edge.__le__>, '__gt__': <function solid3d_get_opposite_edge.__gt__>, '__ge__': <function solid3d_get_opposite_edge.__ge__>, '__hash__': None, '__init__': <function solid3d_get_opposite_edge.__init__>, '__match_args__': ('edge_id', 'face_uuid', 'object_id', 'type')})[source]
- __init__(edge_id=<kittycad.types.Unset object>, face_uuid=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_opposite_edge')[source]
Method generated by attrs for class solid3d_get_opposite_edge.
- class kittycad.models.modeling_cmd.solid3d_get_prev_adjacent_edge(edge_id=<kittycad.types.Unset object>, face_uuid=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_prev_adjacent_edge')[source][source]
Gets the previous adjacent edge for the given edge, along the given face.
Method generated by attrs for class solid3d_get_prev_adjacent_edge.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'edge_id': typing.Union[kittycad.types.Unset, str], 'face_uuid': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='face_uuid', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='face_uuid'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_prev_adjacent_edge', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'edge_id': typing.Union[kittycad.types.Unset, str], 'face_uuid': typing.Union[kittycad.types.Unset, str], 'object_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Gets the previous adjacent edge for the given edge, along the given face.', 'to_dict': <function solid3d_get_prev_adjacent_edge.to_dict>, 'from_dict': <classmethod(<function solid3d_get_prev_adjacent_edge.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function solid3d_get_prev_adjacent_edge.__getitem__>, '__setitem__': <function solid3d_get_prev_adjacent_edge.__setitem__>, '__delitem__': <function solid3d_get_prev_adjacent_edge.__delitem__>, '__contains__': <function solid3d_get_prev_adjacent_edge.__contains__>, '__dict__': <attribute '__dict__' of 'solid3d_get_prev_adjacent_edge' objects>, '__weakref__': <attribute '__weakref__' of 'solid3d_get_prev_adjacent_edge' objects>, '__attrs_attrs__': (Attribute(name='edge_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='edge_id'), Attribute(name='face_uuid', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='face_uuid'), Attribute(name='object_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='object_id'), Attribute(name='type', default='solid3d_get_prev_adjacent_edge', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function solid3d_get_prev_adjacent_edge.__repr__>, '__eq__': <function solid3d_get_prev_adjacent_edge.__eq__>, '__ne__': <function solid3d_get_prev_adjacent_edge.__ne__>, '__lt__': <function solid3d_get_prev_adjacent_edge.__lt__>, '__le__': <function solid3d_get_prev_adjacent_edge.__le__>, '__gt__': <function solid3d_get_prev_adjacent_edge.__gt__>, '__ge__': <function solid3d_get_prev_adjacent_edge.__ge__>, '__hash__': None, '__init__': <function solid3d_get_prev_adjacent_edge.__init__>, '__match_args__': ('edge_id', 'face_uuid', 'object_id', 'type')})[source]
- __init__(edge_id=<kittycad.types.Unset object>, face_uuid=<kittycad.types.Unset object>, object_id=<kittycad.types.Unset object>, type='solid3d_get_prev_adjacent_edge')[source]
Method generated by attrs for class solid3d_get_prev_adjacent_edge.
- class kittycad.models.modeling_cmd.start_path(type='start_path')[source][source]
Start a path.
Method generated by attrs for class start_path.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='type', default='start_path', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Start a path.', 'to_dict': <function start_path.to_dict>, 'from_dict': <classmethod(<function start_path.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function start_path.__getitem__>, '__setitem__': <function start_path.__setitem__>, '__delitem__': <function start_path.__delitem__>, '__contains__': <function start_path.__contains__>, '__dict__': <attribute '__dict__' of 'start_path' objects>, '__weakref__': <attribute '__weakref__' of 'start_path' objects>, '__attrs_attrs__': (Attribute(name='type', default='start_path', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function start_path.__repr__>, '__eq__': <function start_path.__eq__>, '__ne__': <function start_path.__ne__>, '__lt__': <function start_path.__lt__>, '__le__': <function start_path.__le__>, '__gt__': <function start_path.__gt__>, '__ge__': <function start_path.__ge__>, '__hash__': None, '__init__': <function start_path.__init__>, '__match_args__': ('type',)})[source]
- class kittycad.models.modeling_cmd.update_annotation(annotation_id=<kittycad.types.Unset object>, options=<kittycad.types.Unset object>, type='update_annotation')[source][source]
Update an annotation
Method generated by attrs for class update_annotation.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'annotation_id': typing.Union[kittycad.types.Unset, str], 'options': typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='annotation_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='annotation_id'), Attribute(name='options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='options'), Attribute(name='type', default='update_annotation', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'annotation_id': typing.Union[kittycad.types.Unset, str], 'options': typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Update an annotation', 'to_dict': <function update_annotation.to_dict>, 'from_dict': <classmethod(<function update_annotation.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function update_annotation.__getitem__>, '__setitem__': <function update_annotation.__setitem__>, '__delitem__': <function update_annotation.__delitem__>, '__contains__': <function update_annotation.__contains__>, '__dict__': <attribute '__dict__' of 'update_annotation' objects>, '__weakref__': <attribute '__weakref__' of 'update_annotation' objects>, '__attrs_attrs__': (Attribute(name='annotation_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='annotation_id'), Attribute(name='options', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.annotation_options.AnnotationOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='options'), Attribute(name='type', default='update_annotation', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function update_annotation.__repr__>, '__eq__': <function update_annotation.__eq__>, '__ne__': <function update_annotation.__ne__>, '__lt__': <function update_annotation.__lt__>, '__le__': <function update_annotation.__le__>, '__gt__': <function update_annotation.__gt__>, '__ge__': <function update_annotation.__ge__>, '__hash__': None, '__init__': <function update_annotation.__init__>, '__match_args__': ('annotation_id', 'options', 'type')})[source]
- __init__(annotation_id=<kittycad.types.Unset object>, options=<kittycad.types.Unset object>, type='update_annotation')[source]
Method generated by attrs for class update_annotation.
-
options:
Union
[Unset
,AnnotationOptions
][source]