Make a GIF

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
koluna
Posts: 326
Joined: Thu Sep 20, 2018 12:36 pm

Make a GIF

Postby koluna » Mon May 03, 2021 11:28 am

Hi, Dears!

How can I make a GIF with animation for my model? I need a very simple animation.
I have tried a Std DemoMode.
But I do not understand how it rotate my model. How can I alter a center of rotation?
User avatar
Kunda1
Posts: 10520
Joined: Thu Jan 05, 2017 9:03 pm

Re: Make a GIF

Postby Kunda1 » Mon May 03, 2021 4:15 pm

Please always include you full About info when posting for assistance.

To auto-rotate the model see Std_DemoMode
To capture as an animated gif you'll need a 3rd part software fit for you OS. IIRC we do have a page on the wiki describing options. Anyone know what it is?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Roy_043
Posts: 3026
Joined: Thu Dec 27, 2018 12:28 pm

Re: Make a GIF

Postby Roy_043 » Mon May 03, 2021 5:39 pm

Maybe this code can be a good starting point:
https://wiki.freecadweb.org/Code_snippe ... f_36_files

You would still need some application to combine the separate images.
chrisb
Posts: 35157
Joined: Tue Mar 17, 2015 9:14 am

Re: Make a GIF

Postby chrisb » Mon May 03, 2021 5:46 pm

Gimp can combine a set of images to an animated gif.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
koluna
Posts: 326
Joined: Thu Sep 20, 2018 12:36 pm

Re: Make a GIF

Postby koluna » Mon May 03, 2021 6:12 pm

Kunda1 wrote: Mon May 03, 2021 4:15 pm Please always include you full About info when posting for assistance.
OS: Linux Mint 20 (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: e8566f22bbeb0b7204e3c45519d0963e8881100b
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
koluna
Posts: 326
Joined: Thu Sep 20, 2018 12:36 pm

Re: Make a GIF

Postby koluna » Mon May 03, 2021 6:17 pm

Kunda1 wrote: Mon May 03, 2021 4:15 pm To auto-rotate the model see Std_DemoMode
I did it. I used Std_DemoMode and Peek on my Linux.
The question is how I can change a rotation center of my model.
The center of rotation is not center of my model.

https://disk.yandex.ru/i/2spBepOgt7kLGg
chrisb
Posts: 35157
Joined: Tue Mar 17, 2015 9:14 am

Re: Make a GIF

Postby chrisb » Mon May 03, 2021 7:30 pm

koluna wrote: Mon May 03, 2021 6:17 pm how I can change a rotation center of my model.
Some Mouse Models offer the H key for recentering, but it requires an object under the mouse when invoking it. If you want to turn around some empty point in space, place some new object there (e.g. a standard cube from Part workbench), place the mouse over the desired point of rotation, and hide or remove the object. Then start the turntable.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
mendy
Posts: 239
Joined: Mon May 21, 2018 2:16 pm

Re: Make a GIF

Postby mendy » Mon May 03, 2021 7:40 pm

You can try macro view rotation also and angle setting in turntable along with suggestion by @chrisb. It seemed to work better when in a top or side view.
Attachments
rt.gif
rt.gif (602.38 KiB) Viewed 910 times
mario52
Posts: 3516
Joined: Wed May 16, 2012 2:13 pm

Re: Make a GIF

Postby mario52 » Tue May 04, 2021 9:31 am

hi

tray also Macro_Screen_Wiki Image for save multi image for create one animation (with Gimp or other screentogif)

also Macro_Rotate_To_Point Image for create one complete macro (rotate or translate your object(s) save the coordinate step by step and run the macro to see the animation

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting, Dialog creation. My macros on Gist.github.
koluna
Posts: 326
Joined: Thu Sep 20, 2018 12:36 pm

Re: Make a GIF

Postby koluna » Sat May 08, 2021 8:12 am

Sorry, but Screen Wiki does not save any files!
I have tried to press Save Image, New Image and Save the animation.
The animation is worked, the object was rotated, but I cannot find any files anywhere.

OS: Linux Mint 20 (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: e8566f22bbeb0b7204e3c45519d0963e8881100b
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)