Animation Workbench

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Animation Workbench

Post by microelly2 »

I have started to extend my animation workbench.
The aim is to give the user the ability to animate without extra programming knowledge

Animation of a kossel 3d - first "real" example
https://www.youtube.com/watch?v=cUytAlFAPlA

Tracking of animations and reuse of tracks - still write a file and read a file but with the idea to communicate to an other powerful calculating app over named pipes or sockets/web
https://www.youtube.com/watch?v=NZTEcrKc0IU

Formula driven placement
https://www.youtube.com/watch?v=9Nha5zQXYk4

Vertex plugging
https://www.youtube.com/watch?v=EATykEXOfj0

Collision and nearby detection
https://www.youtube.com/watch?v=RrhAD585WIw
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Animation Workbench

Post by microelly2 »

A remote connector node should give me the power of other machines/tools to calculate animations. Using scipy or other tools inside the server there is a way for sophisticated animations too. The server is from https://twistedmatrix.com and the GUI is http://kivy.org/. These are the first examples with scipy.interpolate.interp1d

https://youtu.be/2OZJrk_-CrI
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: Animation Workbench

Post by abdullah »

Hi MicroElly,

I have packaged your workbench for use in ubuntu as part of the FreeCAD Community PPA:
https://code.launchpad.net/~freecad-com ... /+packages

When testing, I see that it would appear like one icon is missing in GitHub:

Code: Select all

Loading Animation Workbench ... done
Cannot find icon: /usr/lib/freecad/Mod/Animation/icons/scaler.png
Animation workbench activated
If you just add the file to GitHub, the next daily generation of the packages will have this error fixed :)

For those running Ubuntu that want to get the daily build of the WB, you may get it by running this:

apt-add-repository ppa:freecad-community/ppa
apt-get update
apt-get install freecad-extras-animation

For a complete list of packages in the community PPA look here:
https://code.launchpad.net/~freecad-com ... /+packages

The thread related to packaging for Ubuntu is here:
viewtopic.php?f=4&p=107403#p107403
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Animation Workbench

Post by microelly2 »

Thank you for fixing this.
I have written a lot of new classes and need to paint some new icons too.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Animation Workbench

Post by microelly2 »

My idea was to use assembly 2 workbench to place the parts and then use the degrees of freedom for animations.
Every degree of freedom generates a placer node.
These nodes are full customizable.
So the work of an assembled machine can be demonstrated.
Speeder nodes enable the fine tuning of the schedule and speed of all movements.

I had to do some hacks into the assembly 2 workbench:
deactivate constraints to get back the freedom for animation
create animation nodes on top of the detected degrees of freedom.

https://youtu.be/v9pmMegpxN8
https://github.com/microelly2/FreeCAD_assembly2
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Animation Workbench

Post by triplus »

I haven’t test it out yet. The changes you have done. But indeed Assembly 2 DOF animation feature is a nice feature.
F_Rosa
Posts: 265
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Animation Workbench

Post by F_Rosa »

Hello Microelly,

First of all, congratulations on the Animation Workbench!

I saw the videos you posted and I have many doubts about the settings of each element (Property and Value window). I'm trying to understand them by trial and error, but I think I exhausted this resource.

If you could explain two of them, it would be fantastic. I would like to focus on, "My_Viewpoint" and "My_Placer".

Thank you.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Animation Workbench

Post by microelly2 »

Hello F_Rosa
Look at my website http://freecadbuch.de/doku.php?id=Animation%20Wokbenchand search for placer.
For the viewpoint there is only a german description. If its translation is not understandable request again please.
efyx
Posts: 280
Joined: Fri Sep 26, 2014 7:36 pm

Re: Animation Workbench

Post by efyx »

Is animation workbench will be further turned also into simulation workbench?
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Animation Workbench

Post by microelly2 »

My long time goal is to have an interface to open modelica.
Post Reply