2D Pattern Design in Rhino 6 using Edit Python Script (Tutorial 1)

preview_player
Показать описание
Find the code below

==================================================
import rhinoscriptsyntax as rs
import random
import math

step = 0
for i in range(0,41):

pt1 = (5+step,5,0)
pt2 = (5+step,45,0)

pt3 = (5,5+step,0)
pt4 = (45,5+step,0)

rs.AddLine(pt1,pt2)
rs.AddLine(pt3,pt4)
rs.AddLine(pt1,pt4)
rs.AddLine(pt2,pt3)
step = step+1

point = []
c=pow(2,0.5)
z= 0
pt = (x,y,z)

rs.AddCurve(point)
=====================================================
Rose Petal or Retina Design
Рекомендации по теме
join shbcf.ru