LDCad Lua - prompt and wait for selection?


RE: Lua - prompt and wait for selection?
#12
(2021-09-25, 18:58)Roland Melkert Wrote: If you, or anyone else, has some additional ideas on api extensions please let me know.

I'm wondering about adding to the API the ability to query the clock "tick" unit size for an animation. Knowing this metric would help make some calculations when working out how far through an animation the current time represents.

While using getFrameTime() / getLength() does give the proportion, the challenge I'm facing is getting the 4 bar linkage working when using the "set interval start" at something other than the start of an animation. Knowing the clock "tick" unit size (which differs for normal speed vs slow speed) should enable me to work out the change of angles required between frames.

David
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Lua - prompt and wait for selection? - by David Manley - 2021-10-04, 1:12

Forum Jump:


Users browsing this thread: 4 Guest(s)