
anel de diamante 3d
import bpy import math # 메뉴 정리 bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete(use_global=False) # ======================= # 매개변수 # ======================= ring_radius = 8.65 band_thickness = 1.8 band_width = 1.8 # ======================= # 원 생성 # ======================= bpy.ops.mesh.primitive_torus_add( major_radius=ring_radius, minor_radius=band_width/2, 위치=(0,0,0) ) 링 = bpy.context.object 링.scale[2] = 밴드 두께 / 밴드 너비 # ====================== # 다이아몬드 (플레이스홀더) # ======================= bpy.ops.mesh.primitive_uv_sphere_add( 반지름=3, 위치=(0,0,4) ) 다이아몬드 = bpy.context.object 다이아몬드.scale = (9.44/10, 6.36/10, 0.5) # ====================== # 사피라 # ====================== bpy.ops.mesh.primitive_uv_sphere_add( 반지름=0.9, 위치=(0,0,2.5) ) # ======================= # GARRAS (6) # ======================= def create_prong(x,y,z): bpy.ops.mesh.primitive_cylinder_add( 반지름=0.
4K·Tripo H3.1