TurboCAD Forums

Plug-In Palace => Animation Lab => Topic started by: Andy H on October 19, 2017, 02:45:40 PM

Title: Workaround needed for TC 2017 node and morph
Post by: Andy H on October 19, 2017, 02:45:40 PM
In TC 2017 RedSDK working with AL,  there are still what I consider bugs because they worked fine in v2016.

Anyone found a reliable workaround for Morphing and Keyframe node editing, where the morph or node edits don't update until after the full command has finished,  I found a 'sort of' workaround providing the spline paths are on the world workplane by adding the PlaceOnWorkplane , but it doesn't always work for me using a user defined workplane, though I can get round some problems by offset sweeping so the profile is still is on the WW,   I tried the workarounds for materials / luminance problem provided by Vlad, but they didn't work for me with this problem.. 

In case the above isn't clear (highly likely), see attached file, simply open, draft render, in AL options - frames, turn off show frames, (doesn't actually matter but saves creating a useless movie), play movie,   the ones without the PlaceOnWorkplane commands don't update for me as the movie records.  but everything works fine in 2016.

Andy

Forgot to mention, the reason I need a workaround is that I want to use a 3D spline, so place on workplane is very hit and miss, a better workaround is needed.
Title: Re: Workaround needed for TC 2017 node and morph
Post by: Darryl W on October 22, 2017, 04:07:43 PM
Andy just downloaded and I will test later.

Title: Re: Workaround needed for TC 2017 node and morph
Post by: Anatoli A on December 26, 2017, 09:11:34 AM
Hi Andy,

I have looked sample file you provided. It helped a lot.

Here is a workaround.
Open that file , Activate AnimationLab Palette
Open custom script Editor and  replace StepCustomAction and PostStepCustomAction functions with code below

Sub StepCustomAction
Set Gr = GetActorFromName ("Spline-3")
Gr.MoveRelative 0.0001,0,0
Set Gr = GetActorFromName ("Spline-9")
Gr.MoveRelative 0.0001,0,0
end sub

Sub PostStepCustomAction
Set Gr = GetActorFromName ("Spline-3")
Gr.MoveRelative -0.0001,0,0
Set Gr = GetActorFromName ("Spline-9")
Gr.MoveRelative -0.0001,0,0
end sub

Best Regards
Anatoli Albul
Title: Re: Workaround needed for TC 2017 node and morph
Post by: Andy H on December 27, 2017, 01:30:22 AM
Thank you Anatoli.

Just gave it a try and it works well, works on a 2D and 3D spline, and node editing a spline in key frame mode :).


Thanks again..... Andy
Title: Re: Workaround needed for TC 2017 node and morph
Post by: Anatoli A on December 27, 2017, 05:40:51 AM
You are welcome Andy!

Anyway this is a defect and we will try to fix it.
Thanks again for posting file and detailed description.

Anatoli
Title: Re: Workaround needed for TC 2017 node and morph
Post by: Tim Stewart on December 27, 2017, 06:47:26 AM
You are welcome Andy!

Anyway this is a defect and we will try to fix it.
Thanks again for posting file and detailed description.

Anatoli

Anatoli,

    that's music to our ears!  :)
    Thank you.

Regards Tim