kittycad.models.system.System
- class kittycad.models.system.System(forward=<kittycad.types.Unset object>, up=<kittycad.types.Unset object>)[source][source]
Bases:
object
Co-ordinate system definition.
The up axis must be orthogonal to the forward axis.
See [cglearn.eu] for background reading.
[cglearn.eu](https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1)
Method generated by attrs for class System.
- __init__(forward=<kittycad.types.Unset object>, up=<kittycad.types.Unset object>)[source]
Method generated by attrs for class System.
Methods
__init__
([forward, up])Method generated by attrs for class System.
from_dict
(src_dict)- rtype:
TypeVar
(V
, bound= System)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'forward': typing.Union[kittycad.types.Unset, kittycad.models.axis_direction_pair.AxisDirectionPair], 'up': typing.Union[kittycad.types.Unset, kittycad.models.axis_direction_pair.AxisDirectionPair]}[source]
- __attrs_attrs__ = (Attribute(name='forward', 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.axis_direction_pair.AxisDirectionPair], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='forward'), Attribute(name='up', 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.axis_direction_pair.AxisDirectionPair], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='up'), 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.system', '__annotations__': {'forward': typing.Union[kittycad.types.Unset, kittycad.models.axis_direction_pair.AxisDirectionPair], 'up': typing.Union[kittycad.types.Unset, kittycad.models.axis_direction_pair.AxisDirectionPair], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Co-ordinate system definition.\n\n The `up` axis must be orthogonal to the `forward` axis.\n\n See [cglearn.eu] for background reading.\n\n [cglearn.eu](https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1)', 'to_dict': <function System.to_dict>, 'from_dict': <classmethod(<function System.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function System.__getitem__>, '__setitem__': <function System.__setitem__>, '__delitem__': <function System.__delitem__>, '__contains__': <function System.__contains__>, '__dict__': <attribute '__dict__' of 'System' objects>, '__weakref__': <attribute '__weakref__' of 'System' objects>, '__attrs_attrs__': (Attribute(name='forward', 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.axis_direction_pair.AxisDirectionPair], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='forward'), Attribute(name='up', 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.axis_direction_pair.AxisDirectionPair], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='up'), 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 System.__repr__>, '__eq__': <function System.__eq__>, '__ne__': <function System.__ne__>, '__lt__': <function System.__lt__>, '__le__': <function System.__le__>, '__gt__': <function System.__gt__>, '__ge__': <function System.__ge__>, '__hash__': None, '__init__': <function System.__init__>, '__match_args__': ('forward', 'up')})[source]
- __init__(forward=<kittycad.types.Unset object>, up=<kittycad.types.Unset object>)[source]
Method generated by attrs for class System.
-
forward:
Union
[Unset
,AxisDirectionPair
][source]