Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cycloneslider domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/wacggq0abkde/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cartel domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/wacggq0abkde/public_html/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home2/wacggq0abkde/public_html/wp-includes/functions.php:6114) in /home2/wacggq0abkde/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":2674,"date":"2019-04-26T13:18:40","date_gmt":"2019-04-26T12:18:40","guid":{"rendered":"http:\/\/boris-mc.com\/?p=2674"},"modified":"2019-05-10T23:11:30","modified_gmt":"2019-05-10T22:11:30","slug":"a-few-simple-python-tools-to-make-comping-life-just-a-bit-easier","status":"publish","type":"post","link":"https:\/\/boris-mc.com\/?p=2674","title":{"rendered":"A FEW SIMPLE PYTHON TOOLS TO MAKE COMPING LIFE JUST (A BIT) EASIER."},"content":{"rendered":"
\n
\n

tl;dr: <\/strong>some useful Python snippets for Nuke.<\/p>\n<\/div><\/div>\n

\n
Here you guys have a bunch of little Python scripts to make some common comping tasks just a tiny bit easier<\/strong>. Nothing too ambitious though, just a few tricks that will buy you some time and make you look more pro, especially when used along with the amazing W_hotbox tool<\/a>.<\/strong><\/div>\n<\/div><\/div>\n<\/div>\n
<\/div>\n
<\/div>\n
<\/div><\/div>\n
b_procedural_backdrop<\/strong><\/h6>\n
This one is an extended version of a script I previously posted and will enable to procedurally create Backdrop Layouts that are nicely and evenly arranged along Nuke\u00b4s Nodegraph.<\/strong> Here is how:<\/div>\n
<\/div>\n

1 - How to use it<\/strong><\/p>\n

So first things first, let\u00b4s place the code where it can be reached, create a new Nuke Menu and set up a shortcut.<\/p>\n

<\/div>\n

Distribute the code<\/strong><\/p>\n

Download the script from the link below save it as a Python file called \"b_procedural_backdrop<\/span>.py<\/span>\"\u00a0<\/span>where Nuke can find it. In other words, place it within the Nuke Plugin Path file structure. For more info, read my previous posts.<\/p>\n

Edit the menu.py file<\/strong><\/p>\n

Now we have the Python module where Nuke can find it, we\u00b4re gonna add the following lines to our fantastic menu.py so that we can effectively use it:<\/p>\n

import b_procedural_backdrop.py\r\nn_menu = nuke.menu('Nuke')\r\nb_menu = n_menu.addMenu('MenuName')\r\nb_menu.addCommand('b_procedural_backdrop.py', b_procedural_backdrop.main_function()', 'ctrl+a')<\/pre><\/div>\n

Save the menu.py and restart Nuke.<\/p>\n

2 - Try it<\/strong><\/p>\n

You'll notice that there is a new menu in your upper menu bar, listing the new 'b_procedural_backdrop' <\/span>command and its Hotkey. Just select a bunch of nodes and press 'alt+a '(it\u00b4s the hotkey we set up earlier, obviously you can change this to any other of your convenience). A Nuke Panel like this one should appear:<\/p>\n

\"\"<\/a><\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n

As you can see, there are a few parameters to deal with:<\/p>\n

\n