Monday 22 April 2024

Python3 comparison operators

Meditate on this 🙏

'foo' is 'foo'
True

'foo' == 'foo'
True

'foo' is 'foo2'[:-1]
False

'foo' == 'foo2'[:-1]
True

'foo' is 'Foo'.lower()
False

'foo' == 'Foo'.lower()
True

0 == 0.0
True

0 is 0.0
False

0 is False
False

0 == False
True

not 0
True

Thanks to Joe Hornsby for providing these excellent examples.

Thursday 18 April 2024

Free, Opensource Animation Picker - Dreamwall

So, "it ain't 2005 anymore", and quite rightly so. 

Why spend time creating a bespoke tool, if there's something out there already that's free, great, and gets the job done?

Dreamwall Anim Picker is a free and intuitive tool that allows the construction of an animation picker for rigs within Maya. It's really good, and I think it will save you a lot of time, check it out here:

 https://github.com/DreamWall-Animation/dwpicker