Code Monkey home page Code Monkey logo

oneliner's Introduction

OneLiner

Simple Renamer Tool for Maya

English|简体中文

UI

image.png

ENV

  • windows
  • python2.x|python3.x
  • PySide2
  • maya2017+
  • pymel

To be optimized

  • fix listView szie
  • support maya auto rename preview
  • add gif tips
  • Set hotkeys in the pop-up window during installation

Tutorials

Installation

  • Download and unzip the oneLiner.zip
  • Drag and drop the "studiolibrary/install.mel" file onto the Maya viewport
  • in the pop-up window, set the hotkeys and click "OK" to finish the installation 11.gif

Details

Simple

  • select object run the script,Enter text

01.gif

> Find and replace
  • "oldName">"newName" (without quotes)

03.gif

USE ! # @
  • ! old name

02.gif

  • # numbering based on selection, add more # for more digits

01.gif

  • @ alphabetical numbering based on selection

04.gif

/s /h selected/hierarchy
  • /s selected only (this is default, you dont have to type this)
  • /h add items from all hierarchy descendants of selected items

05.gif

+ - -- remove first or last character(s)
  • +num +(amount of characters to remove) = removes specific amounts of characters from first character
  • -num -(amount of characters to remove) = removes specific amounts of characters from last character
  • --num Delete to leave only

06.gif

f: fs: fe: Additional tool
  • f: xxx at the start of the text to find objects within desired characters
  • fs: xxx at the start of the text to find objects that ends with the desired characters
  • fe: xxx at the start of the text to find objects the starts with the desired scharacters

07.gif

Right click Show Tips

Thanks

License

MIT

oneliner's People

Contributors

ai12989757 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.