2023年7月25日火曜日

20230727 bbb My traincar XY平面 列車

 











Z=1 の 平面に 球体を作る

球体半径 0.1


x=0 の 

y=-1 から y=+1に

等間隔で 11個


import bpy


# Parameters for the spheres

radius = 0.1

y_min = -1

y_max = 1

num_spheres = 11


# Create spheres along the y-axis with equal spacing

for i in range(num_spheres):

    y_position = y_min + (y_max - y_min) * i / (num_spheres - 1)

    bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(0, y_position, 1))







Z=-1 の 平面に 球体を作る

球体半径 0.1


x=0 の 

y=-1 から y=+1に

等間隔で 11個


import bpy


# Parameters for the spheres

radius = 0.1

y_min = -1

y_max = 1

num_spheres = 11


# Create spheres along the y-axis with equal spacing

for i in range(num_spheres):

    y_position = y_min + (y_max - y_min) * i / (num_spheres - 1)

    bpy.ops.mesh.primitive_uv_sphere_add(radius=radius, location=(0, y_position, -1))






立方体にして

Z=0の 平面に作って

立方体 サイズ 0.18


import bpy


# Parameters for the cubes

size = 0.18

y_min = -1

y_max = 1

num_cubes = 11


# Create cubes along the y-axis with equal spacing

for i in range(num_cubes):

    y_position = y_min + (y_max - y_min) * i / (num_cubes - 1)

    bpy.ops.mesh.primitive_cube_add(size=size, location=(0, y_position, 0))









立方体 サイズを 0.1にする

import bpy

# Parameters for the cubes
size = 0.1
y_min = -1
y_max = 1
num_cubes = 11

# Create cubes along the y-axis with equal spacing
for i in range(num_cubes):
    y_position = y_min + (y_max - y_min) * i / (num_cubes - 1)
    bpy.ops.mesh.primitive_cube_add(size=size, location=(0, y_position, 0))






https://emuseum.nyhistory.org/objects/22701/toy-train-car-bogie-open-wagon;jsessionid=8E3EE35A6BF422C917B00AFC7C04BB16


Bogie open wagon

https://www.google.com/search?q=Bogie+open+wagon&rlz=1C1TKQJ_jaJP1038JP1038&sourceid=chrome&ie=UTF-8



Bogiesとは何ですか?

《bogie》二軸四輪などの台車二組の上に車体を載せた鉄道車両。 各台車は別々に回転するため、線路のカーブを容易に通過できる。

https://www.google.com/search?q=bogie+%E6%84%8F%E5%91%B3&rlz=1C1TKQJ_jaJP1038JP1038&sxsrf=AB5stBhVjJgPwVnMTtfGMn2QeD57_A1-aw%3A1690344420258&ei=5JvAZMavD8H5hwPktrDACg&oq=Bogie+&gs_lp=Egxnd3Mtd2l6LXNlcnAiBkJvZ2llICoCCAEyBBAjGCcyBRAAGIAEMgcQABiKBRhDMgUQABiABDIHEAAYgAQYCjINEAAYgAQYsQMYgwEYCjINEAAYgAQYsQMYgwEYCjIHEAAYgAQYCjIHEAAYgAQYCjIHEAAYgAQYCkjuH1CoBFj2D3ABeAGQAQCYAXagAZkHqgEDOC4yuAEByAEA-AEBwgIKEAAYRxjWBBiwA8ICBhAAGAgYHsICCBAAGIAEGMsBwgIGEAAYHhgPwgIIEAAYHhgPGArCAgYQABgFGB7iAwQYACBBiAYBkAYF&sclient=gws-wiz-serp






https://www.youtube.com/watch?v=j1URC2G2qnc