kittycad.models.system

Classes

System([forward, up])

Co-ordinate system definition.

class kittycad.models.system.System(forward=<kittycad.types.Unset object>, up=<kittycad.types.Unset object>)[source][source]

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.

__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]
__contains__(key)[source][source]
Return type:

bool

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

None

__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)\n    ', '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]
__eq__(other)[source]

Method generated by attrs for class System.

__ge__(other)[source]

Method generated by attrs for class System.

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

Any

__gt__(other)[source]

Method generated by attrs for class System.

__hash__ = None[source]
__init__(forward=<kittycad.types.Unset object>, up=<kittycad.types.Unset object>)[source]

Method generated by attrs for class System.

__le__(other)[source]

Method generated by attrs for class System.

__lt__(other)[source]

Method generated by attrs for class System.

__match_args__ = ('forward', 'up')[source]
__module__ = 'kittycad.models.system'[source]
__ne__(other)[source]

Method generated by attrs for class System.

__repr__()[source]

Method generated by attrs for class System.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
forward: Union[Unset, AxisDirectionPair][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(MT, bound= System)

to_dict()[source][source]
Return type:

Dict[str, Any]

up: Union[Unset, AxisDirectionPair][source]