kittycad.models.modeling_cmd.close_path

class kittycad.models.modeling_cmd.close_path(path_id=<kittycad.types.Unset object>, type='close_path')[source][source]

Bases: object

Closes a path, converting it to a 2D solid.

Method generated by attrs for class close_path.

__init__(path_id=<kittycad.types.Unset object>, type='close_path')[source]

Method generated by attrs for class close_path.

Methods

__init__([path_id, type])

Method generated by attrs for class close_path.

from_dict(src_dict)

rtype:

TypeVar(RO, bound= close_path)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

path_id

type

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'path_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>}[source]
__attrs_attrs__ = (Attribute(name='path_id', 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, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path_id'), Attribute(name='type', default='close_path', 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.modeling_cmd', '__annotations__': {'path_id': typing.Union[kittycad.types.Unset, str], 'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Closes a path, converting it to a 2D solid.', 'to_dict': <function close_path.to_dict>, 'from_dict': <classmethod(<function close_path.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function close_path.__getitem__>, '__setitem__': <function close_path.__setitem__>, '__delitem__': <function close_path.__delitem__>, '__contains__': <function close_path.__contains__>, '__dict__': <attribute '__dict__' of 'close_path' objects>, '__weakref__': <attribute '__weakref__' of 'close_path' objects>, '__attrs_attrs__': (Attribute(name='path_id', 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, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path_id'), Attribute(name='type', default='close_path', 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 close_path.__repr__>, '__eq__': <function close_path.__eq__>, '__ne__': <function close_path.__ne__>, '__lt__': <function close_path.__lt__>, '__le__': <function close_path.__le__>, '__gt__': <function close_path.__gt__>, '__ge__': <function close_path.__ge__>, '__hash__': None, '__init__': <function close_path.__init__>, '__match_args__': ('path_id', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class close_path.

__ge__(other)[source]

Method generated by attrs for class close_path.

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

Any

__gt__(other)[source]

Method generated by attrs for class close_path.

__hash__ = None[source]
__init__(path_id=<kittycad.types.Unset object>, type='close_path')[source]

Method generated by attrs for class close_path.

__le__(other)[source]

Method generated by attrs for class close_path.

__lt__(other)[source]

Method generated by attrs for class close_path.

__match_args__ = ('path_id', 'type')[source]
__module__ = 'kittycad.models.modeling_cmd'[source]
__ne__(other)[source]

Method generated by attrs for class close_path.

__repr__()[source]

Method generated by attrs for class close_path.

__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(RO, bound= close_path)

path_id: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

type: str[source]