aniMate2, how to create a simple LINEAR aniblock? (Almost SOLVED)
rosseliani
Posts: 506
I want a Figure to go forward on Z axis at a constant speed of 4,5 mm / second using an aniMate2 aniblock.
It sounds easy...
Create the move in DS timeline then Create aniBlock from Studio Timeline in aniMate2 tab. Doesn't work.
After spending much time searching, trying etc, I always end with a TCB aniblock.
Am I missing something simple and obvious?
Post edited by rosseliani on

Comments
You can set the Interpolation type in the DS Timeline pane, it's in the right-click options on a key or keys.
Thank you for your answer.
I set the Interpolation type in the DS Timeline pane to linear every day. I also know there's no "linear by default" option in the DS Timeline pane, wich could be useful.
The problem is that aniMate2 automatically creates TCB aniblock curves from DS Timeline linear settings.
So my question is about aniMate2 rather than DS Timeline.
Regards
Not that it is your main question, but setting the default interpolation type for the Timeline: https://www.daz3d.com/forums/discussion/comment/8934041/#Comment_8934041
Now I created a simple test Timeline moving a cube from Z = 0 to Z = 300. Changed the settings of key#0 and key#30 to linear.
Went to Frame 1, added a key, set to linear.
Went to Frame 2, added a key, set to linear.
...............etc
Went to Frame 15, added a key, set to linear.
Went to Frame 20, added a key, set to linear.
Saved as pose preset. ---> Image 1
Opened the aniMate2 Tab, choosed "Create aniBlock From Studio Keyframes", --> Done.
In aniMate2 I selected the new created aniBlock, double clicked to enter in keyframes mode.
Opened the Graph Editor. ---> Image 2
Edited and commented Images 1 & 2 ---> Image 3
Any aniMate2 Guru and / or links to similar threads on the Forum?
Thanks for the info, but my knowledge about scripting is equal to (or even below) Zero, I will have to learn the basics!
Just paste it into the ScriptIDE pane and save it using the pane's File>Save*. If you want a different default you will need to change that bit, but if you want linear it is al done for you.
* Or just go to Window>Workspace>Customise, right-click on Custom on the left Create New Custom action, check the box for Daz Sctipt instead of Daz Script File, and paste that script into the text box, then add the action to a menu or toolbar.
Done! Should I now save another script with "Scene.setDefaultKeyInterpolationType( DzProperty.InterpTCB );" instead of "Scene.setDefaultKeyInterpolationType( DzProperty.InterpLinear );" ?
And yes, I'll create custom actions and toolbar buttons for these scripts. In my dreams it should be a single toggle button but I'm not sure it'e possible.
Thank you again!
Yes, create a script for each mode you want to be able to make default with the Interp val;ue changed as needed.
Works perfectly!
Any way to move this thread to Product Suggestions (removing the "default interpolation settings" posts as the thread is not about a Daz Studio issue?
You can edit the first post, but it isn't really a product suggestion (an in-search-of, what-is-this, or I-would-like-someone-to-make) thread .
aniMate2 Linear aniBlock, trying again.
The goal here is to get a 2 seconds +X 36 mm/second LINEAR aniBlock move.
Image 1: I create a 60 frames DS Timeline (2 seconds). On frame 60 I give a +7.2 (3.6 cm x 2) X Translate value.
-This is meant to Create aniBlock from Studio Keyframes in the aniMate2 Tab.
-I want a Linear move, I could change my DS Timeline keys settings to Linear but aniMate2 will ignore those settings.
Image 2: I open the aniMate2 Tab and choosed Create aniBlock from Studio Keyframes (left click on the grey area where there is no button).
-I get a nice TCB curve.
Image 3: In the aniMate2 Tab, I add 2 keys, one a frame after the aniBlock zero frame, and one a frame before the aniBlock end frame.
Image 4: Using the mouse, I carefully drag the new keys vertically until I obtain an ALMOST LINEAR curve.
Image 5: You can see the very beginning of the curve is still TCB interpolated, but this shouldn't be noticeable during animation.
-Actually the whole curve is still TCB interpolated.
-I can now rename my new pseudo linear aniBlock and save it as new.
Testing the Bake To Studio Keyframes utility:
Image 6: Here I baked my new aniBlock to Studio Keyframes (left click on the grey area where there is no button).
-Notice that Key 0 was set to Constant interpolation (bug or feature?).
Image 7: I can select all X Translate Keys and set them to Linear, TCB or Constant interpolation.
Image 8: All X Translate Keys are set to Linear interpolation. I save the Timeline as a Pose preset, clear the Timeline and clear aniMate2.
Image 9: I loaded my new Pose Preset to the DS Timeline, and in aniMate2 I choosed Create aniBlock From Studio Keyframes to see what happens.
-Not what I expected, but at least I can save this aniBlock as a "Smooth Start" for my figure moves!
-aniMate2 by GoFigure is a nice plugin, but their documentation is weak, especially the "aniMate2 and Studio Keyframes" paragraph.
-As said @richardandtracy : Maybe the PA's name is less of a user name than an instruction to users.
aniMate2 documentation: http://docs.daz3d.com/lib/exe/fetch.php/public/read_me/index/11191/11191_animate2_use_guide.pdf