kittycad.models.output_format.obj

class kittycad.models.output_format.obj(coords=<kittycad.types.Unset object>, type='obj')[source][source]

Bases: object

Wavefront OBJ format.

Method generated by attrs for class obj.

__init__(coords=<kittycad.types.Unset object>, type='obj')[source]

Method generated by attrs for class obj.

Methods

__init__([coords, type])

Method generated by attrs for class obj.

from_dict(src_dict)

rtype:

TypeVar(PQ, bound= obj)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

coords

type

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': <class 'str'>}[source]
__attrs_attrs__ = (Attribute(name='coords', 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.system.System], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='coords'), Attribute(name='type', default='obj', 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]
__contains__(key)[source][source]
Return type:

bool

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

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.output_format', '__annotations__': {'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Wavefront OBJ format.', 'to_dict': <function obj.to_dict>, 'from_dict': <classmethod(<function obj.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function obj.__getitem__>, '__setitem__': <function obj.__setitem__>, '__delitem__': <function obj.__delitem__>, '__contains__': <function obj.__contains__>, '__dict__': <attribute '__dict__' of 'obj' objects>, '__weakref__': <attribute '__weakref__' of 'obj' objects>, '__attrs_attrs__': (Attribute(name='coords', 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.system.System], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='coords'), Attribute(name='type', default='obj', 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 obj.__repr__>, '__eq__': <function obj.__eq__>, '__ne__': <function obj.__ne__>, '__lt__': <function obj.__lt__>, '__le__': <function obj.__le__>, '__gt__': <function obj.__gt__>, '__ge__': <function obj.__ge__>, '__hash__': None, '__init__': <function obj.__init__>, '__match_args__': ('coords', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class obj.

__ge__(other)[source]

Method generated by attrs for class obj.

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

Any

__gt__(other)[source]

Method generated by attrs for class obj.

__hash__ = None[source]
__init__(coords=<kittycad.types.Unset object>, type='obj')[source]

Method generated by attrs for class obj.

__le__(other)[source]

Method generated by attrs for class obj.

__lt__(other)[source]

Method generated by attrs for class obj.

__match_args__ = ('coords', 'type')[source]
__module__ = 'kittycad.models.output_format'[source]
__ne__(other)[source]

Method generated by attrs for class obj.

__repr__()[source]

Method generated by attrs for class obj.

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

None

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

TypeVar(PQ, bound= obj)

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

Dict[str, Any]

type: str[source]