kittycad.models.path_segment

Classes

Arc([angle_end, angle_start, center, radius])

Method generated by attrs for class Arc.

Bezier([control1, control2, end])

Method generated by attrs for class Bezier.

Line([end])

Method generated by attrs for class Line.

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]

Method generated by attrs for class Arc.

__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]

class kittycad.models.path_segment.Bezier(control1=<kittycad.types.Unset object>, control2=<kittycad.types.Unset object>, end=<kittycad.types.Unset object>)[source][source]

Method generated by attrs for class Bezier.

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

bool

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

None

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

Method generated by attrs for class Bezier.

__ge__(other)[source]

Method generated by attrs for class Bezier.

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

Any

__gt__(other)[source]

Method generated by attrs for class Bezier.

__hash__ = None[source]
__init__(control1=<kittycad.types.Unset object>, control2=<kittycad.types.Unset object>, end=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Bezier.

__le__(other)[source]

Method generated by attrs for class Bezier.

__lt__(other)[source]

Method generated by attrs for class Bezier.

__match_args__ = ('control1', 'control2', 'end')[source]
__module__ = 'kittycad.models.path_segment'[source]
__ne__(other)[source]

Method generated by attrs for class Bezier.

__repr__()[source]

Method generated by attrs for class Bezier.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
control1: Union[Unset, Point3d][source]
control2: Union[Unset, Point3d][source]
end: Union[Unset, Point3d][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(G, bound= Bezier)

to_dict()[source][source]
Return type:

Dict[str, Any]

class kittycad.models.path_segment.Line(end=<kittycad.types.Unset object>)[source][source]

Method generated by attrs for class Line.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'end': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d]}[source]
__attrs_attrs__ = (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]
__contains__(key)[source][source]
Return type:

bool

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

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.path_segment', '__annotations__': {'end': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'additional_properties': typing.Dict[str, typing.Any]}, 'to_dict': <function Line.to_dict>, 'from_dict': <classmethod(<function Line.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Line.__getitem__>, '__setitem__': <function Line.__setitem__>, '__delitem__': <function Line.__delitem__>, '__contains__': <function Line.__contains__>, '__dict__': <attribute '__dict__' of 'Line' objects>, '__weakref__': <attribute '__weakref__' of 'Line' objects>, '__doc__': None, '__attrs_attrs__': (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 Line.__repr__>, '__eq__': <function Line.__eq__>, '__ne__': <function Line.__ne__>, '__lt__': <function Line.__lt__>, '__le__': <function Line.__le__>, '__gt__': <function Line.__gt__>, '__ge__': <function Line.__ge__>, '__hash__': None, '__init__': <function Line.__init__>, '__match_args__': ('end',)})[source]
__eq__(other)[source]

Method generated by attrs for class Line.

__ge__(other)[source]

Method generated by attrs for class Line.

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

Any

__gt__(other)[source]

Method generated by attrs for class Line.

__hash__ = None[source]
__init__(end=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Line.

__le__(other)[source]

Method generated by attrs for class Line.

__lt__(other)[source]

Method generated by attrs for class Line.

__match_args__ = ('end',)[source]
__module__ = 'kittycad.models.path_segment'[source]
__ne__(other)[source]

Method generated by attrs for class Line.

__repr__()[source]

Method generated by attrs for class Line.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
end: Union[Unset, Point3d][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(F, bound= Line)

to_dict()[source][source]
Return type:

Dict[str, Any]