kittycad.models.modeling_cmd.export

class kittycad.models.modeling_cmd.export(entity_ids=<kittycad.types.Unset object>, format=<kittycad.types.Unset object>, type='export')[source][source]

Bases: object

Export the scene to a file.

Method generated by attrs for class export.

__init__(entity_ids=<kittycad.types.Unset object>, format=<kittycad.types.Unset object>, type='export')[source]

Method generated by attrs for class export.

Methods

__init__([entity_ids, format, type])

Method generated by attrs for class export.

from_dict(src_dict)

rtype:

TypeVar(ZP, bound= export)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

entity_ids

format

type

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'entity_ids': typing.Union[kittycad.types.Unset, typing.List[str]], 'format': typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], 'type': <class 'str'>}[source]
__attrs_attrs__ = (Attribute(name='entity_ids', 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, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_ids'), Attribute(name='format', 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.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='format'), Attribute(name='type', default='export', 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.modeling_cmd', '__annotations__': {'entity_ids': typing.Union[kittycad.types.Unset, typing.List[str]], 'format': typing.Union[kittycad.types.Unset, kittycad.models.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Export the scene to a file.', 'to_dict': <function export.to_dict>, 'from_dict': <classmethod(<function export.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function export.__getitem__>, '__setitem__': <function export.__setitem__>, '__delitem__': <function export.__delitem__>, '__contains__': <function export.__contains__>, '__dict__': <attribute '__dict__' of 'export' objects>, '__weakref__': <attribute '__weakref__' of 'export' objects>, '__attrs_attrs__': (Attribute(name='entity_ids', 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, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='entity_ids'), Attribute(name='format', 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.output_format.gltf, kittycad.models.output_format.obj, kittycad.models.output_format.ply, kittycad.models.output_format.step, kittycad.models.output_format.stl], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='format'), Attribute(name='type', default='export', 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 export.__repr__>, '__eq__': <function export.__eq__>, '__ne__': <function export.__ne__>, '__lt__': <function export.__lt__>, '__le__': <function export.__le__>, '__gt__': <function export.__gt__>, '__ge__': <function export.__ge__>, '__hash__': None, '__init__': <function export.__init__>, '__match_args__': ('entity_ids', 'format', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class export.

__ge__(other)[source]

Method generated by attrs for class export.

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

Any

__gt__(other)[source]

Method generated by attrs for class export.

__hash__ = None[source]
__init__(entity_ids=<kittycad.types.Unset object>, format=<kittycad.types.Unset object>, type='export')[source]

Method generated by attrs for class export.

__le__(other)[source]

Method generated by attrs for class export.

__lt__(other)[source]

Method generated by attrs for class export.

__match_args__ = ('entity_ids', 'format', 'type')[source]
__module__ = 'kittycad.models.modeling_cmd'[source]
__ne__(other)[source]

Method generated by attrs for class export.

__repr__()[source]

Method generated by attrs for class export.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
entity_ids: Union[Unset, List[str]][source]
format: Union[Unset, gltf, obj, ply, step, stl][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(ZP, bound= export)

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

Dict[str, Any]

type: str[source]