kittycad.models.point3d.Point3d

class kittycad.models.point3d.Point3d(x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>, z=<kittycad.types.Unset object>)[source][source]

Bases: object

A point in 3D space

Method generated by attrs for class Point3d.

__init__(x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>, z=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Point3d.

Methods

__init__([x, y, z])

Method generated by attrs for class Point3d.

from_dict(src_dict)

rtype:

TypeVar(T, bound= Point3d)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

x

y

z

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'x': typing.Union[kittycad.types.Unset, float], 'y': typing.Union[kittycad.types.Unset, float], 'z': typing.Union[kittycad.types.Unset, float]}[source]
__attrs_attrs__ = (Attribute(name='x', 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='x'), Attribute(name='y', 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='y'), Attribute(name='z', 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='z'), 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.point3d', '__annotations__': {'x': typing.Union[kittycad.types.Unset, float], 'y': typing.Union[kittycad.types.Unset, float], 'z': typing.Union[kittycad.types.Unset, float], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A point in 3D space', 'to_dict': <function Point3d.to_dict>, 'from_dict': <classmethod(<function Point3d.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Point3d.__getitem__>, '__setitem__': <function Point3d.__setitem__>, '__delitem__': <function Point3d.__delitem__>, '__contains__': <function Point3d.__contains__>, '__dict__': <attribute '__dict__' of 'Point3d' objects>, '__weakref__': <attribute '__weakref__' of 'Point3d' objects>, '__attrs_attrs__': (Attribute(name='x', 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='x'), Attribute(name='y', 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='y'), Attribute(name='z', 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='z'), 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 Point3d.__repr__>, '__eq__': <function Point3d.__eq__>, '__ne__': <function Point3d.__ne__>, '__lt__': <function Point3d.__lt__>, '__le__': <function Point3d.__le__>, '__gt__': <function Point3d.__gt__>, '__ge__': <function Point3d.__ge__>, '__hash__': None, '__init__': <function Point3d.__init__>, '__match_args__': ('x', 'y', 'z')})[source]
__eq__(other)[source]

Method generated by attrs for class Point3d.

__ge__(other)[source]

Method generated by attrs for class Point3d.

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

Any

__gt__(other)[source]

Method generated by attrs for class Point3d.

__hash__ = None[source]
__init__(x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>, z=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Point3d.

__le__(other)[source]

Method generated by attrs for class Point3d.

__lt__(other)[source]

Method generated by attrs for class Point3d.

__match_args__ = ('x', 'y', 'z')[source]
__module__ = 'kittycad.models.point3d'[source]
__ne__(other)[source]

Method generated by attrs for class Point3d.

__repr__()[source]

Method generated by attrs for class Point3d.

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

None

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

TypeVar(T, bound= Point3d)

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

Dict[str, Any]

x: Union[Unset, float][source]
y: Union[Unset, float][source]
z: Union[Unset, float][source]