This thread will act as a place for me to post and share some scripts I've been working on in blender. These scripts are not designed to work as standalone addons. I use Pie Menu Editor to execute my scripts. For more information:
Download my Scripts: https://github.com/JacRossiter/Jaks_Blender_Scripts
Bevel WeightsSet Bevel Weight.py
Sets the selected edges to a bevel weight of 1Remove Bevel Weight.py
Sets the selected edges to a bevel weight of 0
fill_modal.py and connect_merge_modal.py
Connects and Merges in a similar fashion to mayas merge vert tool.Fill_Modal.py
Uses f2 and Smart Fill Addons(https://gumroad.com/l/Blender_addons_smart_fill
Huge Thanks to @Stromberg90
for the original code.
Use "bpy.ops.object.smart_fill_tool_raycast('INVOKE_DEFAULT', True)" as the command to call this in pie menu editor.
ModifiersApply Mirror Modifier.py
Apply any existing mirror modifiers to all objects selected.Apply Bevel Modifier.py
Apply any existing Bevel modifiers to all objects selected. Subdivision by Name
Adds/Sets subdivision modifier to have the same number of levels as defined by '_subd' in the object name. For example putting '_sub1' inside the name will result in a subdivision level of 1. Works for all selected objects.
Rename ToolsDefine Highpoly Meshes.py
This script allows users to quickly and efficiently match lowpoly objects with their highpoly counterparts. This is created with Substance Painter in mind.
Select two or more objects, and execute. One mesh must have the Suffix '_low'. The objects without '_low' will be renamed to have the same name as the '_low' object with the exceptions that an '_high.001' suffix will take the place or '_low'.Remove Suffix.py
With one click remove either '_low' or '_high' for the objects name.Rename_MeshData.py
With one click rename all selected object's mesh data with the object name with the added suffix '_SHAPE'. This script was created to allow blender objects to easily fit within a maya pipeline.Replace Dot with LowerScore.py
This script will replace the objects numbering. For example, cube.0001 will become cube_0001.
Add seam and unwrap.py
Macro for adding marking seam/sharp and unwrapping the mesh. Uses Hard Ops to display a thumbnail of the new UVs
Add UV Grid.py
Remove seam and unwrap.py
Macro for Removing seam/sharp and unwrapping the mesh. Uses Hard Ops to display a thumbnail of the new UVs
Adds and renders a UV Grid to all selected objects, ideal for visualising an Unwrap and checking for any stretching.
Increase UV Grid Tiling
Will increase the UV Grid's tiling. This will be on a per object basis.
Decrease UV Grid Tiling
Will Decrease the UV Grid's tiling. This will be on a per object basis.
There is also an alternate version named 'Delete_Extra_UVs_Vers2.py' courtesy of @Duur
. This version is more elegant however both seem to produce the same result.
Selection ToolsFind NGons.py/Find Triangles.py
Will toggle wireframe mode for all selected objects. Will also enable 'Show all edges' so that the wireframe is fully rendering.
I got a few requests so here's my custom theme https://github.com/JacRossiter/Jaks_Blender_Scripts/blob/master/Theme/jakro_2018_1.xml