If you want to do a lot of quick drawing in 3D, I would suggest looking in 3D rendering, such as OpenGL / JOGL.
If it's just a quick one-time conversion, you can easily simulate it with
- Quoting all the lines in 2.
- Scaling the corresponding line in 1. and drawing it on the line in 2, stretching it to the desired proportion (for this you need some basic mathematical data)
mikera
source share