[OT] hpgl project
- Posted by JerryStory Aug 16, 2008
- 1068 views
This has nothing to do with Euphoria except it is a programming challenge and a possible project for someone who is looking for a project. After struggling with this project for some time, I reached the conclusion that it is probably beyond my ability. It is more difficult than it looks.
hpgl is Hewlett-Packard Graphics Language. Read about it on wiki. http://en.wikipedia.org/wiki/HPGL
The idea is to make a program that takes a .hpgl file and makes a .hpgl of part of it. So it looks something like this.
$ hpgl-part sample.hpgl x1 y1 x2 y2 sample-part.hpgl
x1, y1, x2, y2 are the boundaries.
The reason why this program is wanted is it's for a vinyl cutter and the picture is too big to cut the whole thing at once and so it has to be cut in parts.
This turned out to be a more difficult project than I expected. Can anyone figure out how to do it?
Here is where this project came from. http://bobstory.fortunecity.com/vinylcutter.html