kittycad.models.modeling_cmd.default_camera_look_at
- 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]
Bases:
object
Change what the default camera is looking at.
Method generated by attrs for class default_camera_look_at.
- __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.
Methods
__init__
([center, type, up, vantage])Method generated by attrs for class default_camera_look_at.
from_dict
(src_dict)- rtype:
TypeVar
(CB
, bound= default_camera_look_at)
to_dict
()Attributes
- __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.