kittycad.models.extrude
Classes
|
Command for extruding a solid. |
- class kittycad.models.extrude.Extrude(cap=False, distance=<kittycad.types.Unset object>, target=<kittycad.types.Unset object>)[source][source]
Command for extruding a solid.
Method generated by attrs for class Extrude.
- __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]
- __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]
- __init__(cap=False, distance=<kittycad.types.Unset object>, target=<kittycad.types.Unset object>)[source]
Method generated by attrs for class Extrude.
-
target:
Union
[Unset
,ModelingCmdId
][source]