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()

rtype:

Dict[str, Any]

Attributes

additional_keys

center

type

up

vantage

additional_properties

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

bool

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

None

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

Method generated by attrs for class default_camera_look_at.

__ge__(other)[source]

Method generated by attrs for class default_camera_look_at.

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

Any

__gt__(other)[source]

Method generated by attrs for class default_camera_look_at.

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

__le__(other)[source]

Method generated by attrs for class default_camera_look_at.

__lt__(other)[source]

Method generated by attrs for class default_camera_look_at.

__match_args__ = ('center', 'type', 'up', 'vantage')[source]
__module__ = 'kittycad.models.modeling_cmd'[source]
__ne__(other)[source]

Method generated by attrs for class default_camera_look_at.

__repr__()[source]

Method generated by attrs for class default_camera_look_at.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
center: Union[Unset, Point3d][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(CB, bound= default_camera_look_at)

to_dict()[source][source]
Return type:

Dict[str, Any]

type: str[source]
up: Union[Unset, Point3d][source]
vantage: Union[Unset, Point3d][source]