Assumed Plane の 球体群
blender python
Y=0 の平面に
球体を作る
球体半径 0.1
x=-5から+5
Z=-5から+5の
交点に 作る
# Y=0 平面の 同時性
import bpy
# Parameters for the spheres
radius = 0.1
x_min = -5
x_max = 5
z_min = -5
z_max = 5
# Create spheres at the intersection points
for x in range(x_min, x_max + 1):
for z in range(z_min, z_max + 1):
bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(x, 0, z))
# Y=1 平面の 同時性
import bpy
# Parameters for the spheres
radius = 0.1
x_min = -5
x_max = 5
z_min = -5
z_max = 5
# Create spheres at the intersection points
for x in range(x_min, x_max + 1):
for z in range(z_min, z_max + 1):
bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(x, 1, z))
# Y=5 平面の 同時性
import bpy
# Parameters for the spheres
radius = 0.1
x_min = -5
x_max = 5
z_min = -5
z_max = 5
# Create spheres at the intersection points
for x in range(x_min, x_max + 1):
for z in range(z_min, z_max + 1):
bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(x, 5, z))
# Y=root 3 平面の 同時性
import bpy
# Parameters for the spheres
radius = 0.1
x_min = -5
x_max = 5
z_min = -5
z_max = 5
# Create spheres at the intersection points
for x in range(x_min, x_max + 1):
for z in range(z_min, z_max + 1):
bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(x, 3 ** 0.5, z))
# Y=2 平面の 同時性
import bpy
# Parameters for the spheres
radius = 0.1
x_min = -5
x_max = 5
z_min = -5
z_max = 5
# Create spheres at the intersection points
for x in range(x_min, x_max + 1):
for z in range(z_min, z_max + 1):
bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(x, 2, z))
# Y=5 平面の 同時性
import bpy
# Parameters for the spheres
radius = 0.1
x_min = -5
x_max = 5
z_min = -5
z_max = 5
# Create spheres at the intersection points
for x in range(x_min, x_max + 1):
for z in range(z_min, z_max + 1):
bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(x, 10, z))
あ