@Override public void visit(SettingCommand command) throws GkException { current.setDistanceMode(context.getDistanceMode()); current.setFeedrate(context.getFeedrate()); current.setMotionMode(context.getMotionMode()); current.setMotionType(context.getMotionType()); current.setUnit(context.getUnit()); current.setPlane(context.getPlane()); current.setCoordinateSystem(context.getCoordinateSystem()); }