Hello

Here is what I’m trying to do:

1.make some small circle but in different height.

2.make some different size circle but in same height.

3.two different kind circle loft.

I don’t know how to make every circle can be loft.

and here is the code:

import rhinoscriptsyntax as rs

import random as ran

#import value for imax and jmax

imax = rs.GetInteger(‘input an int’, 30)

jmax = rs.GetInteger(‘input an int’, 30)

gmax = rs.GetInteger(‘input an int’, 30)

vmax = rs.GetInteger(‘input an int’, 30)

ptList =

ptList2 =

for i in range(imax):

for j in range(jmax):

x = i #+ ran.randint(1,3)

y = j #+ ran.randint(1,3)

z = ran.uniform(0.2,0.4)

```
ptList.append((x,y,z))
```

for i in range(len(ptList)):

radius = 0.1 #ran.uniform(0.2,0.5)

frontCrv = rs.AddCircle(ptList[i], radius)

for g in range(gmax):

for v in range(vmax):

x = g

y = v

z = 0.3

```
ptList2.append((x,y,z))
```

for g in range(len(ptList)):

radius2 = ran.uniform(0.2,0.5)

backCrv = rs.AddCircle(ptList2[g], radius2)

```
#rs.AddLoftSrf([frontCrv, backCrv])
```