Python Package¶
This is a Documentation of MDSANIMA Python Package
Animation Module¶
Terminal print output animation.
-
mdsanima.animation.
anim_ascii
()¶ Print ascii foto animation.
Returns: Ascii animation. Return type: print Usage:
anim_ascii()
-
mdsanima.animation.
count_down
(print_text, count, sleep)¶ Print text and animation count down.
Parameters: - print_text (str) – Enter the text to be printed.
- count (int) – Counter number.
- sleep (float) – How fast the counts is supposed to be.
Returns: Count down animation.
Return type: print
Usage:
count_down('Your text ', 20, 0.1)
-
mdsanima.animation.
count_up
(print_text, count, sleep)¶ Print text and animation count up.
Parameters: - print_text (str) – Enter the text to be printed.
- count (int) – Counter number.
- sleep (float) – How fast the counts is supposed to be.
Returns: Count up animation.
Return type: print
Usage:
count_up('Your text ', 500, 0.001)
Render Time Module¶
Simple Render Time Calculator.
-
mdsanima.render.
render_time
(frame, rt_hours, rt_min, rt_sec, node=1)¶ Simple Render Time Calculator.
Parameters: - frame (int) – How many frame you have to calculate render time.
- rt_hours (int) – Hours render time one frame.
- rt_min (int) – Minutes render time one frame.
- rt_sec (int) – Seconds render time one frame.
- node (int) – How many node you have. Default 1 node.
Returns: Your render time stats.
Return type: print
Usage:
render_time(512, 1, 0, 24, 128)