News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu

Workaround needed for TC 2017 node and morph

Started by Andy H, October 19, 2017, 02:45:40 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Andy H

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.

AussieBloke


Anatoli A

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

Andy H

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

Anatoli A

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

Tim Stewart

#5
Quote from: 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

Anatoli,

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

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200