diff --git a/src/main/java/de/thomas_oster/liblasercut/drivers/Ruida.java b/src/main/java/de/thomas_oster/liblasercut/drivers/Ruida.java index 18be6c40..21bd2cf8 100644 --- a/src/main/java/de/thomas_oster/liblasercut/drivers/Ruida.java +++ b/src/main/java/de/thomas_oster/liblasercut/drivers/Ruida.java @@ -180,45 +180,18 @@ public boolean canEstimateJobDuration() return false; } - /** - * 'runway' for laser to get up to speed when rastering (in mm) - * - */ + // Kept to retain compatibility with older configs + @Deprecated + protected transient boolean useBidirectionalRastering = true; @Deprecated private transient Double rasterPadding = 0.; - - @Override - public double getRasterPadding() { - return 0; - } - - /* - * allow padding to move laser head outside of 'bed' - */ @Deprecated private transient boolean allowOutsidePadding; + // fixed value of 0 because the x-sweep processing mode adds all necessary padding. See writeJobCode(). @Override - public boolean getRasterPaddingAllowOutsideMachineSpace() { - return false; - } - - /** - * When rastering, whether to always cut from left to right, or to cut in both - * directions? (i.e. use the return stroke to raster as well) - */ - @Deprecated - protected transient boolean useBidirectionalRastering = true; - - public boolean getUseBidirectionalRastering() - { - // currently only bidirectional rastering is supported (work mode has to be tested for unidirectional rastering) - return true; - } - - public void setUseBidirectionalRastering(boolean useBidirectionalRastering) - { - this.useBidirectionalRastering = useBidirectionalRastering; + public double getRasterPadding() { + return 0; } private void find_and_write_bounding_box(LaserJob job) throws IOException @@ -596,7 +569,7 @@ public void writeJobCode(LaserJob job, ProgressListener pl) throws IOException { if ((p instanceof RasterPart) || (p instanceof Raster3dPart)) { engrave = true; - p = convertRasterizableToVectorPart((RasterizableJobPart)p, job, getUseBidirectionalRastering(), true, true); + p = convertRasterizableToVectorPart((RasterizableJobPart)p, job, true, true, true); } /* FALLTHRU */ if (p instanceof VectorPart)