kittycad.models.modeling_cmd.ExtendPath
- class kittycad.models.modeling_cmd.ExtendPath(path=<kittycad.types.Unset object>, segment=<kittycad.types.Unset object>)[source][source]
Bases:
object
Method generated by attrs for class ExtendPath.
- __init__(path=<kittycad.types.Unset object>, segment=<kittycad.types.Unset object>)[source]
Method generated by attrs for class ExtendPath.
Methods
__init__
([path, segment])Method generated by attrs for class ExtendPath.
from_dict
(src_dict)- rtype:
TypeVar
(B
, bound= ExtendPath)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'path': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'segment': typing.Union[kittycad.types.Unset, kittycad.models.path_segment.Line, kittycad.models.path_segment.Arc, kittycad.models.path_segment.Bezier]}[source]
- __attrs_attrs__ = (Attribute(name='path', 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.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path'), Attribute(name='segment', 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.path_segment.Line, kittycad.models.path_segment.Arc, kittycad.models.path_segment.Bezier], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='segment'), 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]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.modeling_cmd', '__annotations__': {'path': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'segment': typing.Union[kittycad.types.Unset, kittycad.models.path_segment.Line, kittycad.models.path_segment.Arc, kittycad.models.path_segment.Bezier], 'additional_properties': typing.Dict[str, typing.Any]}, 'to_dict': <function ExtendPath.to_dict>, 'from_dict': <classmethod(<function ExtendPath.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ExtendPath.__getitem__>, '__setitem__': <function ExtendPath.__setitem__>, '__delitem__': <function ExtendPath.__delitem__>, '__contains__': <function ExtendPath.__contains__>, '__dict__': <attribute '__dict__' of 'ExtendPath' objects>, '__weakref__': <attribute '__weakref__' of 'ExtendPath' objects>, '__doc__': None, '__attrs_attrs__': (Attribute(name='path', 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.modeling_cmd_id.ModelingCmdId], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='path'), Attribute(name='segment', 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.path_segment.Line, kittycad.models.path_segment.Arc, kittycad.models.path_segment.Bezier], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='segment'), 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 ExtendPath.__repr__>, '__eq__': <function ExtendPath.__eq__>, '__ne__': <function ExtendPath.__ne__>, '__lt__': <function ExtendPath.__lt__>, '__le__': <function ExtendPath.__le__>, '__gt__': <function ExtendPath.__gt__>, '__ge__': <function ExtendPath.__ge__>, '__hash__': None, '__init__': <function ExtendPath.__init__>, '__match_args__': ('path', 'segment')})[source]
- __init__(path=<kittycad.types.Unset object>, segment=<kittycad.types.Unset object>)[source]
Method generated by attrs for class ExtendPath.
-
path:
Union
[Unset
,ModelingCmdId
][source]