【Blender機能】Blenderの「Add」機能について

Blender

こちらはBlenderの「Add」機能についての記事となっております。

Add Function (Shift + A)

Add Mesh

UV Sphere

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [UV Sphere]
Script:bpy.ops.mesh.primitive_uv_sphere_add()

bpy.ops.mesh.primitive_uv_sphere_add(
segments=32, 
ring_count=16, 
radius=1.0, 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)
segmentsint [default: 32]int [default: 32]
ring_countint [default: 16]分割数(横)
radiusfloat [default: 1.0]球の半径

Ico Sphere

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Ico Sphere]
Script:bpy.ops.mesh.primitive_ico_sphere_add()

bpy.ops.mesh.primitive_ico_sphere_add(
subdivisions=2, 
radius=1.0, 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Cube

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Cube]
Script:bpy.ops.mesh.primitive_cube_add()

bpy.ops.mesh.primitive_cube_add(
size=2.0, 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Cylinder

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Cylinder]
Script:bpy.ops.mesh.primitive_cylinder_add()

bpy.ops.mesh.primitive_cylinder_add(
vertices=32, 
radius=1.0, 
depth=2.0, 
end_fill_type='NGON', 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Cone

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Cone]
Script:bpy.ops.mesh.primitive_cone_add()

bpy.ops.mesh.primitive_cone_add(
vertices=32, 
radius1=1.0, 
radius2=0.0, 
depth=2.0, 
end_fill_type='NGON', 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Torus

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Torus]
Script:bpy.ops.mesh.primitive_torus_add()

bpy.ops.mesh.primitive_torus_add(
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
major_segments=48, 
minor_segments=12, 
mode='MAJOR_MINOR', 
major_radius=1.0, 
minor_radius=0.25, 
abso_major_rad=1.25, 
abso_minor_rad=0.75, 
generate_uvs=True
)

Plane

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Plane]
Script:bpy.ops.mesh.primitive_plane_add()

bpy.ops.mesh.primitive_plane_add(
size=2.0, 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Circle

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Circle]
Script:bpy.ops.mesh.primitive_circle_add()

bpy.ops.mesh.primitive_circle_add(
vertices=32, 
radius=1.0, 
fill_type='NOTHING', 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Grid

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Grid]
Script:bpy.ops.mesh.primitive_grid_add()

bpy.ops.mesh.primitive_grid_add(
x_subdivisions=10, 
y_subdivisions=10, 
size=2.0, 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Monkey

Manual:[3D Viewport] >> [Add] >> [Mesh] >> [Monkey]
Script:bpy.ops.mesh.primitive_monkey_add()

bpy.ops.mesh.primitive_monkey_add(
size=2.0, 
calc_uvs=True, 
enter_editmode=False, 
align='WORLD', 
location=(0.0, 0.0, 0.0), 
rotation=(0.0, 0.0, 0.0), 
scale=(0.0, 0.0, 0.0)
)

Work in Progress

Add Curve

Bezier Curve

Manual:[3D Viewport] >> [Add] >> [Curve] >> [Bezier]
Script:bpy.ops.curve.primitive_bezier_curve_add()

Bezier Circle

Manual:[3D Viewport] >> [Add] >> [Curve] >> [Circle]
Script:bpy.ops.curve.primitive_bezier_circle_add()

Nurbs Curve

Manual:[3D Viewport] >> [Add] >> [Curve] >> [Nurbs Curve]
Script:bpy.ops.curve.primitive_nurbs_curve_add()

Nurbs Circle

Manual:[3D Viewport] >> [Add] >> [Curve] >> [Nurbs Circle]
Script:bpy.ops.curve.primitive_nurbs_circle_add()

Nurbs Path

Manual:[3D Viewport] >> [Add] >> [Curve] >> [Path]
Script:bpy.ops.curve.primitive_nurbs_path_add()

Add Text

Text

Add Empty

Plain Axes

Arrows

Single Arrow

Circle

Sphere

Cube

Cone

Add Light

Area

Point

Spot

Sun

Add Camera

Camera