Code Monkey home page Code Monkey logo

io-export-after-effects-2.9's Introduction

IO Export To After Effects

This script is superseded by one at Blender.org and is therefore deprecated. This is a version of https://developer.blender.org/diffusion/BAC/browse/master/io_export_after_effects.py updated to work with Blender 2.9. I fixed this before discovering the official and more robust update. This repo remains for those asking the same questions as I did.

NB. Not currently an add-on and will need to be run from script page of Blender.

Usage

  1. Select the objects and camera etc that you wish to export, and go to File>Export>Adobe After Effect (.jsx)
  2. Save the file.
  3. Open After Effects (Version > CS3)
  4. File>Scripts>Run Script File and select your file. It will ask you to name the comp. Any name will work
  5. Next, after it is done, go into the Project panel and open up your comp. Nulls objects and a camera should be there, matching the motion of the ones in blender.

Updating from Blender 2.6 to 2.9

Several changes to the Blender API occurred between these versions. This script contains simple fixes in order to run in newer versions of Blender.

Fixes

Matrix multiplication

Blender has adjusted its mathutils module, replacing the asterisk * with the at symbol @, aka the PEP 465 binary operator, for multiplying matrices with vectors.

384 matrix = Matrix.Translation(cam.matrix_basis.copy() @ track.bundle)

More information here: https://blender.stackexchange.com/questions/129473/typeerror-element-wise-multiplication-not-supported-between-matrix-and-vect/129474

Cannot specify unnamed parameters

Named parameters must be passed with argument name.

737 box.label(text='Animation:')

More information here: https://b3d.interplanety.org/en/porting-add-on-from-blender-2-7-to-blender-2-8/

Renaming of INFO_MT

Blender now longer uses INFO_MT to refer to top level menu but instead now uses TOPBAR_MT

 765 bpy.types.TOPBAR_MT_file_export.remove(menu_func)

io-export-after-effects-2.9's People

Contributors

squls avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.