Skip to content

Instantly share code, notes, and snippets.

@EricTRocks
EricTRocks / createSpline.py
Created September 16, 2016 21:31
Create a Spline with Sub-Curves in 3dsMax 2017
import MaxPlus
p1 = MaxPlus.Point3(0, 0, 0)
p2 = MaxPlus.Point3(0, 30, 0)
p3 = MaxPlus.Point3(10, 30, 0)
p4 = MaxPlus.Point3(10, -20, 0)
obj = MaxPlus.Factory.CreateShapeObject(MaxPlus.ClassIds.SplineShape)
shape = MaxPlus.SplineShape__CastFrom(obj)