Seeking a ldcad animation script method


RE: Seeking a ldcad animation script method
#13
I've updated the zip file. The Lua script in it should now deal with both uncrossed and crossed linkage configurations. The zip file also contains some sample LDR files used to test the script. If you encounter any issues when running the script, please post details in this thread.

Here is a sample "crossed" linkage:

[Image: linkage_crossed.png]

You need to explicitly identify whether the model being animated is an uncrossed or crossed configuration. This is done via the macro "scripts/linkages/Rotation Parameters". The macro will prompt for a series of different settings (see image below). The dialog circled in red is the one in which the linkage model configuration is identified (by default the scripts assume an uncrossed model).

[Image: rotation_parameters_prompt.png]

I'm sure that there should be a way for the script to calculate whether a model is uncrossed or crossed. Something based around atan2. I tried working it out but in the end I couldn't so I'm made it a value which the user needs to identify.

Regards,

David
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Seeking a ldcad animation script method - by David Manley - 2021-10-03, 6:31

Forum Jump:


Users browsing this thread: 2 Guest(s)