kittycad.models.input_format.Stl
- class kittycad.models.input_format.Stl(coords=<kittycad.types.Unset object>, type=<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=<kittycad.types.Unset object>)[source]
Method generated by attrs for class Stl.
Methods
__init__
([coords, type])Method generated by attrs for class Stl.
from_dict
(src_dict)- rtype:
TypeVar
(N
, bound= Stl)
to_dict
()Attributes
- __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]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.input_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__': '*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=<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', 'type')})[source]