Decrypts newer *.3W format generated by XYZPrinting XYZware into zipped *.gcode (for daVinci 3D printer).
Past release of XYZware used to generate *.3W file which is actually just a base64 encoded gcode file. However, recent XYZware hardened the format by AES-encrypting ZIP-ed gcode, instead of just encoding in base64.
Decryption method was posted to Voltivo site, and this simply makes it into a command.
$ javac DecryptXYZ3W.java
$ java DecryptXYZ3W foo.3w foo.zip
$ unzip foo.zip
I have tested the code to work with a new 3W format generated by XYZware 1.1.29.4.