import bpy
# List of collection names
collection_names = [
"My +1", "My 0_level ","My -1"
]
# Function to create a new collection
def create_collection(name):
collection = bpy.data.collections.new(name)
bpy.context.scene.collection.children.link(collection)
return collection
# Create collections
for name in collection_names:
create_collection(name)
import bpy
# List of collection names
collection_names = [
"My upper", "My upper","5", "√3", "1", "球体中心", "観察者"
]
# Function to create a new collection
def create_collection(name):
collection = bpy.data.collections.new(name)
bpy.context.scene.collection.children.link(collection)
return collection
# Create collections
for name in collection_names:
create_collection(name)
import bpy
# List of collection names
collection_names = [
"5", "√3", "1", "球体中心", "観察者"
]
# Function to create a new collection
def create_collection(name):
collection = bpy.data.collections.new(name)
bpy.context.scene.collection.children.link(collection)
return collection
# Create collections
for name in collection_names:
create_collection(name)