kittycad.models.extrude.Extrude

class kittycad.models.extrude.Extrude(cap=False, distance=<kittycad.types.Unset object>, target=<kittycad.types.Unset object>)[source][source]

Bases: object

Command for extruding a solid.

Method generated by attrs for class Extrude.

__init__(cap=False, distance=<kittycad.types.Unset object>, target=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Extrude.

Methods

__init__([cap, distance, target])

Method generated by attrs for class Extrude.

from_dict(src_dict)

rtype:

TypeVar(S, bound= Extrude)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

cap

distance

target

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'cap': typing.Union[kittycad.types.Unset, bool], 'distance': typing.Union[kittycad.types.Unset, float], 'target': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId]}[source]
__attrs_attrs__ = (Attribute(name='cap', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='cap'), Attribute(name='distance', 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='distance'), Attribute(name='target', 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='target'), 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.extrude', '__annotations__': {'cap': typing.Union[kittycad.types.Unset, bool], 'distance': typing.Union[kittycad.types.Unset, float], 'target': typing.Union[kittycad.types.Unset, kittycad.models.modeling_cmd_id.ModelingCmdId], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Command for extruding a solid.', 'to_dict': <function Extrude.to_dict>, 'from_dict': <classmethod(<function Extrude.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Extrude.__getitem__>, '__setitem__': <function Extrude.__setitem__>, '__delitem__': <function Extrude.__delitem__>, '__contains__': <function Extrude.__contains__>, '__dict__': <attribute '__dict__' of 'Extrude' objects>, '__weakref__': <attribute '__weakref__' of 'Extrude' objects>, '__attrs_attrs__': (Attribute(name='cap', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='cap'), Attribute(name='distance', 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='distance'), Attribute(name='target', 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='target'), 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 Extrude.__repr__>, '__eq__': <function Extrude.__eq__>, '__ne__': <function Extrude.__ne__>, '__lt__': <function Extrude.__lt__>, '__le__': <function Extrude.__le__>, '__gt__': <function Extrude.__gt__>, '__ge__': <function Extrude.__ge__>, '__hash__': None, '__init__': <function Extrude.__init__>, '__match_args__': ('cap', 'distance', 'target')})[source]
__eq__(other)[source]

Method generated by attrs for class Extrude.

__ge__(other)[source]

Method generated by attrs for class Extrude.

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

Any

__gt__(other)[source]

Method generated by attrs for class Extrude.

__hash__ = None[source]
__init__(cap=False, distance=<kittycad.types.Unset object>, target=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Extrude.

__le__(other)[source]

Method generated by attrs for class Extrude.

__lt__(other)[source]

Method generated by attrs for class Extrude.

__match_args__ = ('cap', 'distance', 'target')[source]
__module__ = 'kittycad.models.extrude'[source]
__ne__(other)[source]

Method generated by attrs for class Extrude.

__repr__()[source]

Method generated by attrs for class Extrude.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
cap: Union[Unset, bool][source]
distance: Union[Unset, float][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(S, bound= Extrude)

target: Union[Unset, ModelingCmdId][source]
to_dict()[source][source]
Return type:

Dict[str, Any]