question

Horn H avatar image
0 Likes"
Horn H asked Braydn T edited

Making tractor dumping animation

Hi !

I want to make animation that tractor dumps boxes to truckVehicle in sample model below .How can I do this?

making-animation.fsm

Thanks ,

FlexSim 19.0.0
animation
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Lucas Klein avatar image
3 Likes"
Lucas Klein answered Horn H commented

Dear @Horn H you can easily create the dump animation of the tractor in the animation editor. To do this you must have the exploded 3D shape of the tractor separing the independent movement parts you want to animate, in this case you must have one 3D shape for the tractor body and another for the tractor bucket. In the animation editor you use the tractor body as a base shape and import the bucket as an animation component, therefore you can create the "dump" and "bucket return" animations.

Then you can link the animation with the events you want. For more flexibility, I advice you to use ProcessFlow to manipulate the animation events.

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Horn H avatar image Horn H commented ·

Thanks so much for your idea .Can you give me an example?

0 Likes 0 ·
Lucas Klein avatar image Lucas Klein Horn H commented ·

Here's an example of the exploded components animation. There was used two 3D files, one for the body, another for the bucket, both follow attached, those and many others3D files can be found at https://3dwarehouse.sketchup.com/.

In the animation creator you'll find two components, I've excluded the main shape of the object (check the blank space in the quick properties of the object's shape) and worked with both shapes as components in animation Editor. I did this because it's easier to edit any shape orientation in needed cases.

Then I've created a new animation and added and renamed the two components, the first keyframe I created is the initial position of the Dumping animation: the Truck has the bucket in horizontal position.

The next keyframe is the dumping bucket angled at this maximum, to do this I edited the "Centroid" of the bucket, the centroid is the point of rotation of a shape, you can edit it in Quick Properties while selecting the shape you want to edit. The animation creator has a function called "Tweening" that will create the frames between the keyframes, in other words, will fill automatically the animation movement between the initial to the final pose of the object.

To make the 3rd and 4th frames, I used the "Duplicate" tool, so the 3rd keyframe is a copy of the 2nd, to make the bucket stand still for a few seconds, then the 4th keyframe is a copy of the 1st, where the bucket returns to its initial position.

With the animation created, I created also a model to use it, so the trucks will load a box in the source and unload it in a sink following a path of Network Nodes to do the unload maneuver (Reduced the truck "Flip Treshold" to 90, making it possible to drive backwards). To assist the start of the animation I've created a process flow to do it.

This process Flow starts when the Unload Time of the truck is running, then it runs the animation. The time of the animation is the same of the truck's unload time to make it visually precise.

Then just got to run the model to see it happening. I'll let bellow here the model and the 3d Shapes used to build it. Hope this help you to get the animation principle.

dump-truck-model.fsm

truck-body.skp

truck-bucket.skp

2 Likes 2 ·
dump-truck-model.fsm (638.2 KiB)
truck-body.skp (803.3 KiB)
truck-bucket.skp (638.1 KiB)
Horn H avatar image Horn H Lucas Klein commented ·

Thanks you so much for very detail explain.I am trying to practice following your suggestion.

1 Like 1 ·
Lucas Klein avatar image Lucas Klein Horn H commented ·

Sure, I'll return you an example in a few.

1 Like 1 ·