I'm trying to scale down a copy that would be 75% smaller. However, when I execute my code, the copy becomes not smaller but opposite, bigger.
import bpy
reads selected object data
objektas = bpy.context.object
for loop index
i = 0
vertices data
v = objektas.data.vertices
if objektas.type == 'MESH':
for i in range(len(v)):
for v in objektas.data.vertices:
v.co += (0.75 * v.normal)
Cube = bpy.data.objects.new('Cube', objektas.data)
bpy.data.collections["Collection"].objects.link(Cube)
+sign inv.co += (0.75 * v.normal)you should consider that normal vectors are unit vectors. you should usev.co *= 0.75instead – MohammadHossein Jamshidi Dec 09 '20 at 15:42cube = context.object.copy()thencube.scale *= 0.75– batFINGER Dec 09 '20 at 16:16