kittycad.models.line3d

Classes

Line3d([from_, to])

Command for adding a line.

class kittycad.models.line3d.Line3d(from_=<kittycad.types.Unset object>, to=<kittycad.types.Unset object>)[source][source]

Command for adding a line.

Method generated by attrs for class Line3d.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'from_': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'to': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d]}[source]
__attrs_attrs__ = (Attribute(name='from_', 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='from_'), Attribute(name='to', 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='to'), 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.line3d', '__annotations__': {'from_': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'to': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Command for adding a line.', 'to_dict': <function Line3d.to_dict>, 'from_dict': <classmethod(<function Line3d.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Line3d.__getitem__>, '__setitem__': <function Line3d.__setitem__>, '__delitem__': <function Line3d.__delitem__>, '__contains__': <function Line3d.__contains__>, '__dict__': <attribute '__dict__' of 'Line3d' objects>, '__weakref__': <attribute '__weakref__' of 'Line3d' objects>, '__attrs_attrs__': (Attribute(name='from_', 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='from_'), Attribute(name='to', 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='to'), 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 Line3d.__repr__>, '__eq__': <function Line3d.__eq__>, '__ne__': <function Line3d.__ne__>, '__lt__': <function Line3d.__lt__>, '__le__': <function Line3d.__le__>, '__gt__': <function Line3d.__gt__>, '__ge__': <function Line3d.__ge__>, '__hash__': None, '__init__': <function Line3d.__init__>, '__match_args__': ('from_', 'to')})[source]
__eq__(other)[source]

Method generated by attrs for class Line3d.

__ge__(other)[source]

Method generated by attrs for class Line3d.

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

Any

__gt__(other)[source]

Method generated by attrs for class Line3d.

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

Method generated by attrs for class Line3d.

__le__(other)[source]

Method generated by attrs for class Line3d.

__lt__(other)[source]

Method generated by attrs for class Line3d.

__match_args__ = ('from_', 'to')[source]
__module__ = 'kittycad.models.line3d'[source]
__ne__(other)[source]

Method generated by attrs for class Line3d.

__repr__()[source]

Method generated by attrs for class Line3d.

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

None

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

TypeVar(P, bound= Line3d)

to: Union[Unset, Point3d][source]
to_dict()[source][source]
Return type:

Dict[str, Any]