📅  最后修改于: 2022-03-11 14:47:18.459000             🧑  作者: Mango
import clr
clr.AddReference('ProtoGeometry')
import Autodesk.DesignScript.Geometry
a = IN[0]
if isinstance(a, list):
a = a
else: a = [a]
e = []
for i in a:
e.append(Autodesk.DesignScript.Geometry.Curve.Offset(i,0))
OUT = e