Skip to main content
Tweeted twitter.com/StackBlender/status/1248898688614690818
added 15 characters in body; edited tags
Source Link
batFINGER
  • 85.1k
  • 10
  • 114
  • 244

Using 2.8 I am gettingBlender 2.8 produces the following error when trying to multiply whilst multiplying a combination of matrices and vectors

>>> M = Matrix()
>>> v = Vector()
>>> M * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector' types

>>> v * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Vector' and 'Vector' types

>>> M * M
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Matrix' types

Using 2.8 I am getting the following error when trying to multiply matrices and vectors

>>> M = Matrix()
>>> v = Vector()
>>> M * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector' types

>>> v * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Vector' and 'Vector' types

>>> M * M
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Matrix' types

Blender 2.8 produces the following error whilst multiplying a combination of matrices and vectors

>>> M = Matrix()
>>> v = Vector()
>>> M * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector' types

>>> v * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Vector' and 'Vector' types

>>> M * M
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Matrix' types
Source Link
batFINGER
  • 85.1k
  • 10
  • 114
  • 244

TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector'

Using 2.8 I am getting the following error when trying to multiply matrices and vectors

>>> M = Matrix()
>>> v = Vector()
>>> M * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector' types

>>> v * v
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Vector' and 'Vector' types

>>> M * M
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Matrix' types