
anel de diamante 3d
import bpy import math # Auswahl der Werte bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete(use_global=False) # ====================== # PARAMETER # ====================== ring_radius = 8.65 band_thickness = 1.8 band_width = 1.8 # ====================== # Torus erstellen # ====================== bpy.ops.mesh.primitive_torus_add( major_radius=ring_radius, minor_radius=band_width/2, Position=(0,0,0) ) Ring = bpy.context.object Ring.Skalierung[2] = Banddicke / Bandbreite # ====================== # DIAMANT (Platzhalter) # ====================== bpy.ops.mesh.primitive_uv_sphere_add( Radius=3, Position=(0,0,4) ) Diamant = bpy.context.object Diamant.Skalierung = (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