kittycad.models.input_format.Gltf

class kittycad.models.input_format.Gltf(type=<kittycad.types.Unset object>)[source][source]

Bases: object

Binary glTF 2.0. We refer to this as glTF since that is how our customers refer to it, but this can also import binary glTF (glb).

Method generated by attrs for class Gltf.

__init__(type=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Gltf.

Methods

__init__([type])

Method generated by attrs for class Gltf.

from_dict(src_dict)

rtype:

TypeVar(K, bound= Gltf)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

type

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'type': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='type', 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, 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.input_format', '__annotations__': {'type': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Binary glTF 2.0. We refer to this as glTF since that is how our customers refer to it, but this can also import binary glTF (glb).', '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='type', 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, 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__': ('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__(type=<kittycad.types.Unset object>)[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__ = ('type',)[source]
__module__ = 'kittycad.models.input_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(K, bound= Gltf)

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

Dict[str, Any]

type: Union[Unset, str][source]