Follow Pomanchocho
Follow
Following Pomanchocho
Following
Add To Collection
Collection
Devlog
Programming for Animation Devblog
←
Return to Programming for Animation Devblog
Devlog
TB1 Week 10
December 05, 2022
by
Pomanchocho
The return keyword in a function allows the function to return and variables assigned to the keyword, this is used when you want to call the function using a variable. E.g. def printName(name): print(...
Continue reading
TB1 Week 9
December 05, 2022
by
Pomanchocho
The task I had to do this week was to create a Maya window which would allow me to create different objects and animate them in different ways. Which I did with several different functions which would...
Continue reading
TB1 Week 8
December 05, 2022
by
Pomanchocho
After having created a pyramid function, as well as a more streamlined version, I made a new version which would make a UI version usable in Maya. The major challenge however was making a version of t...
Continue reading
TB1 Week 7
December 05, 2022
by
Pomanchocho
Began working on scripts which would generate pyramids in Maya automatically at the press of a button. Initial attempt was made by using a function which would repeatedly create a cube at the correct...
Continue reading
TB1 Week 6
December 05, 2022
by
Pomanchocho
This week, completed a quiz on what I’ve learnt so far about python. https://moodle.port.ac.uk/pluginfile.php/3804620/mod_resource/content/5/MoreQ.pdf Q1: c (Because things like easier to read and m...
Continue reading
TB1 Week 5
December 05, 2022
by
Pomanchocho
Cmds.move needs to be investigated If you create an object then use the move function it will automatically select it, otherwise you have to manually select it with cmds.select import maya.cmds def Cr...
Continue reading
TB1 Week 4
December 05, 2022
by
Pomanchocho
number = int(0) number = input("Enter a number:") print("Your number is:" + number) number = int(number) #converts the value input from a string to an integer if number < 12: print("Your number is les...
Continue reading
TB1 Week 3
December 05, 2022
by
Pomanchocho
Conditions and if statements. An if statement checks whether a condition has been filled before executing its statement. E.g. a = 33 b = 200 if b > a: print("b is greater than a") It is important that...
Continue reading
TB1 Week 2
December 05, 2022
by
Pomanchocho
print("Hi","there,","how are you?") Will print “Hi, there, how are you?” because all o-f the words are strings Python : An Introduction to Programming by James R. Parker. Is a good idea of a book...
Continue reading