MCPcopy Create free account
hub / github.com/openai/point-e / clear_lights

Function clear_lights

point_e/evals/scripts/blender_script.py:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39
40def clear_lights():
41 bpy.ops.object.select_all(action="DESELECT")
42 for obj in bpy.context.scene.objects.values():
43 if isinstance(obj.data, bpy.types.Light):
44 obj.select_set(True)
45 bpy.ops.object.delete()
46
47
48def import_model(path):

Callers 3

create_random_lightsFunction · 0.85
create_camera_lightFunction · 0.85
create_uniform_lightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected