Form and Space

creating CG 3D since 2001

  • Connect @
  • Linked in
  • Vimeo
  • Twitter

Illustrator File to 3D – Extract All Subcurves

Matthew | May 29, 2010

No Comments

I’m working on a logo for a local singing group (which I’ll talk about more in the future), and I was frustrated with extracting one curve at a time from the .EPS import from Adobe Illustrator.  So, I made a small tool to extract all the subcurves from a curve.  Again, this is really handy if you’re importing designs from AI for use in Softimage.

To use this, copy and paste the code below into the Script Editor, select your curve, and run.

var oSel = Application.Selection(0);
var oSelName = oSel.FullName;
var oAP = oSel.ActivePrimitive.Geometry;
var oCrvCount = oAP.Curves.Count;
for(i=0; i < oCrvCount; i++)
oSelName +”.subcrv[“+ i +”]”, “crv_0″+i);

Leave a Reply