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>, type='arc')[source][source]

Bases: object

A circular arc segment.

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>, type='arc')[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(PO, bound= arc)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

angle_end

angle_start

center

radius

type

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], 'type': <class 'str'>}[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='type', default='arc', 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='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], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A circular arc segment.', '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>, '__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='type', default='arc', 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='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', 'type')})[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>, type='arc')[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', 'type')[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(PO, bound= arc)

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

Dict[str, Any]

type: str[source]