kittycad.models.input_format.stl

class kittycad.models.input_format.stl(coords=<kittycad.types.Unset object>, type='stl', units=<kittycad.types.Unset object>)[source][source]

Bases: object

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

Method generated by attrs for class stl.

__init__(coords=<kittycad.types.Unset object>, type='stl', units=<kittycad.types.Unset object>)[source]

Method generated by attrs for class stl.

Methods

__init__([coords, type, units])

Method generated by attrs for class stl.

from_dict(src_dict)

rtype:

TypeVar(AR, bound= stl)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

coords

type

units

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': <class 'str'>, 'units': typing.Union[kittycad.types.Unset, kittycad.models.unit_length.UnitLength]}[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='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='units', 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.unit_length.UnitLength], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='units'), 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__': {'coords': typing.Union[kittycad.types.Unset, kittycad.models.system.System], 'type': <class 'str'>, 'units': typing.Union[kittycad.types.Unset, kittycad.models.unit_length.UnitLength], '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='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='units', 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.unit_length.UnitLength], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='units'), 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', 'type', 'units')})[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>, type='stl', units=<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', 'type', 'units')[source]
__module__ = 'kittycad.models.input_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(AR, bound= stl)

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

Dict[str, Any]

type: str[source]
units: Union[Unset, UnitLength][source]