Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment