← Back to team overview

yade-users team mailing list archive

Re: Question about sweptPolylines2gtsSurface

 

> Sorry, fixed:
> 
> pts =
> [[Vector3(0,0,0),Vector3(1,0,0),Vector3(2,0,0),Vector3(2,1,0),Vector3(1,1,0),Vector3(0,1,0),Vector3(0,0,0)]]
> gtsSurf=pack.sweptPolylines2gtsSurface(pts,capStart=True,capEnd=True,threshold=1e-4)

Yes, you have to pass sequence of sequences of points (multiple
polylines comprised of multiple points each). But passing a single
polyline makes not much sense -- I think you realized that ;-)






Follow ups

References