Scripting/Parsing Apple Motion 5 .motn 文件
Scripting/Parsing Apple Motion 5 .motn files
我是动画新手,我已经开始使用 Apple Motion 5
http://www.apple.com/au/final-cut-pro/motion/
界面可能有点烦人,因为它不允许我批量处理或自动执行操作。因为它以一种很好的 xml 格式保存文件,所以我一直在破解它来做我喜欢的事情。
例如,如果不手动执行每一项,则无法在应用程序中为数百个资产设置固定分辨率,因此我编写了一个简短的脚本来查找并将文件设置值中的这一行替换为 0
<parameter name="Fixed Resolution" id="113" flags="8606711808" default="1" value="0"/>
有 python 库 parse/script .motn 文件吗? (通用 xml 解析器除外)
Try Awesome Python
at https://github.com/vinta/awesome-python
Maybe you'll find there what you're looking for.
But if you really want to use cool app try The Foundry Nuke
or Blackmagic Fusion
instead of Apple Motion or Adobe After Effects. Nuke and Fusion are node-based flexible and powerful compositing applications that support python scripting and programming. There are non-commercial free versions:
https://www.thefoundry.co.uk/products/nuke/
https://www.blackmagicdesign.com/products/fusion
希望这对您有所帮助。
我是动画新手,我已经开始使用 Apple Motion 5
http://www.apple.com/au/final-cut-pro/motion/
界面可能有点烦人,因为它不允许我批量处理或自动执行操作。因为它以一种很好的 xml 格式保存文件,所以我一直在破解它来做我喜欢的事情。
例如,如果不手动执行每一项,则无法在应用程序中为数百个资产设置固定分辨率,因此我编写了一个简短的脚本来查找并将文件设置值中的这一行替换为 0
<parameter name="Fixed Resolution" id="113" flags="8606711808" default="1" value="0"/>
有 python 库 parse/script .motn 文件吗? (通用 xml 解析器除外)
Try
Awesome Python
at https://github.com/vinta/awesome-pythonMaybe you'll find there what you're looking for.
But if you really want to use cool app try
The Foundry Nuke
orBlackmagic Fusion
instead of Apple Motion or Adobe After Effects. Nuke and Fusion are node-based flexible and powerful compositing applications that support python scripting and programming. There are non-commercial free versions:
https://www.thefoundry.co.uk/products/nuke/
https://www.blackmagicdesign.com/products/fusion
希望这对您有所帮助。