
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, location=(0,0,0) ) ring = bpy.context.object ring.scale[2] = band_thickness / band_width # ====================== # DIAMANTE (placeholder) # ====================== bpy.ops.mesh.primitive_uv_sphere_add( radius=3, location=(0,0,4) ) diamond = bpy.context.object diamond.scale = (9.44/10, 6.36/10, 0.5) # ====================== # SAFIRA # ====================== bpy.ops.mesh.primitive_uv_sphere_add( radius=0.9, location=(0,0,2.5) ) # ====================== # GARRAS (6) # ====================== def create_prong(x,y,z): bpy.ops.mesh.primitive_cylinder_add( radius=0.
4K·Tripo H3.1