kittycad.models.annotation_options
Classes
|
Options for annotations |
- class kittycad.models.annotation_options.AnnotationOptions(color=<kittycad.types.Unset object>, line_ends=<kittycad.types.Unset object>, line_width=<kittycad.types.Unset object>, position=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>)[source][source]
Options for annotations
Method generated by attrs for class AnnotationOptions.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'color': typing.Union[kittycad.types.Unset, kittycad.models.color.Color], 'line_ends': typing.Union[kittycad.types.Unset, kittycad.models.annotation_line_end_options.AnnotationLineEndOptions], 'line_width': typing.Union[kittycad.types.Unset, float], 'position': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'text': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_options.AnnotationTextOptions]}[source]
- __attrs_attrs__ = (Attribute(name='color', 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.color.Color], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='color'), Attribute(name='line_ends', 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.annotation_line_end_options.AnnotationLineEndOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='line_ends'), Attribute(name='line_width', 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='line_width'), Attribute(name='position', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='position'), Attribute(name='text', 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.annotation_text_options.AnnotationTextOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), 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.annotation_options', '__annotations__': {'color': typing.Union[kittycad.types.Unset, kittycad.models.color.Color], 'line_ends': typing.Union[kittycad.types.Unset, kittycad.models.annotation_line_end_options.AnnotationLineEndOptions], 'line_width': typing.Union[kittycad.types.Unset, float], 'position': typing.Union[kittycad.types.Unset, kittycad.models.point3d.Point3d], 'text': typing.Union[kittycad.types.Unset, kittycad.models.annotation_text_options.AnnotationTextOptions], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Options for annotations', 'to_dict': <function AnnotationOptions.to_dict>, 'from_dict': <classmethod(<function AnnotationOptions.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AnnotationOptions.__getitem__>, '__setitem__': <function AnnotationOptions.__setitem__>, '__delitem__': <function AnnotationOptions.__delitem__>, '__contains__': <function AnnotationOptions.__contains__>, '__dict__': <attribute '__dict__' of 'AnnotationOptions' objects>, '__weakref__': <attribute '__weakref__' of 'AnnotationOptions' objects>, '__attrs_attrs__': (Attribute(name='color', 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.color.Color], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='color'), Attribute(name='line_ends', 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.annotation_line_end_options.AnnotationLineEndOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='line_ends'), Attribute(name='line_width', 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='line_width'), Attribute(name='position', 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.point3d.Point3d], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='position'), Attribute(name='text', 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.annotation_text_options.AnnotationTextOptions], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='text'), 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 AnnotationOptions.__repr__>, '__eq__': <function AnnotationOptions.__eq__>, '__ne__': <function AnnotationOptions.__ne__>, '__lt__': <function AnnotationOptions.__lt__>, '__le__': <function AnnotationOptions.__le__>, '__gt__': <function AnnotationOptions.__gt__>, '__ge__': <function AnnotationOptions.__ge__>, '__hash__': None, '__init__': <function AnnotationOptions.__init__>, '__match_args__': ('color', 'line_ends', 'line_width', 'position', 'text')})[source]
- __init__(color=<kittycad.types.Unset object>, line_ends=<kittycad.types.Unset object>, line_width=<kittycad.types.Unset object>, position=<kittycad.types.Unset object>, text=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AnnotationOptions.
-
line_ends:
Union
[Unset
,AnnotationLineEndOptions
][source]
-
text:
Union
[Unset
,AnnotationTextOptions
][source]