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:
https://youtu.be/vc9TFRFXn4EDownload my Scripts:
https://github.com/JacRossiter/Jaks_Blender_ScriptsFinished Scripts
Bevel Weights
Set Bevel Weight.pySets the selected edges to a bevel weight of 1
Remove Bevel Weight.pySets the selected edges to a bevel weight of 0
fill_modal.py and connect_merge_modal.py
Modal Tools
Connect_Merge_Modal.pyConnects 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.
https://youtu.be/txgVHaYdBmwModifiers
Apply Mirror Modifier.pyApply any existing mirror modifiers to all objects selected.
Apply Bevel Modifier.pyApply any existing Bevel modifiers to all objects selected.
Subdivision by NameAdds/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.
https://youtu.be/mAQUggTaTncRename Tools
Define 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.pyWith 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.pyThis script will replace the objects numbering. For example, cube.0001 will become cube_0001.
UV Tools
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
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
Add UV Grid.py
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.
Delete_Extra_UVs.pyhttps://youtu.be/fM-Q4Nm8W1oThere 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 Tools
Find NGons.py/Find Triangles.pyhttps://youtu.be/nfZNOD_5gv4Viewport
Toggle Wireframe.pyWill toggle wireframe mode for all selected objects. Will also enable 'Show all edges' so that the wireframe is fully rendering.
Theme
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 **Download**
Replies
https://youtu.be/mAQUggTaTnc
https://www.youtube.com/watch?v=txgVHaYdBmw&feature=youtu.be
Again thank you for your work on these scripts, iv never scripted myself but have massive respect for people that can. Nice to meet a fellow Jack, its the best name
https://youtu.be/FigudxMnKtE
https://github.com/JacRossiter/Jaks_Blender_Scripts/tree/master/Vertex Color
How do I bind that to a hotkey? I can only seem to activate it through the spacebar search.
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.
It is suported?