ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
Thank you! And maybe code below helps you others.import rhinoscriptsyntax as rsimport mathdef torus_knot(p, q, radius, height, n_points): points = [] for i in range(n_points): t = 2 * math.pi * i / n_points x = (radius + height * math.cos(q * t)) * math.cos(p * t) y = (radius + height * math.cos(q * t)) * math.sin(p * t) z = height * math.sin(q * t) points.append([x, y, z]) return pointspoints = torus_knot(3, 4, 10, 5, 50)pts = []for point in points: pt = rs.AddPoint(point) pts.append(pt)
Thank you Andy Yen Lin Lee
thumbs up with two hands 👍👍
The python code was generated by ChatGPT, but the dialogue & audio are also all generated by it. You can tell because at 4:30 it mentions "patterns" related to fabric/garment. I wouldn't be surprised if the comments were from bots too.
that makes you a bot
Great insight thank you
Thank you alexander yogatama
Great tutorial, thanks for sharing!
Thank you Vladislav Smirnov👍♥
amazing!!!
Thank you きくきく
Nice
Thank you Abdulaziz Alabdulwahab
Thank you! And maybe code below helps you others.
import rhinoscriptsyntax as rs
import math
def torus_knot(p, q, radius, height, n_points):
points = []
for i in range(n_points):
t = 2 * math.pi * i / n_points
x = (radius + height * math.cos(q * t)) * math.cos(p * t)
y = (radius + height * math.cos(q * t)) * math.sin(p * t)
z = height * math.sin(q * t)
points.append([x, y, z])
return points
points = torus_knot(3, 4, 10, 5, 50)
pts = []
for point in points:
pt = rs.AddPoint(point)
pts.append(pt)
Thank you Andy Yen Lin Lee
thumbs up with two hands 👍👍
The python code was generated by ChatGPT, but the dialogue & audio are also all generated by it. You can tell because at 4:30 it mentions "patterns" related to fabric/garment. I wouldn't be surprised if the comments were from bots too.
that makes you a bot
Great insight thank you
Thank you alexander yogatama
Great tutorial, thanks for sharing!
Thank you Vladislav Smirnov👍♥
amazing!!!
Thank you きくきく
Nice
Thank you Abdulaziz Alabdulwahab