kittycad.models.output_format
Classes
|
glTF 2.0. |
|
Wavefront OBJ format. |
|
The PLY Polygon File Format. |
|
ISO 10303-21 (STEP) format. |
|
*ST**ereo**L**ithography format. |
- class kittycad.models.output_format.gltf(storage=<kittycad.types.Unset object>, type='gltf')[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': <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]
- __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]
- class kittycad.models.output_format.obj(coords=<kittycad.types.Unset object>, type='obj')[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': <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]
- __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]
- class kittycad.models.output_format.ply(coords=<kittycad.types.Unset object>, storage=<kittycad.types.Unset object>, type='ply')[source][source]
The PLY Polygon File Format.
Method generated by attrs for class ply.
- __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': <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='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='ply', 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]
- __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': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'The PLY Polygon File Format.', 'to_dict': <function ply.to_dict>, 'from_dict': <classmethod(<function ply.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ply.__getitem__>, '__setitem__': <function ply.__setitem__>, '__delitem__': <function ply.__delitem__>, '__contains__': <function ply.__contains__>, '__dict__': <attribute '__dict__' of 'ply' objects>, '__weakref__': <attribute '__weakref__' of 'ply' 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='ply', 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 ply.__repr__>, '__eq__': <function ply.__eq__>, '__ne__': <function ply.__ne__>, '__lt__': <function ply.__lt__>, '__le__': <function ply.__le__>, '__gt__': <function ply.__gt__>, '__ge__': <function ply.__ge__>, '__hash__': None, '__init__': <function ply.__init__>, '__match_args__': ('coords', 'storage', 'type')})[source]
- class kittycad.models.output_format.step(coords=<kittycad.types.Unset object>, type='step')[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': <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='step', 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]
- __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__': '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='step', 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 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]
- class kittycad.models.output_format.stl(coords=<kittycad.types.Unset object>, storage=<kittycad.types.Unset object>, type='stl')[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': <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='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='stl', 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]
- __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': <class '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='stl', 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 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]