kittycad.models.output_format

Classes

Gltf([storage, type])

glTF 2.0.

Obj([coords, type])

Wavefront OBJ format.

Step([coords, type])

ISO 10303-21 (STEP) format.

Stl([coords, storage, type])

*ST**ereo**L**ithography format.

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

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.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'storage': typing.Union[kittycad.types.Unset, kittycad.models.storage.Storage], 'type': typing.Union[kittycad.types.Unset, 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=<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.output_format', '__annotations__': {'storage': typing.Union[kittycad.types.Unset, kittycad.models.storage.Storage], 'type': typing.Union[kittycad.types.Unset, 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=<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__': ('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=<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__ = ('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(D, bound= Gltf)

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

Dict[str, Any]

type: Union[Unset, str][source]
class kittycad.models.output_format.Obj(coords=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>)[source][source]

Wavefront OBJ format.

Method generated by attrs for class Obj.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': typing.Union[kittycad.types.Unset, 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=<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.output_format', '__annotations__': {'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': typing.Union[kittycad.types.Unset, 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=<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 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=<kittycad.types.Unset object>)[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(Y, bound= Obj)

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

Dict[str, Any]

type: Union[Unset, str][source]
class kittycad.models.output_format.Step(coords=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>)[source][source]

ISO 10303-21 (STEP) format.

Method generated by attrs for class Step.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': typing.Union[kittycad.types.Unset, 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=<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.output_format', '__annotations__': {'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'ISO 10303-21 (STEP) format.', 'to_dict': <function Step.to_dict>, 'from_dict': <classmethod(<function Step.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Step.__getitem__>, '__setitem__': <function Step.__setitem__>, '__delitem__': <function Step.__delitem__>, '__contains__': <function Step.__contains__>, '__dict__': <attribute '__dict__' of 'Step' objects>, '__weakref__': <attribute '__weakref__' of 'Step' 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=<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 Step.__repr__>, '__eq__': <function Step.__eq__>, '__ne__': <function Step.__ne__>, '__lt__': <function Step.__lt__>, '__le__': <function Step.__le__>, '__gt__': <function Step.__gt__>, '__ge__': <function Step.__ge__>, '__hash__': None, '__init__': <function Step.__init__>, '__match_args__': ('coords', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class Step.

__ge__(other)[source]

Method generated by attrs for class Step.

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

Any

__gt__(other)[source]

Method generated by attrs for class Step.

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

Method generated by attrs for class Step.

__le__(other)[source]

Method generated by attrs for class Step.

__lt__(other)[source]

Method generated by attrs for class Step.

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

Method generated by attrs for class Step.

__repr__()[source]

Method generated by attrs for class Step.

__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(Y, bound= Step)

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

Dict[str, Any]

type: Union[Unset, str][source]
class kittycad.models.output_format.Stl(coords=<kittycad.types.Unset object>, storage=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>)[source][source]

*ST**ereo**L**ithography format.

Method generated by attrs for class Stl.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'storage': typing.Union[kittycad.types.Unset, kittycad.models.storage.Storage], 'type': typing.Union[kittycad.types.Unset, 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='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=<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.output_format', '__annotations__': {'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'storage': typing.Union[kittycad.types.Unset, kittycad.models.storage.Storage], 'type': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': '*ST**ereo**L**ithography format.', 'to_dict': <function Stl.to_dict>, 'from_dict': <classmethod(<function Stl.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Stl.__getitem__>, '__setitem__': <function Stl.__setitem__>, '__delitem__': <function Stl.__delitem__>, '__contains__': <function Stl.__contains__>, '__dict__': <attribute '__dict__' of 'Stl' objects>, '__weakref__': <attribute '__weakref__' of 'Stl' 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='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=<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 Stl.__repr__>, '__eq__': <function Stl.__eq__>, '__ne__': <function Stl.__ne__>, '__lt__': <function Stl.__lt__>, '__le__': <function Stl.__le__>, '__gt__': <function Stl.__gt__>, '__ge__': <function Stl.__ge__>, '__hash__': None, '__init__': <function Stl.__init__>, '__match_args__': ('coords', 'storage', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class Stl.

__ge__(other)[source]

Method generated by attrs for class Stl.

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

Any

__gt__(other)[source]

Method generated by attrs for class Stl.

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

Method generated by attrs for class Stl.

__le__(other)[source]

Method generated by attrs for class Stl.

__lt__(other)[source]

Method generated by attrs for class Stl.

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

Method generated by attrs for class Stl.

__repr__()[source]

Method generated by attrs for class Stl.

__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(D, bound= Stl)

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

Dict[str, Any]

type: Union[Unset, str][source]