You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to use the Helix driver for vector cuts on a Legend 32EX, but not for raster engraving, the X position seemed to shift with each line. From studying the stock driver output with Wireshark, it appears
that Epilog is not using the TIFF compression feature of PCL on this machine. I hacked in some code to remove the TIFF compression from the generateRasterPCL function and engraving appears to now work on this machine. I didn't try this in generateRaster3dPCL since I don't think this machine supports variable-power-level engraving?
I am hopeful that this can be useful to someone else out there with one of these machines, but have no experience with Java or Git to attempt to add a new driver myself. If anyone has a need for this and has the knowledge to properly add it to project, I'll post the hacked-up "EpilogCutter.java" file for reference. I'm not sure that the hack is done correctly since I also don't know anything about PCL other than what I gleaned from a reference document that I found, but it does seem to engrave correctly with the few files that I've sent to it.
Due to my incompetence with Git, I had to save the function as a text file to attach it to this post. GenerateRasterPCL.txt
If someone does take this up, I'd be happy to test out the changes on my machine as needed.
The text was updated successfully, but these errors were encountered:
Thanks for sharing your findings. I guess we can split this into multiple steps. You can do most of these yourself and I can help with the rest.
Make the code switchable between your version and the old one:
introduce a method boolean isRasterCompressionSupported() { return true; }, which we can later override to false for your machine. If set to false, things should work for your machine, true will be the old behavior.
use this function in generateRasterPCL().
At this point, the driver does the same as before, but we have prepared everything so that only a single switch must be flipped.
Actually use the switch:
Create a subclass EpilogLegendEX of EpilogCutter that overrides this function with return false;. (I can help with this; it would take longer for me to explain it than to do it.).
Try out if Raster3D works on your machine or if we should disable it / show a warning message.
Add it to the list of known devices.
If you don't know about git, that won't stop us: Just use GitHub's web editor feature and then you will be directed to create a 'pull request' where we can easily see the differences and discuss the code. It does not have to be perfect, you can update the suggested changes any time by editing the branch that your pull request points to. Just give it a try :-)
I was able to use the Helix driver for vector cuts on a Legend 32EX, but not for raster engraving, the X position seemed to shift with each line. From studying the stock driver output with Wireshark, it appears
that Epilog is not using the TIFF compression feature of PCL on this machine. I hacked in some code to remove the TIFF compression from the generateRasterPCL function and engraving appears to now work on this machine. I didn't try this in generateRaster3dPCL since I don't think this machine supports variable-power-level engraving?
I am hopeful that this can be useful to someone else out there with one of these machines, but have no experience with Java or Git to attempt to add a new driver myself. If anyone has a need for this and has the knowledge to properly add it to project, I'll post the hacked-up "EpilogCutter.java" file for reference. I'm not sure that the hack is done correctly since I also don't know anything about PCL other than what I gleaned from a reference document that I found, but it does seem to engrave correctly with the few files that I've sent to it.
Due to my incompetence with Git, I had to save the function as a text file to attach it to this post.
GenerateRasterPCL.txt
If someone does take this up, I'd be happy to test out the changes on my machine as needed.
The text was updated successfully, but these errors were encountered: