kittycad.models.path_segment.Bezier
- class kittycad.models.path_segment.Bezier(control1=<kittycad.types.Unset object>, control2=<kittycad.types.Unset object>, end=<kittycad.types.Unset object>)[source][source]
Bases:
object
Method generated by attrs for class Bezier.
- __init__(control1=<kittycad.types.Unset object>, control2=<kittycad.types.Unset object>, end=<kittycad.types.Unset object>)[source]
Method generated by attrs for class Bezier.
Methods
__init__
([control1, control2, end])Method generated by attrs for class Bezier.
from_dict
(src_dict)- rtype:
TypeVar
(G
, bound= Bezier)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'control1': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'control2': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'end': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d]}[source]
- __attrs_attrs__ = (Attribute(name='control1', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='control1'), Attribute(name='control2', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='control2'), Attribute(name='end', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='end'), 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.path_segment', '__annotations__': {'control1': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'control2': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'end': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'additional_properties': typing.Dict[str, typing.Any]}, 'to_dict': <function Bezier.to_dict>, 'from_dict': <classmethod(<function Bezier.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Bezier.__getitem__>, '__setitem__': <function Bezier.__setitem__>, '__delitem__': <function Bezier.__delitem__>, '__contains__': <function Bezier.__contains__>, '__dict__': <attribute '__dict__' of 'Bezier' objects>, '__weakref__': <attribute '__weakref__' of 'Bezier' objects>, '__doc__': None, '__attrs_attrs__': (Attribute(name='control1', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='control1'), Attribute(name='control2', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='control2'), Attribute(name='end', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='end'), 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 Bezier.__repr__>, '__eq__': <function Bezier.__eq__>, '__ne__': <function Bezier.__ne__>, '__lt__': <function Bezier.__lt__>, '__le__': <function Bezier.__le__>, '__gt__': <function Bezier.__gt__>, '__ge__': <function Bezier.__ge__>, '__hash__': None, '__init__': <function Bezier.__init__>, '__match_args__': ('control1', 'control2', 'end')})[source]