Skip to content
Snippets Groups Projects
EpilogHelix.java 2.02 KiB
Newer Older
  • Learn to ignore specific revisions
  • /**
     * This file is part of VisiCut.
     * Copyright (C) 2011 Thomas Oster <thomas.oster@rwth-aachen.de>
     * RWTH Aachen University - 52062 Aachen, Germany
     * 
     *     VisiCut is free software: you can redistribute it and/or modify
     *     it under the terms of the GNU Lesser General Public License as published by
     *     the Free Software Foundation, either version 3 of the License, or
     *     (at your option) any later version.
     * 
     *    VisiCut is distributed in the hope that it will be useful,
     *     but WITHOUT ANY WARRANTY; without even the implied warranty of
     *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     *     GNU Lesser General Public License for more details.
     * 
     *     You should have received a copy of the GNU Lesser General Public License
     *     along with VisiCut.  If not, see <http://www.gnu.org/licenses/>.
     **/
    /**
     * Known Limitations:
     * - If there is Raster and Raster3d Part in one job, the speed from 3d raster
     * is taken for both and eventually other side effects:
     * IT IS NOT RECOMMENDED TO USE 3D-Raster and Raster in the same Job
     */
    
    package com.t_oster.liblasercut.drivers;
    
    import java.util.LinkedList;
    import java.util.List;
    
    /**
     *
     * @author Thomas Oster <thomas.oster@rwth-aachen.de>
     */
    public class EpilogHelix extends EpilogCutter
    {
      
      public EpilogHelix()
      {
        
      }
      
      public EpilogHelix(String hostname)
      {
        super(hostname);
      }
      
      @Override
      public String getModelName()
      {
        return "Epilog Helix";
      }
      
      private static final int[] RESOLUTIONS = new int[]
      {
    
    Thomas Oster's avatar
    Thomas Oster committed
         75, 150, 200, 300, 400, 600, 1200
    
      };
      
      @Override
      public List<Integer> getResolutions()
      {
        List<Integer> result = new LinkedList();
        for (int r : RESOLUTIONS)
        {
          result.add(r);
        }
        return result;
      }
      
      @Override
      public EpilogHelix clone()
      {
        EpilogHelix result = new EpilogHelix();
        result.setHostname(this.getHostname());
        result.setPort(this.getPort());
        result.setBedHeight(this.getBedHeight());
        result.setBedWidth(this.getBedWidth());
        return result;
      }
    
    }