Oscurart Tools - (rig, model, render setting & more)

Update 2.9 Now in AddOns contrib!

Oscurart Tools provides many tools for objects, rig, meshes, render and files.
This is oriented for use in production.

In the actually it is testing on the study Flamboyant Paradise (http://www.flamboyantparadise.com/site/)

UI:
http://1.bp.blogspot.com/-CB1wVi61BwU/T1IytMcqCcI/AAAAAAAAAPk/GaH7NlbvlBk/s1600/Selection_002.jpeg
All menues:

Videos and instructions in the wiki: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/Oscurart_Tools

Blog: www.oscurart.blogspot.com


Objects: http://www.youtube.com/watch?v=RRb8YRyL4Xs
- Distribute objects in the space.
- Search and select objects by your initials.
- Rename objects.
- Duplicate objects simmetrically.
- Remove all modifiers in the selected Objects.
- Apply all modifiers in the selected Objects.

Meshes: http://www.youtube.com/watch?v=YXRgpZVqB2s
- Select the vertices minor to zero in x.
- Push all normals outside in selected objects. Good for quality checklist!.
- Recover the simmetry of the object and create two uvs.
- Recover the simmetry in the uvs.
- Export & Import vertex groups. Good for save armature settings.

Shapes: http://www.youtube.com/watch?v=OqhkFZjwZG0
- Create one object per each shape. Good for export to other platform.
- Create 2 vertex groups for mix shapes.
- Connect all shapes with the “L R” groups! Good for facial rigs.
- Create a 2D panel for mix this shapes.

Files: http://www.youtube.com/watch?v=ZWEgjP_9v1w
- Make an increment of scene version. Example: _v01 _v02
- Reload all images in the .blend.
- Search and Replace filepaths in the .blend.

Render & Overrides: http://www.youtube.com/watch?v=6rDBWFm0E3c
- Make a .bat (windows) or .sh (Linux) for render by command line!.
- Render all scenes in the .blend.
- Render Active scene in the .blend.
- Render the scenes in the list.
- You can specify if you need render only the current frame in all cases.
- You can override materials on LINKED OBJECTS!! Like in Softimage (http://www.kxcad.net/Softimage_XSI/Softimage_XSI_Documentation/passes_WhatIsaRenderPass.htm)

hi, thanks for this, the rename objects & object name search is great.
So are many of the other features.
good work. :slight_smile:

Hi again,
I copied your awesome rename objects & search & select functions & put them in their own script.

# ##### BEGIN GPL LICENSE BLOCK #####
#
#  This program is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License
#  as published by the Free Software Foundation; either version 2
#  of the License, or (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software Foundation,
#  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# ##### END GPL LICENSE BLOCK #####

# <pep8-80 compliant>

bl_info = {
    'name': 'Object Rename',
    'author': 'Oscurart, meta-androcto',
    'version': (0,1),
    'blender': (2, 5, 7),
    'api': 36810,
    'location': 'ToolShelf',
    'warning': '',
    'description': 'Rename Selected objects',
    'wiki_url': '',
    'tracker_url': '',
    'category': 'Object'}

import bpy
import math
import sys

class ReNameTools(bpy.types.Panel):
    bl_space_type = 'VIEW_3D'
    bl_region_type = 'TOOLS'
    bl_label = "Object Rename"


    def draw(self, context):
        active_obj = context.active_object
        layout = self.layout        
        col = layout.column(align=0)
        row = col.row()

        col.label("Rename tools:")   
        row = col.row(align=1)
        row.prop(bpy.context.scene,"RenameObject")
        row = col.row(align=1) 
        row.operator("object.rnm",icon="SHORTDISPLAY") 
        
        col.label("Select tools:")   
        row = col.row(align=1)                      
        row.prop(bpy.context.scene,"SearchSelect")
        row = col.row(align=1) 
        row.operator("object.sas",icon="ZOOM_SELECTED")
        

##------------------------ SEARCH AND SELECT ------------------------

## SETEO VARIABLE DE ENTORNO
bpy.types.Scene.SearchSelect = bpy.props.StringProperty(default="Type Here")


class SearchAndSelect(bpy.types.Operator):
    bl_idname = "object.sas"
    bl_label = "Search & Select"
    def execute(self, context): 
        for objeto in bpy.context.scene.objects:
            variableNombre = bpy.context.scene.SearchSelect
            if objeto.name.startswith(variableNombre) == True :
                objeto.select = 1
                print("Selecciona:" + str(objeto.name))
        return("FINISHED")

##-------------------------RENAME OBJECTS----------------------------------    

## CREO VARIABLE
bpy.types.Scene.RenameObject = bpy.props.StringProperty(default="Type here")

class renameObjects (bpy.types.Operator):
    bl_idname = "object.rnm"
    bl_label = "Rename Objects" 
    def execute(self,context):

        ## LISTA
        listaObj = bpy.context.selected_objects
        
        
        
        for objeto in listaObj:
            print (objeto.name)
            objeto.name = bpy.context.scene.RenameObject
        return("FINISHED")


def register():
    bpy.utils.register_module(__name__)
    pass


def unregister():
    bpy.utils.unregister_module(__name__)
    pass


if __name__ == "__main__":
    register()

I can use this to replace the old rename objects script that has been broken for sometime now.
Thanks. :slight_smile:
If you can drop in to irc freenode #blenderpython it would be good to have a chat.
I’ll do a wiki & tracker page for the object rename& put it into Contrib scripts right away :slight_smile:

Versión 1.9 is available now.
Thanks meta-androcto.

cool!

thankyou :slight_smile:

Useful Add-On, bruddah! Thanks!

Update 2.0 ------> fix api updates!

hi, there is a bug. i tried to use the resym tool with a simple sphere and this is the result.
thanks :slight_smile:


Hi res , yes, the sphere’s vertices aren’t X = 0. For this reason resym remove vertices.
Try with susanne model.

Select a vertex of sphere equal to 0 in x.
Run this script several times.
You can see how the vertex is moved in the axis and away to X



import bpy

bpy.ops.object.mode_set(mode='OBJECT', toggle=False)

for i in bpy.context.object.data.vertices:
    if i.select:
        print(i.index)        
        i.co=i.co*1.5
        print(i.co)


Update 2.1 ready for download.

HiRes, I fix this problem in current version.

Update 2.2 available.

New tools: Remove Modifiers && Apply modifiers… for selected objects.

http://4.bp.blogspot.com/-PfEnne2MZiI/ThOmZZPYoWI/AAAAAAAAAJg/8q8Vb9LMNAc/s1600/Selection_005.jpeg

thankyou !

I use your addon every day! :slight_smile:

I am just back from a small holiday … :frowning: … thank you for the update. :yes:

The update 2.5 is now available!

Update 2.6 NEW INTERFACE.

2.9 update! now in contrib. Thanks Meta Androcto!

Thank you for that very useful Script !

I have the following Error when I hit “All Scenes” in the “Render” Section:


Do you know what I do wrong ?
Tested with 2.62.0 r44136 and with 2.62.3 r45430 in both cases I got the same Error.

Kind regards and happy Easter ! :slight_smile:
Alain

I just found out, that when I just hit “Create Override List” then it works.

Kind regards