We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › download ai-Export Library
Page Index Toggle Pages: 1
download ai-Export Library (Read 1823 times)
download ai-Export Library
Jan 4th, 2007, 12:13am
 
hi,
does somebody know, where i could download the
Adobe Illustrator Export Library?
Both webpages of the authors Allan William Martin & Mark Hill seem to be down...

thx,
paul

Re: download ai-Export Library
Reply #1 - Jan 4th, 2007, 12:59pm
 
PDF Library does exactly the same thing but easier doesn't it?

http://processing.org/reference/libraries/pdf/index.html
Re: download ai-Export Library
Reply #2 - Jan 9th, 2007, 3:52pm
 
ah, you're right!

thx,
paul
Re: download ai-Export Library
Reply #3 - Jan 11th, 2007, 1:06pm
 
hmmm... pdf export works very well.

but i need to be able to edit the files in illustrator.
when i open the generated pdf in ai all shapes are in the same layer. that makes working with the file quite difficult for me. is there a possibility to get more "edit-friendly" vector-files from my sketch?

paul
Re: download ai-Export Library
Reply #4 - Jan 11th, 2007, 2:24pm
 
Layer support doesn't yet exist as far as I know. I would suggest exporting the layers as different files. You can set absolute positions for the clipping masks when you load them in to your master file.

I used to use AIExport a lot, but it did become a real pain in the end.
Re: download ai-Export Library
Reply #5 - Jan 30th, 2007, 11:04am
 
I've the the same problem of Paul, broken link for the Adobe Illustrator Export Library. I'm exporting in PDF but now I need to edit vectors exported, so I think that the AI library is what I need. Can anyone tell me where can I find it? Already searched in Google, and nothing.....
Thanks a lot Smiley
Re: download ai-Export Library
Reply #6 - Jan 30th, 2007, 3:36pm
 
So you need .ai files so you can edit them in Illustrator right?

Here's a tip that may solve your problem and will also be invaluable when taking vector files to a printer without worrying about what version of Illy they have.

-> Illustrator can save and load pdf files <-

I might sound a bit snarky, but I've used AIExport more than most and on the whole it's buggy, you can only use it in P3D and the only thing you can't do with pdf that you can do with AIExport is layers or give yourself a chronic headache.

I have a lot of respect for the work gone into AIExport. But using it nowadays is just making life hard on yourself for no reason.
Re: download ai-Export Library
Reply #7 - Jan 30th, 2007, 6:28pm
 
Argh....
It's true Smiley
shame on me.... Sorry but i'm not an expert on Illustrator, I downloaded the Demo version just to the try AI export. I was opening PDFs with Photoshop.
Thanks a lot
Re: download ai-Export Library
Reply #8 - Jan 30th, 2007, 10:40pm
 
itext, which is the basis for pdf export, has layers. these are showing up inside the pdf, but not in illustrator. here's an example:

Code:

// http://itext.ugent.be/library/api/
//
// http://itextdocs.lowagie.com/examples/com/lowagie/examples/objects/bookmarks/Layers.java
//

import processing.opengl.*;
import processing.pdf.*;

import com.lowagie.text.*;
import com.lowagie.text.pdf.*;


void setup() {
size(600, 600, OPENGL);
frameRate(5);
background(255);
}

void draw() {

PGraphicsPDF pdf=(PGraphicsPDF)beginRaw(PDF, "pdf_####.pdf");

PdfContentByte cb = ((PdfGraphics2D)(pdf.g2)).getContent();
PdfWriter writer = cb.getPdfWriter();

pdf.strokeJoin(MITER);
pdf.strokeCap(SQUARE);
pdf.fill(255);
pdf.noStroke();
pdf.rect(0,0, width,height);

rect( random(width/2), random(height/2), random(width), random(height) );

// these will show up in the pdf, but not in illustrator ...
//
PdfLayer l1 = new PdfLayer("Layer 1", writer);
PdfLayer l2 = new PdfLayer("Layer 2", writer);
PdfLayer l3 = new PdfLayer("Layer 3", writer);
PdfLayerMembership m1 = new PdfLayerMembership(writer);
m1.addMember(l2);
m1.addMember(l3);

cb.beginLayer(l1);
fill( 0xFFFF0000 );
rect( random(width/2), random(height/2), random(width), random(height) );
cb.endLayer();

cb.beginLayer(m1);
fill( 0xFF00FF00 );
rect( random(width/2), random(height/2), random(width), random(height) );
cb.endLayer();

cb.beginLayer(l3);
fill( 0xFF0000FF );
rect( random(width/2), random(height/2), random(width), random(height) );
cb.endLayer();

endRaw();
}


F
Page Index Toggle Pages: 1