Dark Orange StyleSheet for PyQt4

I have added a new PyQt4 style sheet to my tools repository.  I always liked dark and orange combination. NukePalette  was one of the best.

But, I still wanted to write a new style sheet with little more to NukePalette. So I have wrote a completely new qss file, which has similar colors but looks different.




Project : bcTools
StyleSheet Link : https://github.com/barishcb/tools/blob/master/resources/pyqt/stylesheets/DarkOrange/style.qss
Icons Link : https://github.com/barishcb/tools/tree/master/resources/pyqt/icons/DarkOrange

Python Unittest Framework for Visual Effects (Under Development)

This is one of my long term plan, I started doing Test Driven Development(TDD) for last 4-5 year. It changed the way, how I did my developments.

As a FX artist become developer, I use to write codes in single files/modules. Every functions, variable, etc… will be in the same module. Once my lead ask me to write unittests for my python tools, it was a shock for me. I don’t know what to do(actually don’t know, what a unittest is in python). Started looking into others tests and codes. Be honest, it didn’t took a whole lot of time to understand it. Once I understood how TDD works, or how you can write a testable code. It is like playing a game.

I was trying to make as framework for testing the code I develops for me. And I finally have a starting point for that. I started a new PyPi project and added a basic structure now.

PyPi Project : bcTesting
PyPi Page : https://pypi.python.org/pypi/bcTesting
GitHub Link : https://github.com/barishcb/testing


Installing bcTesting is very simple. Once you download and unzip the package, you just have to execute the standard python setup.py install. The setup script will then place the bcTesting module into site-packages in your Python’s installation library.

Alternatively, since bcTesting is listed in the Python Package Index (PyPI), you can install it using your favorite Python packaging/distribution tool, for example with:

It’s recommended to run _build_tables.py in the bcTesting code directory after installation to make sure the parsing tables are pre-generated. This can make your code run faster.

How to Use

Using bcTesting is very simple. As it is just extension of testtools, you can directly import it and use it in your code. You have to replace bcTesting.testBase.TestCase insted of  unittest.TestCase or teststools.TestCase.


  • Testing Framework for Autodesk Maya (Currently under development)
  • Testing Framework for The Foundry Nuke
  • Testing Framework for The Foundry Katana

Example Project

If you want to look into the implementation please check this project.

Project : bcTools
GitHub Link : https://github.com/barishcb/tools

Your Suggestions

I hope this will once the project is stable and matured. It will make your like easy as a visual effect python developer.  This is still under development, so there will issues feel free to contact me. Aslo hoping suggestions and improvements  also.

Sublime Text 2 : The tag line become reality…


Sublime Text 2 is my favourite editor. It is one of the best editor I have ever used ever in my carrier. It have almost all the features a programmer need, and have lots of packages available to support the basic features. Sublime is released for linux, windows and Mac OS.

When I was a windows user, Notepad++ was my best matte. I moved to linux may be 4-5 years back, It was very difficult. Using vim, emac(traditional and best) or IDEs like eclipse, geany, aptana. I tried almost everything. Both of them gave me issues, moving to traditional linux editors was difficult for a windows user like me(honestly, still uses it for editing remote files.). Using IDEs makes me mad, lots of menus, option, dialog boxes, tabs, was confusing.

I came to know about Sublime Text 1-2 years back. First impression was like heaven, now onwards I never had to think about any other editor. “I DID FALL IN LOVE WITH IT“. A perfect replacement for Notepad++ in linux(personally sublime text 2 is better). Started using it in windows also and started suggesting others too.

Notepad++ Vs Sublime Text 2

It is unfair to compare both, both have their own features and cons. You can find tons of discussions regarding this in web, just a Google search “Notepad++ Vs Sublime Text 2” will do. I like Sublime more than Notepad++ now.

Some of the good features:

Goto Anything
Command Palette
Split Editing (The best one.)
Multiple Selections
Distraction Free Mode
Plug-in API
Customize Anything(Literally)
JSON Settings(Somewhere I saw this in cons, don’t know why.)

The Packages I mainly uses:

Package Control
Git Gutter
Maya Sublime
Sublime JEDI


Blackboard(Comes with sublime, Customized)


Sublime Text 2

Script Pack Installation



Download the latest version of the bcb_sript_pack from http://barishcb.com/. If you have any suggesions or bugs please email me from my website. The RAR file contains mel scripts, documentaion, icon bitmaps, plugins and an installation maya file.


Extract the rar file into your local drive. Then open BC_Script_Install.ma file using any version of maya. When the maya open you will get and Script installation window. Follow the instructions inside it.



Continue reading Script Pack Installation

Change Camera Marking Menu (Mel Function)

Change Camera Marking Menu

This is a small tips for making marking menu for changing cameras easily. First copy the script bellow and save it as “bc_ChangeCam.mel” in any of your user script folder. Or you can download the script from here
Continue reading Change Camera Marking Menu (Mel Function)

bc_ReverseList (Mel Functions)

This is a simple function to reverse string array in mel.

Continue reading bc_ReverseList (Mel Functions)