Search found 51 matches

by A.Evseeva
Mon Jun 05, 2017 12:35 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19809

Re: Multi layer Magnet Script?

Chucky, what is your problem with it? Do You use it as a tool?
It is an improvment of built-in magnet tool, lm_magnet.lua, so you have to put it into tools folder, adding built-in icons and cursor to it (rename all the files the same way).
by A.Evseeva
Sun Jun 04, 2017 4:30 pm
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19809

Re: Multi layer Magnet Script?

Wow! It was very, very useful!!
Now it seems to me the script can work with rotated layers.
New version is here: ae_magnet.lua
(Now it's on my own host, not yandex)
by A.Evseeva
Sun Jun 04, 2017 5:01 am
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19809

Re: Multi layer Magnet Script?

Synthsin75, thank You very much for testing. My supposition about camera matrix was wrong. And I found a very strange thing: vec2:Set(vec1) some_matrix:Transform(vec2) some_matrix:Invert() some_matrix:Transform(vec2) It seems to me, vec2 must be equal to vec1 after these operations. But it does not....
by A.Evseeva
Sat Jun 03, 2017 8:32 am
Forum: Scripting
Topic: Multi layer Magnet Script?
Replies: 48
Views: 19809

Re: Multi layer Magnet Script?

I suppose the problem with GetFullTransform() was that it considers camera transformation. After multiplication with inverted camera matrix it realy allows to get point positions to match across layers.
Please try my version of multilayer-magnet:
https://yadi.sk/d/zhWmkgtW3JnDz7
by A.Evseeva
Sun Jul 17, 2016 11:23 am
Forum: Scripting
Topic: Sync Channel to Original
Replies: 14
Views: 3902

Re: Sync Channel to Original

Does it mean no way to sync channel with original? No place this data stored in?
by A.Evseeva
Sat Jul 16, 2016 10:35 am
Forum: Scripting
Topic: Sync Channel to Original
Replies: 14
Views: 3902

Sync Channel to Original

Is it possible to execute the subj. command with LUA?
(It is about the right mouse button option, clicking on reference layer's timeline channel)