Its been a while, I sorta let this problem get dusty. I'm working on it again, this time in Java (seems easier to get what I want done). If there already is some easy way to export all the cells in a library as a png, for example, I'd appreciate knowing. There may still be a problem with images being drawn directly from the screen; I'd like to avoid cycling all the cells, even programmatically, to do image exports.
If I come up with a fix, I'd like to contribute back to the community, I think better reporting skills would benefit the program. My biggest question currently would be what sort of gui form it would be acceptable to utilize. Electric seems to be mainly done in Netbeans; If I were to use another toolkit for graphical layout management, would it be acceptable. I was rather hoping not to download Netbeans ... again ... after having uninstalled it. On Tuesday, September 20, 2011 2:49:11 AM UTC-4, smaudet wrote: > > Trying to write a quick Beanshell/Jython script to print all the cells > in a library to png files. > > Odd thing is it seems the best way to do this is by using classes in > the com.sun.electric.tools.ui package, which seem to define a bunch of > private internal classes just to draw some stuff on a 2D/3D canvas and > render an image out. > > Is there perhaps a more straightforward, sane route to take? I suppose > I might have better luck with PostScript output, and just write a bash > script to do ps to png conversion...though it seemed like even that > was un-necessarily complex as it needed a bunch of VarContext stuff, > which, having just jumped into the source, I don't have a clue what > they are, or where to get one (properly). > > Just looking for pointers, I might come up with a solution myself. -- You received this message because you are subscribed to the Google Groups "Electric VLSI Editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/electricvlsi/-/9ynnLNwMUVUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/electricvlsi?hl=en.
