set_geometric_scaling method

set_geometric_scaling

Sets the geometric scaling. Geometric transformation only affects the entities attached and leave the child nodes unaffected. It will be merged as local transformation when you export the geometric transformation to file types that does not support it.

def set_geometric_scaling(self, sx, sy, sz):
    ...
ParameterTypeDescription
sxfloat
syfloat
szfloat

Example

from aspose.threed import Node

node = Node()
node.transform.set_geometric_scaling(2, 2, 2)

See Also