kittycad.models.output_format.gltf

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

Bases: object

glTF 2.0. We refer to this as glTF since that is how our customers refer to it, although by default it will be in binary format and thus technically (glb). If you prefer ascii output, you can set that option for the export.

Method generated by attrs for class gltf.

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

Method generated by attrs for class gltf.

Methods

__init__([storage, type])

Method generated by attrs for class gltf.

from_dict(src_dict)

rtype:

TypeVar(JQ, bound= gltf)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

storage

type

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'storage': typing.Union[kittycad.types.Unset, kittycad.models.storage.Storage], 'type': <class 'str'>}[source]
__attrs_attrs__ = (Attribute(name='storage', 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.storage.Storage], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='storage'), Attribute(name='type', default='gltf', 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__': {'storage': typing.Union[kittycad.types.Unset, kittycad.models.storage.Storage], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'glTF 2.0. We refer to this as glTF since that is how our customers refer to it, although by default it will be in binary format and thus technically (glb). If you prefer ascii output, you can set that option for the export.', 'to_dict': <function gltf.to_dict>, 'from_dict': <classmethod(<function gltf.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function gltf.__getitem__>, '__setitem__': <function gltf.__setitem__>, '__delitem__': <function gltf.__delitem__>, '__contains__': <function gltf.__contains__>, '__dict__': <attribute '__dict__' of 'gltf' objects>, '__weakref__': <attribute '__weakref__' of 'gltf' objects>, '__attrs_attrs__': (Attribute(name='storage', 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.storage.Storage], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='storage'), Attribute(name='type', default='gltf', 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 gltf.__repr__>, '__eq__': <function gltf.__eq__>, '__ne__': <function gltf.__ne__>, '__lt__': <function gltf.__lt__>, '__le__': <function gltf.__le__>, '__gt__': <function gltf.__gt__>, '__ge__': <function gltf.__ge__>, '__hash__': None, '__init__': <function gltf.__init__>, '__match_args__': ('storage', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class gltf.

__ge__(other)[source]

Method generated by attrs for class gltf.

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

Any

__gt__(other)[source]

Method generated by attrs for class gltf.

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

Method generated by attrs for class gltf.

__le__(other)[source]

Method generated by attrs for class gltf.

__lt__(other)[source]

Method generated by attrs for class gltf.

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

Method generated by attrs for class gltf.

__repr__()[source]

Method generated by attrs for class gltf.

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

None

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

TypeVar(JQ, bound= gltf)

storage: Union[Unset, Storage][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

type: str[source]