Here's what I wanted to do:
- traverse the entities; sort them by layer
- for each layer, visit all the entities of that layer; join lines, etc. Print out everything.
Here's what actually happens:
- traverse the entities; sort them by layer name (layers themselves are deleted or something after you visit them)
- for each layer, visit all the entities of that layer; print out everything.
- Crash horribly.
I could work on this converter more until I got around DIME's misbehavior, but for the time being I'll live with it. I've already spent too much time tweaking the converter -- this close to deadline, polish goes on the important stuff, not the tools.
Ethan