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: 338
Joined: Thu Sep 20, 2018 12:36 pm

Make a GIF

Post by koluna »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Make a GIF

Post by Kunda1 »

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:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Roy_043
Veteran
Posts: 8552
Joined: Thu Dec 27, 2018 12:28 pm

Re: Make a GIF

Post by Roy_043 »

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
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Make a GIF

Post by chrisb »

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: 338
Joined: Thu Sep 20, 2018 12:36 pm

Re: Make a GIF

Post by koluna »

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: 338
Joined: Thu Sep 20, 2018 12:36 pm

Re: Make a GIF

Post by koluna »

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
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Make a GIF

Post by chrisb »

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: 262
Joined: Mon May 21, 2018 2:16 pm

Re: Make a GIF

Post by mendy »

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 2612 times
mario52
Veteran
Posts: 4692
Joined: Wed May 16, 2012 2:13 pm

Re: Make a GIF

Post by mario52 »

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.
My macros on Gist.github here complete macros Wiki and forum.
koluna
Posts: 338
Joined: Thu Sep 20, 2018 12:36 pm

Re: Make a GIF

Post by koluna »

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)
Post Reply