Image not available

2450x1182

Screenshot 2022-1....png

๐Ÿงต Untitled Thread

Anonymous No. 929061

greetings t/3/apots,
have any of you got on the chat gpt bandwagon yet?

Anonymous 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(location=(x_pos, y_pos, 0))
#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_WIN_SWAP', iterations=1)

Anonymous No. 929065

>>929061
the proper term is /3/rd worlder

Anonymous No. 929084

>>929061
Can't maxscript and wathever maya uses do the same?

Anonymous No. 929085

>>929061
Did chatgpt actually print the bpy.ops.mesh.primitive_cube_add line, or did you have to look it up?

Anonymous No. 929204

>>929085
it actually printed that line, i still had to make a few adjustments

Image not available

1022x1352

chatgpt.png

Anonymous No. 929748

its pretty cool do simple things without knowing how to program