๐งต Untitled Thread
Anonymous at Fri, 9 Dec 2022 13:58:53 UTC No. 929061
greetings t/3/apots,
have any of you got on the chat gpt bandwagon yet?
Anonymous at Fri, 9 Dec 2022 14:01:07 UTC No. 929062
import bpy
import math
#set the x and y positions to 0
x_pos = 0
y_pos = 0
#set the amplitude and frequency of the sin wave
amp = 5
freq = 1
#loop through 100 cubes
for i in range(100):
#create a new cube
bpy.ops.mesh.primitive_cube_add(loc
#update the y position using the sin function
y_pos = amp * math.sin(freq * x_pos)
#increment the x position
x_pos += 0.1
#update the viewport
#bpy.ops.wm.redraw_timer(type='DRAW
Anonymous at Fri, 9 Dec 2022 14:51:05 UTC No. 929065
>>929061
the proper term is /3/rd worlder
Anonymous at Fri, 9 Dec 2022 20:27:38 UTC No. 929084
>>929061
Can't maxscript and wathever maya uses do the same?
Anonymous at Fri, 9 Dec 2022 21:20:13 UTC No. 929085
>>929061
Did chatgpt actually print the bpy.ops.mesh.primitive_cube_add line, or did you have to look it up?
Anonymous at Sat, 10 Dec 2022 18:15:22 UTC No. 929204
>>929085
it actually printed that line, i still had to make a few adjustments