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()

rtype:

Dict[str, Any]

Attributes

additional_keys

angle_end

angle_start

center

radius

additional_properties

__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]
__contains__(key)[source][source]
Return type:

bool

__delitem__(key)[source][source]
Return type:

None

__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]
__eq__(other)[source]

Method generated by attrs for class Arc.

__ge__(other)[source]

Method generated by attrs for class Arc.

__getitem__(key)[source][source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class Arc.

__hash__ = None[source]
__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.

__le__(other)[source]

Method generated by attrs for class Arc.

__lt__(other)[source]

Method generated by attrs for class Arc.

__match_args__ = ('angle_end', 'angle_start', 'center', 'radius')[source]
__module__ = 'kittycad.models.path_segment'[source]
__ne__(other)[source]

Method generated by attrs for class Arc.

__repr__()[source]

Method generated by attrs for class Arc.

__setitem__(key, value)[source][source]
Return type:

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
angle_end: Union[Unset, float][source]
angle_start: Union[Unset, float][source]
center: Union[Unset, Point2d][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(Z, bound= Arc)

radius: Union[Unset, float][source]
to_dict()[source][source]
Return type:

Dict[str, Any]