App: add Expression built-in function mscale/minvert/create

mscale(matrix,vector|tuple) for scaling matrix

minvert(matrix|placement|rotation) for inverting matrix, placement or
rotation

create(type,arg...) for creating Python object of given type (currently
only support 'matrix', 'placement', 'rotation', 'vector'
This commit is contained in:
Zheng, Lei
2019-09-29 17:38:07 +08:00
committed by wmayer
parent b2ba93c4fc
commit 2df4fb754b
2 changed files with 97 additions and 0 deletions

View File

@@ -269,6 +269,9 @@ public:
CATH,
LIST,
TUPLE,
MSCALE, // matrix scale by vector
MINVERT, // invert matrix/placement/rotation
CREATE, // create new object of a given type
// Aggregates
AGGREGATES,