Adverti horiz upsell

Sassy Materials | Automatic PBR material network setup and texture assignment 1.0.0 for Maya (maya script)

Automatic preset shading network setup with options for searching for files according to predefined naming conventions. Comes with presets for Redshift, Arnold, and the standard lambert shader, but documentation is included on how to define your own presets for your preferred rendering engine!

License
Button download
624 Downloads

Compatibility

  • 2022, 2021, 2020, 2019

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:08/12/2021
Last Modified:02/10/2022
File Size: 307 KB

Keywords

texture, rendering

Q/A

Error - Inconsistent use of tabs and spaces

Date:01/21/2022
Submitted by: LFGFX LFGFX
I am getting the following error when running the script:
# Error: TabError: file C:/Users/XXX/Maya/scripts\SassyMaterials.py line 4: inconsistent use of tabs and spaces in indentation #
 
Any ideas how to fix it? 
 
Thanks

Replies to this question:

  • Sasbom

    Sasbom said almost 3 years ago:

    Hey! Thank you for being interested in my plugin.

    For now, if you want to use this script in maya 2022, you'd need python 2.
    You can force maya to run python 2 by putting 
    "MAYA_PYTHON_VERSION=2"
    at the end of your environment file! (maya.env, in documents/maya/2022/)

    Hope that helps. Good luck, 

    Sasbom
  • Sasbom

    Sasbom said almost 3 years ago:

    I have now updated the script to work in maya 2022!
    Please download the newest version, and use the newer scripts provided. 
    The documentation is updated too!

Post a reply: