kittycad.models.input_format.ply
- class kittycad.models.input_format.ply(coords=<kittycad.types.Unset object>, type='ply', units=<kittycad.types.Unset object>)[source][source]
Bases:
object
The PLY Polygon File Format.
Method generated by attrs for class ply.
- __init__(coords=<kittycad.types.Unset object>, type='ply', units=<kittycad.types.Unset object>)[source]
Method generated by attrs for class ply.
Methods
__init__
([coords, type, units])Method generated by attrs for class ply.
from_dict
(src_dict)- rtype:
TypeVar
(LK
, bound= ply)
to_dict
()Attributes
- __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='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='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]
- __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__': '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='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='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 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', 'type', 'units')})[source]
- __init__(coords=<kittycad.types.Unset object>, type='ply', units=<kittycad.types.Unset object>)[source]
Method generated by attrs for class ply.
-
units:
Union
[Unset
,UnitLength
][source]