Giter Club home page Giter Club logo

tik_assetlibrary's Introduction

#####################################################################################################################
## Asset Library - Python Script
## Title: Asset Library
## AUTHOR:	Arda Kutlu
## e-mail: [email protected]
## Web: http://www.ardakutlu.com
## VERSION:1.2(beta)
## CREATION DATE: 11.07.2017
## LAST MODIFIED DATE: 26.07.2017
##
## DESCRIPTION: Asset Library which will hold the frequently used product models. This Script are based on the Dhruv Govil's example code: controller Library
                ## (https://github.com/dgovil/PythonForMayaSamples/tree/master/controllerLibrary)
## INSTALL:
## Copy all files into user/maya/scripts folder(not folder, only files)
## Run these commands in python tab (or put them in a shelf:
## import assetLibrary
## assetLibrary.AssetLibraryUI().show()
##
## USAGE:
## TABS MENU:
## - At the first run, a pop up folder window will ask for the asset library. It can be a new one or an existing Asset Library folder.
                ## This action is one time only. A file called assetLibraryConfig.json will be created on the same folder with the script file.
## - Hit the "+" tab to add additional Libraries.
## - You can rename, re-path, or delete libraries from the right click menu on tabs.
                ## Please note that these actions will only affect on selected (viewing) tab
                ## Deleting the library does not delete the library folder, it only removes the tab and updates config file.
                ## At any time the removed library can be added again without any loss.

## MAIN MENU:
## - Top search filter can be used to filter assets.
## - Use the Export Import button to import selected asset. This will copy all texture files under the
                ## sourceimages/<assetname> directory of currently set project
## - Use Refresh Button to manually refresh the library.
## - Use Export button to put selected objects into the Library

## RIGHT CLICK MENU:
## - Right click on an asset opens the right click menu
## - Show screenshot: Opens the screenshot of the item with the default imageviewer defined by the os.
## - Show wireframe: Opens the wireframe of the item with the default imageviewer defined by the os.
## - Import and copy textures: Same command with the import button
## - Import Maya file: Only imports the ma file from the asset folder
## - Import Obj file: Imports the Obj file from the asset folder
## - Open File: Opens the Maya File THIS WILL FORCE TO OPEN THE FILE, ALL UNSAVED WORK WILL LOST ON CURRENT SCENE
## - View As List / View As Icons : Toggles between Icon and List View
## - Show Folder In Explorer: Opens the asset folder in windows explorer

## SHORTCUTS:
## - CTRL+i will import the file. Same action with the "import" button
## - CTRL+e will export selection. Same action with the "export" button
## - CTRL+PLUS(+) will increase the icon size
## - CTRL+MINUS(-) will decrease the icon size

## Version History:
## v1.2
## - Support for multiple Libraries added. Tabbed window allows to control multiple libraries at the same time
## - Directory path is not fixed therefore now it can be used anywhere for multiple purposes.
## - Added configuration database. AssetLibraryConfig.json file will hold the path configurations and tab names
##
## v1.0
## - Initial Release

#####################################################################################################################

tik_assetlibrary's People

Contributors

masqu3rad3 avatar

Stargazers

 avatar John Docter avatar  avatar xueqiang avatar Arun S avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dgovil

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.