KeyShot Forum

Archive => Support Archive => Topic started by: coverton on December 08, 2017, 11:55:32 AM

Title: Rotated geometry's position does not persist through save.
Post by: coverton on December 08, 2017, 11:55:32 AM
Keyshot 7, Windows 7.

Wrote this small script to rotate all geometry 90 degrees which worked perfectly in Keyshot 6.  Ever since upgrading to 7 the script runs fine but after saving, closing, and then reopening a file all geometry is back to it's original position.

root = lux.getSceneTree()
y_axis = luxmath.Vector(0,1,0)
R = luxmath.Matrix().makeIdentity().rotateAroundAxis(y_axis, -90)
root.applyTransform(R)


Update: I just noticed that the Move Tool arrows are reversed when working on a rotate object.