NicholasCureton

First Prompt

Nov 6th, 2026
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | Source Code | 0 0
  1. # Situation
  2. Currently running Live Blender session have opened a file from
  3. `/media/<username>/Red_SSD_1T/3D_Visualizations/2026_May_PSRP/01_Assets/Props/Rig_Researching.blend`.
  4. That file contain many armature objects. Focus on "Bird_Wing_Armature_Obj".
  5. "Bird_Wing_Armature_Obj" have 186 bones.
  6.  
  7.  
  8. # Mission
  9. Change rotation mode of all secondary feather root bones from quaternion to
  10. XYZ Euler. Currently, all secondary feather root bones are set to quaternion
  11. rotation mode. Add drivers to Secondary Feather Root Bones number 2-11.
  12. `SecondaryFeather1_Root.L` and `SecondaryFeather12_Root.L` local Z axis rotation
  13. will be driving all other `SecondaryFeather<N>_Root.L` bones local Z rotation.
  14.  
  15.  
  16. # Execution
  17.  
  18. #### Prerequisite
  19. Read
  20. - `~/SAI/docs/blender_mcp_minimal.md`
  21. - `~/SAI/scripts/bl_armature_demo.py`
  22. - `~/SAI/docs/bl_drivers_bone.md`
  23. - `~/SAI/scripts/set_bone_driver.py`
  24. - `~/SAI/docs/how_to_launch_blender_with_mcp_for_AI_agent.md`
  25.  
  26. Get child bones of `Ulna.L` bone but you must exclude `Metacarpus.L` and all
  27. child bones of `Metacarpus.L`. `Metacarpus.L` is one of the child bones of `Ulna.L`.
  28. `Ulna.L` bone have many child bones. Get child bones of `Ulna.L` but not all child bones.
  29. Only the child bones that start with `SecondaryFeather<N>_Root.L`. Why not get
  30. all child bones of `Ulna.L`? Not to waste tokens by reading unnecessary child bones.
  31.  
  32. There are 12 secondary feather root bones. Add drivers to secondary feather bones 2-11.
  33. Verify success by rotating SecF1 root and SecF12 root on local z, get other bones rotation.
  34. If other SecF2-11 rotate, it it success. Make sure timeline cursor is set to
  35. frame 1 before validating.
  36.  
  37. Driver should work like this.
  38. SecF1 root L -45 degree local Z rotation and SecF12 root L +45 degree should drive
  39. other SecF bones. All inbetween should interpolate rotation between SecF1, SecF12.
  40. Imagine if there are only 5 bones. SecF1, SecF2, SecF3, SecF4, SecF5.
  41. While SecF1 == +45 degree and SecF5 == -45 degree, SecF2 == +22.5, SecF3 == 0,
  42. SecF4 == -22.5 degree.
  43.  
  44. Prefer to work using mcp__blender with Live Blender GUI instance.
  45. Write thrown away script to `/tmp` and read back `await tool.read /path/to/file`.
  46. Do not write scripts inline. It is a waste to rewrite same code again and again.
  47. Saving code as file in `/tmp` and editing code is more efficient then rewriting
  48. inline code again and again.
  49.  
  50. MCP can crash Live running Blender due to script errors. If that happen,
  51. relaunch Live Blender. If still fail to launch, work headlessly by directly opening
  52. `Rig_Researching.blend` from script using bpy ops wm open main file API.
  53. Run script using `~/.blender-venv/bin/python <yourscript>.py`. That venv have
  54. `bpy` module installed. `bpy` module act like headless Blender.
  55.  
  56. `return` or `print` statement will not return result in mcp. Use `results`.
  57.  
  58.  
  59. # Scope
  60. You're authorized to use following directories.
  61.  
  62. Write Permissions.
  63. `/tmp` to write thrown away scripts file
  64.  
  65. `~/.blender-venv/bin/python` to run scripts.
  66.  
  67. Read Permissions.
  68. You're allow to read
  69. - All Prerequisite files
  70. - `~/b3d/*`
  71.  
  72. You are not authorized to read Blender Manual and Blender Python API files from
  73. other than `~/b3d/*`.
  74.  
  75. ---
  76.  
  77. Do you want to refine my prompt? If yes, say so.
  78. If you are going to ask questions,
  79. Say out loud the checklist before asking questions.
  80.  
  81. If you want to suggest something else, say so.
  82.  
  83. **Follow Protocols. Invoke, trigger relevant SKILLS. Say checklists out loud.**
Tags: llm
Advertisement
Add Comment
Please, Sign In to add comment