Script: obtain parameters from other commands/script

 From:  pressure (PEER)
10900.7 In reply to 10900.5 
Hi Michele,

Are you maybe trying to do something like prepare artwork for CAM like for a laser engraver, vinyl plotter, or CNC router? Do you want to engrave/route/plot a line drawing of a 3D model?

You probably already know all of this, but just in case: There's a plugin for Illustrator that's good for removing short lines and there's a macro for CorelDraw http://makerspacemobile.org/wiki/index.php/GCC_Venus for removing duplicate lines, though I don't have experience with that macro.

Have you considered saving the AI / SVG / PDF output as a high resolution bitmap and then vectorizing (tracing) the bitmap in Corel or Illustrator?

Nice script by the way! Looks quite advanced :)

- Peer