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