PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
Chat - GPT-4o (gpt-4o)
Token size
32 ($0.00160 / call)
Example input
[Write a Blender add-on that creates a new panel in the 3D Viewport with buttons to move, rotate, and scale the selected object.]: Write a Blender add-on in Python that adds a new operator to the "Object" menu, allowing users to move the selected object along the X-axis by 1 unit.
Example output
bl_info = { "name": "Move Object X+1", "blender": (3, 0, 0), "category": "Object" } import bpy class MoveObjectXOperator(bpy.types.Operator): bl_idname = "object.move_x_operator" bl_label = "Move Object +1 on X" bl_description = "Moves the selected object by 1 unit along the X-axis" def execute(self, context): if context.object: context.object.location.x += 1 return {'FINISHED'} def menu_func(self, context): self.layout.operator(MoveObjectXOperator.bl_idname) def register(): bpy.utils.register_class(MoveObjectXOperator) bpy.types.VIEW3D_MT_object.append(menu_func) def unregister(): bpy.utils.unregister_class(MoveObjectXOperator) bpy.types.VIEW3D_MT_object.remove(menu_func) if __name__ == "__main__": register()
🤖 GPT

Python Script For Blende Addon

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
GPT-4O
Tested icon
Guide icon
4 examples icon
Free credits icon
Blender Add-on Python Prompt Pack This pack contains four ready-to-use Python prompts for creating Blender add-ons that automate tasks and improve workflow efficiency. What’s Included? ✔ Move Object Operator – Adds a menu option to move an object +1 unit along the X-axis. ✔ Quick Transform Panel – Creates a UI panel with Move, Rotate, and Scale buttons for quick edits. ✔ Procedural Cube Generator – Adds a new option to instantly create a cube with a set size.
...more
Added over 1 month ago
Report
Browse Marketplace