Home Youtube GitHub

MGear 3.x.x distribution


#1

Hey,

First time user of mGear, and getting to terms with the whole framework. Amazing work so far :slight_smile:

I was wondering whether initial testing and installation could be easier by providing batch/shell scripts to launch Maya with mGear setup?

Here is my batch script for launching Maya with mGear (placed in the extracted distribution folder):

set MAYA_MODULE_PATH=%MAYA_MODULE_PATH%;%CD%
cd "%~p1"
start "" "C:/Program Files/Autodesk/Maya2019/bin/maya.exe" %*

#2

Hi @Toke_Stuart_Jepsen

This is the script that I am using:

@ECHO OFF

set MAYA_MODULE_PATH=C:\Users\miquel\Desktop\mgear_3.1.0
set MGEAR_SHIFTER_CUSTOMSTEP_PATH=D:\Dropbox\WIP\Shifter_data_centric\build
rem set MGEAR_SHIFTER_COMPONENT_PATH=

start "" "C:\Program Files\Autodesk\Maya2018\bin\maya.exe"

here is more info:


#3

Ahh, I missed that video.

Think its worth having batch/shell scripts with the distribution, so user can launch or modify them?