gpt-3.5-turbo-0125· OpenAI
WildChat-4.8M (AI2)
make me a blender python script to make some objects
- User
make me a blender python script to make some objects
- Assistant
Here is a simple Blender Python script that will create four different objects in the scene.
import bpy # Add a cube bpy.ops.mesh.primitive_cube_add(location=(0, 0, 0)) # Add a sphere bpy.ops.mesh.primitive_uv_sphere_add(location=(2, 0, 0)) # Add a cylinder bpy.ops.mesh.primitive_cylinder_add(location=(0, 2, 0)) # Add a cone bpy.ops.mesh.primitive_cone_add(location=(2, 2, 0))Just copy and paste this code into Blender's Scripting tab, then press the Run Script button to create the objects in the scene. Feel free to modify the script to add more objects or customize their properties.