kittycad.models.modeling_cmd.default_camera_enable_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]

Bases: object

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.

__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.

Methods

__init__([animated, distance_to_plane, ...])

Method generated by attrs for class default_camera_enable_sketch_mode.

from_dict(src_dict)

rtype:

TypeVar(LC, bound= default_camera_enable_sketch_mode)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

animated

distance_to_plane

origin

ortho

type

x_axis

y_axis

additional_properties

__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]
__contains__(key)[source][source]
Return type:

bool

__delitem__(key)[source][source]
Return type:

None

__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]
__eq__(other)[source]

Method generated by attrs for class default_camera_enable_sketch_mode.

__ge__(other)[source]

Method generated by attrs for class default_camera_enable_sketch_mode.

__getitem__(key)[source][source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class default_camera_enable_sketch_mode.

__hash__ = None[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.

__le__(other)[source]

Method generated by attrs for class default_camera_enable_sketch_mode.

__lt__(other)[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]
__module__ = 'kittycad.models.modeling_cmd'[source]
__ne__(other)[source]

Method generated by attrs for class default_camera_enable_sketch_mode.

__repr__()[source]

Method generated by attrs for class default_camera_enable_sketch_mode.

__setitem__(key, value)[source][source]
Return type:

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
animated: Union[Unset, bool][source]
distance_to_plane: Union[Unset, float][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(LC, bound= default_camera_enable_sketch_mode)

origin: Union[Unset, Point3d][source]
ortho: Union[Unset, bool][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

type: str[source]
x_axis: Union[Unset, Point3d][source]
y_axis: Union[Unset, Point3d][source]