Hello all,
could you please help me?
I’m trying to create a ramp that consists of different tiles. Part of the assignment is to integrate python code. Lately I have succeeded to create a 3D surface of the ramp from a list of curves.
I can’t seem to do an extrusion of curves. Can anyone help?
Thanks~!
new grasshopperwithcode!.GH (24.1 KB)
BK3OV3 DIAGRAM_25.10_a.3dm (10.2 MB)
import rhinoscriptsyntax as rs
import Rhino.Geometry as rg
out = []
a = []
for crv in crvs:
print(crv)
templist = []
templist.append(crv)
patch = rg.Brep.CreatePatch(templist,None,0.1)
print(patch)
a.append(patch)
vector = rg.Vector3d(0, 0, 400)
Extr = rg.Extrusion.Create(crv, 4000, False)
out. append(Extr)
2 posts - 2 participants