#
extrude
Extrude a shape.
#
Parameters
- shapes : ShapeList
- list of shapes
- vector : array
- point to define vector from origo
#
See also
#
Examples
model2d.add_line([0,1],[0,3]) #Create line
a = model2d.select([0,0],[3,3],types=['edge'],option='green') #Select line shapes
model2d.extrude(a,vector=[5,0]) #Extrude to face
model3d.add_line(p0=[2,0,0],p1=[2,0,3]) #Create line
a = model3d.select([0,0,0],[5,5,5],types=['edge'],option='green') #Select line
model3d.extrude(a,vector=[2,0,0]) #Extrude to face
a = model3d.select([0,0,0],[5,5,5],types=['face'],option='green') #Select face
model3d.extrude(a,vector=[5,3,0]) #Extrude to volume