Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Advanced Scripting in Maya by Building Custom Tools
Rating: 4.4 out of 5(33 ratings)
1,111 students

Learn Advanced Scripting in Maya by Building Custom Tools

Build an FBX exporter in Maya while learning some advanced scripting techniques!
Created by3dmotive LLC
Last updated 9/2016
English

What you'll learn

  • Understand basic software design
  • Learn and understand Export Nodes
  • Understand UI Design
  • Understand how to create custom procedures
  • Learn to code and setup animation export settings

Course content

5 sections53 lectures9h 31m total length
  • Download Course Files Here!0:06
  • Introduction to the Course1:13

    Learn advanced scripting in Maya through a practical approach that tackles SBX export pipeline shortcomings, adds automation and reusability, and builds a core engine, command-line workflow, and a UI framework.

  • Defining the Problem8:48

    Define a practical, non-destructive workflow for exporting FDX animations from Maya, removing namespaces, zeroing origins, and automating batch exports to fit game engines like Unity and Unreal.

  • Design Principals10:29
  • Low Level Procedures14:40

    Learn how to implement low level maya scripting procedures by adding an origin attribute to the root, checking object existence, and enabling a python–mel workflow for exporting hierarchies.

  • Tagging Meshes Procedure13:29

    Learn to tag meshes for export in Maya by using message attributes and the master attribute, and read connections to set up export notes for multiple skeletons and animation exports.

  • Find Objects Procedure12:11

    Find objects procedure explains how to locate the origin-tagged joint by namespace, handling empty and non-empty namespaces, iterating through joints, and returning errors when no match is found.

  • Find Blendshapes Procedure13:43

    Learn to locate blendshapes by tracing connections from the shape node, consider namespace assumptions, and build a robust procedure that preserves animation export.

  • Clear Garbage Procedure8:25

    Learn to implement a Maya garbage procedure that deletes all nodes tagged as garbage, preserving the top node, and removing temporary transforms and mesh clutter.

  • Export Node Procedures 0117:29
  • Export Node Procedures 0216:44

    Learn to locate origin export nodes and their connections, verify required attributes, and build robust scripts that connect, validate, and manage export nodes for Maya workflows.

Requirements

  • Autodesk's Maya

Description

In Advanced Scripting in Maya, we will use a real-world issue as a teaching case while developing automation and support an FBX exporter. In the first module for this course we will discuss some basic philosophies about software design before we start writing our code. We will then begin our script by starting on some basic lower level functions and ending with the creation of our FBX export nodes. From there we will continue our script by designing all the procedures needed to handle exporting of rigged characters, setting our animation export settings, and managing anim layers per animation.

We will also show how to set our FBX export settings and will end the second module with writing the actual calls to the FBX exporter using our animation. Next, we will design our main UI, so all our export code will be easier to use. We will build a tabbed window so we can switch between model and animation export, and include such options as pop-up menus when we right-click for power users. To wrap things up, we will add the functions needed to make our UI work, we will create procedures that will automatically populate the UI depending on what is selected, procedures to support our popup menus, and eventually calling our export code.

(Students - please look under Section 1 / Lecture 1 downloads for the source files associated with the lesson.)

More about the Instructor:

Chad Morgan started his career at LucasArts where, as a newbie to the industry, was fortunate enough to work with some very talented mentors who taught him how to use Maya. Ever since then, Chad has been trying to pay it forward by sharing what he has learned, first by giving lectures at Autodesk Master Classes, then publishing an article in #d world Magazine, posting tutorials on YouTube, and finally teaming up with 3dmotive. Chad Morgan currently lives in Lake Forest, CA with his wife Carol and his son Xander.

Who this course is for:

  • Those looking to increase their scripting knowledge base within Maya and become a stronger asset to a tech art and tools development team.